Added proper initialize for curve pointer, fix for commit of march 24th.
This commit is contained in:
@@ -1720,10 +1720,12 @@ void docentre(int centremode)
|
||||
}
|
||||
}
|
||||
else if ELEM(base->object->type, OB_CURVE, OB_SURF) {
|
||||
|
||||
if(G.obedit) {
|
||||
|
||||
/* totally weak code here... (ton) */
|
||||
if(G.obedit==base->object) {
|
||||
extern ListBase editNurb;
|
||||
nu1= editNurb.first;
|
||||
cu= G.obedit->data;
|
||||
}
|
||||
else {
|
||||
cu= base->object->data;
|
||||
|
||||
Reference in New Issue
Block a user