Skip to content

--Properly initialize std::vector member variable to be correct size#2388

Merged
jturner65 merged 1 commit intomainfrom
bugfix_sceneNodeIDVector
May 8, 2024
Merged

--Properly initialize std::vector member variable to be correct size#2388
jturner65 merged 1 commit intomainfrom
bugfix_sceneNodeIDVector

Conversation

@jturner65
Copy link
Copy Markdown
Contributor

Motivation and Context

This bugfix fixes the incorrect initialization of the SceneNode semanticIDs_ vector which was causing a heap corruption.

How Has This Been Tested

Local c++ and python tests pass

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 8, 2024
@jturner65 jturner65 requested review from 0mdc and aclegg3 May 8, 2024 09:21
Copy link
Copy Markdown
Contributor

@0mdc 0mdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sneaky! Let's see if this solves the CI issue.

@jturner65 jturner65 merged commit 0792ef5 into main May 8, 2024
@jturner65 jturner65 deleted the bugfix_sceneNodeIDVector branch May 8, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants