Quick bugfix; transform calls initTransformOrientation for all
spacetypes, it now returns except for view3d.
(Crash in grabbing nodes)
This commit is contained in:
Ton Roosendaal
2009-01-19 17:28:53 +00:00
parent bc63213844
commit 1c590a4d06

View File

@@ -437,6 +437,8 @@ void initTransformOrientation(bContext *C, TransInfo *t)
float normal[3]={0.0, 0.0, 0.0};
float plane[3]={0.0, 0.0, 0.0};
if(v3d==NULL) return;
switch(v3d->twmode) {
case V3D_MANIP_GLOBAL:
strcpy(t->spacename, "global");