Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-25 00:03:53 +0400
committerTon Roosendaal <ton@blender.org>2005-10-25 00:03:53 +0400
commit0482f325b529540f19bf6663a60dda96481f71be (patch)
tree2fd7ad993e518e07aa4cf9dc840dd7c9c1d42a8a /source
parent066b0b1c7df65291b33467f7af0cfe9cb1d0641c (diff)
Bugfix #3238
ALT+C on mesh without modifier crashed.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editobject.c3
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;