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>2006-03-07 16:29:25 +0300
committerTon Roosendaal <ton@blender.org>2006-03-07 16:29:25 +0300
commit800e6400dceb680c6e1aac77ce545ae2b0c9155a (patch)
tree9cc492db8a656bfe5e1ee23bb74e2f06ffeabf4c /source
parentaa1d8162be2267f246c512b6591455a0c3815c7f (diff)
CTRL+C Copy Menu now includes modifiers for Curve objects.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index 012f4db0b13..6c4d7410bf7 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -2631,7 +2631,7 @@ static void copymenu_modifiers(Object *ob)
base->object->recalc |= OB_RECALC_OB|OB_RECALC_DATA;
- if (base->object->type==OB_MESH) {
+ if (base->object->type==ob->type) {
if (event==NUM_MODIFIER_TYPES) {
object_free_modifiers(base->object);
@@ -2703,7 +2703,7 @@ void copy_attr_menu()
if(ob->soft) strcat(str, "|Soft Body Settings%x23");
- if(ob->type==OB_MESH){
+ if(ob->type==OB_MESH || ob->type==OB_CURVE){
strcat(str, "|Modifiers ...%x24");
}