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.
This commit is contained in:
@@ -1216,7 +1216,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
if(ob && (ob->flag & OB_POSEMODE))
|
||||
error ("Duplicate not possible in posemode.");
|
||||
else if((G.obedit==NULL))
|
||||
adduplicate(0);
|
||||
adduplicate(0, 0);
|
||||
}
|
||||
else if(G.qual==LR_CTRLKEY) {
|
||||
imagestodisplist();
|
||||
|
||||
Reference in New Issue
Block a user