Skip to content

Commit

Permalink
SCENEGRAPH: renamed method
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed Aug 7, 2024
1 parent 82366fb commit bb7976f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/scenegraph/SceneGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ bool SceneGraph::changeParent(int nodeId, int newParentId, bool updateTransform)
for (const core::String &animation : animations()) {
for (SceneGraphKeyFrame &keyframe : n.keyFrames(animation)) {
SceneGraphTransform &transform = keyframe.transform();
transform.markDirty();
transform.markDirtyWorld();
}
}
updateTransforms();
Expand Down
2 changes: 1 addition & 1 deletion src/modules/scenegraph/SceneGraphTransform.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class alignas(16) SceneGraphTransform {
return _dirty != 0u;
}

void markDirty() {
void markDirtyWorld() {
_dirty = DIRTY_WORLDVALUES;
}
void markDirtyParent() {
Expand Down

0 comments on commit bb7976f

Please sign in to comment.