Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
3671ae4a
Commit
3671ae4a
authored
Feb 17, 2021
by
TheNumbat
Browse files
fix animate gui deleting bone/handle
parent
486418a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scene/undo.cpp
View file @
3671ae4a
...
...
@@ -73,6 +73,8 @@ void Undo::del_bone(Scene_ID id, Joint* j) {
Scene_Object
&
obj
=
scene
.
get_obj
(
id
);
obj
.
armature
.
erase
(
j
);
gui
.
get_rig
().
invalidate
(
j
);
gui
.
get_animate
().
invalidate
(
j
);
obj
.
set_skel_dirty
();
action
(
...
...
@@ -94,6 +96,8 @@ void Undo::del_handle(Scene_ID id, Skeleton::IK_Handle* j) {
Scene_Object
&
obj
=
scene
.
get_obj
(
id
);
obj
.
armature
.
erase
(
j
);
gui
.
get_rig
().
invalidate
(
j
);
gui
.
get_animate
().
invalidate
(
j
);
obj
.
set_skel_dirty
();
action
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment