mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
chan: adjust _net_blend when AnimControl destructs
This commit is contained in:
parent
e67d2a16c1
commit
f35c9e5d79
@ -556,6 +556,7 @@ control_removed(AnimControl *control) {
|
||||
CDStageWriter cdata(_cycler, pipeline_stage);
|
||||
ChannelBlend::iterator cbi = cdata->_blend.find(control);
|
||||
if (cbi != cdata->_blend.end()) {
|
||||
cdata->_net_blend -= cbi->second;
|
||||
cdata->_blend.erase(cbi);
|
||||
cdata->_anim_changed = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user