Bugfix #3818: nmesh.insertKey() was not letting Ipo space know to
recalculate, causing a segfault when the curve was selected in the Ipo window. lattice.insertKey() has similar code. Added calls to allspace(REMAKEIPO,0) to correct this.
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include "DNA_scene_types.h"
|
||||
#include "BIF_editkey.h"
|
||||
#include "BIF_editdeform.h"
|
||||
#include "BIF_space.h"
|
||||
#include "blendef.h"
|
||||
#include "gen_utils.h"
|
||||
|
||||
@@ -759,6 +760,7 @@ static PyObject *Lattice_insertKey( BPy_Lattice * self, PyObject * args )
|
||||
|
||||
//insert a keybock for the lattice (1=relative)
|
||||
insert_lattkey( lt , 1);
|
||||
allspace(REMAKEIPO, 0);
|
||||
|
||||
if( frame > 0 )
|
||||
G.scene->r.cfra = (short)oldfra;
|
||||
|
||||
Reference in New Issue
Block a user