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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-01-02 13:40:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-01-02 13:40:13 +0300
commit8b0c3de7d9791646c09a002b14afc21d6b3da5ae (patch)
tree74283cda538fcf164099cbf5824ab2e4094fafd0 /source/blender/src/editcurve.c
parent362c8baac402a069367901f53cb2c8d4e2f75c4b (diff)
Changed adduplicate() to take the dupflags as an argument. so faking the Alt Key isnt needed anymore in Blender or python.
Changed Pythons Object.Duplicate() to take keyword parms to enable duplication of spesific data. Eg- Object.Duplicate(mesh=1) # to duplicate mesh data also.
Diffstat (limited to 'source/blender/src/editcurve.c')
-rw-r--r--source/blender/src/editcurve.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/src/editcurve.c b/source/blender/src/editcurve.c
index 6c3bbd18df4..fe09c3cc2ad 100644
--- a/source/blender/src/editcurve.c
+++ b/source/blender/src/editcurve.c
@@ -375,9 +375,7 @@ void separate_nurb()
oldob= G.obedit;
oldbase= BASACT;
- G.qual |= LR_ALTKEY; /* patch to make sure we get a linked dupli */
- adduplicate(1);
- G.qual &= ~LR_ALTKEY;
+ adduplicate(1, 0); /* no transform and zero so do get a linked dupli */
G.obedit= BASACT->object; /* basact is set in adduplicate() */