diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-25 00:03:53 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-25 00:03:53 +0400 |
commit | 0482f325b529540f19bf6663a60dda96481f71be (patch) | |
tree | 2fd7ad993e518e07aa4cf9dc840dd7c9c1d42a8a /source | |
parent | 066b0b1c7df65291b33467f7af0cfe9cb1d0641c (diff) |
Bugfix #3238
ALT+C on mesh without modifier crashed.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c index 81274548d9f..a91fd0a19e4 100644 --- a/source/blender/src/editobject.c +++ b/source/blender/src/editobject.c @@ -2226,7 +2226,8 @@ void convertmenu(void) if(nr>0) ok= 1; } else if(ob->type==OB_MESH) { - nr= pupmenu("Convert Modifiers to%t|Mesh (Keep Original)%x1|Mesh (Delete Original)%x2"); + if(ob->modifiers.first) + nr= pupmenu("Convert Modifiers to%t|Mesh (Keep Original)%x1|Mesh (Delete Original)%x2"); if(nr>0) ok= 1; } if(ok==0) return; |