Blender Git Loki

Git Commits -> Revision 5eba863

Revision 5eba863 by Joshua Leung (master)
August 30, 2012, 12:59 (GMT)
Bugfix [#32440] Segmentation fault when moving bone in pose mode when Ghost
Around Frame is enabled

It turns out that the final "rebuild pose" at the end of each ghost drawing step
was at fault here, as it resulted in bones referring to a different set of
constraints after each ghost drawing step. However, most of the time, these new
references pointed to non-existent locations, causing the segfaults.

To fix this, I've removed this last rebuild step, which seems to work fine (no
major problems seem to arise from this). Also, to ensure that the other object
parameters have not changed (as a result of the reevaluation that needs to go
on), we now evaluate the object once more after all the ghost drawing (but
before final restore) so that object parameters (and potentially sub-data) are
all restored to their original values.

An upside of removing the final rebuild step is that "In Range" and "On
Keyframe" ghosting options now work with proxies again. Previously, trying to
move bones (but without autokey enabled) would mean that bones would snap back
to their unkeyed positions.

Commit Details:

Full Hash: 5eba8634290356749392e1cf1e084e64a3a8e015
SVN Revision: 50272
Parent Commit: ded5e9c
Lines Changed: +15, -6

1 Modified Path:

/source/blender/editors/space_view3d/drawarmature.c (+15, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021