Skip to content

Do not cache vertex normals in VisualObject for memory efficiency#447

Merged
Fedr merged 2 commits intomasterfrom
feature/no-cache-normals-in-visual-object
Sep 1, 2022
Merged

Do not cache vertex normals in VisualObject for memory efficiency#447
Fedr merged 2 commits intomasterfrom
feature/no-cache-normals-in-visual-object

Conversation

@Fedr
Copy link
Contributor

@Fedr Fedr commented Sep 1, 2022

No description provided.

@Fedr Fedr requested a review from Grantim September 1, 2022 09:25
Comment on lines +134 to +137
if ( mask & DIRTY_POSITION )
mask |= DIRTY_ALL_NORMALS | DIRTY_BOUNDING_BOX | DIRTY_BOUNDING_BOX_XF | DIRTY_BORDER_LINES | DIRTY_EDGES_SELECTION;
mask |= DIRTY_BOUNDING_BOX | DIRTY_BOUNDING_BOX_XF | DIRTY_BORDER_LINES | DIRTY_EDGES_SELECTION;
if ( mask & DIRTY_FACE )
mask |= DIRTY_ALL_NORMALS | DIRTY_BORDER_LINES | DIRTY_EDGES_SELECTION | DIRTY_POSITION;
mask |= DIRTY_BORDER_LINES | DIRTY_EDGES_SELECTION | DIRTY_POSITION;
Copy link
Contributor

Choose a reason for hiding this comment

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

should have dyrty_render _normals here?

@Fedr Fedr merged commit b5c1aef into master Sep 1, 2022
@Fedr Fedr deleted the feature/no-cache-normals-in-visual-object branch September 1, 2022 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants