[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16536] trunk/blender/source/blender/src/ editobject.c: copy menu didnt copy visible and initial states, physics margin was also missing from "all physical attributes" option
Campbell Barton
ideasman42 at gmail.com
Mon Sep 15 11:25:01 CEST 2008
Revision: 16536
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16536
Author: campbellbarton
Date: 2008-09-15 11:24:54 +0200 (Mon, 15 Sep 2008)
Log Message:
-----------
copy menu didnt copy visible and initial states, physics margin was also missing from "all physical attributes" option
Modified Paths:
--------------
trunk/blender/source/blender/src/editobject.c
Modified: trunk/blender/source/blender/src/editobject.c
===================================================================
--- trunk/blender/source/blender/src/editobject.c 2008-09-15 09:08:36 UTC (rev 16535)
+++ trunk/blender/source/blender/src/editobject.c 2008-09-15 09:24:54 UTC (rev 16536)
@@ -3283,6 +3283,9 @@
base->object->scavisflag= ob->scavisflag;
base->object->scaflag= ob->scaflag;
+ /* set the initial state */
+ base->object->state= ob->state;
+ base->object->init_state= ob->init_state;
}
}
base= base->next;
@@ -3519,6 +3522,7 @@
if (ob->gameflag & OB_BOUNDS) {
base->object->boundtype = ob->boundtype;
}
+ base->object->margin= ob->margin;
}
else if(event==17) { /* tex space */
copy_texture_space(base->object, ob);
More information about the Bf-blender-cvs
mailing list