With no objects in scene, press F (ALT+F) for faceselect crashed.
Bugfix #2755
This commit is contained in:
@@ -1202,7 +1202,7 @@ void set_faceselect() /* toggle */
|
||||
Mesh *me = 0;
|
||||
|
||||
scrarea_queue_headredraw(curarea);
|
||||
if(ob->id.lib) return;
|
||||
if(ob==NULL || ob->id.lib) return;
|
||||
|
||||
if(G.f & G_FACESELECT) G.f &= ~G_FACESELECT;
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user