diff options
author | Matt Ebb <matt@mke3.net> | 2009-12-28 07:09:46 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-12-28 07:09:46 +0300 |
commit | dbf295b904fb0bcb59656a57e32474b1f5adf77a (patch) | |
tree | e6923fff2baae73f1714fcf0a77b1ef03c71efa9 /source/blender/editors/armature | |
parent | 860e46082f24afdad9e40e15ac04d35f06924c10 (diff) |
Added location and rotation operator properties for adding objects. The Align to View boolean
is now just used to set the rotation property value during invoke.
This removes some reliance on 3d view info for non-interactive use, and also lets you specify
new object's locations/rotations explicitly when calling from Python.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c index 4564ec49477..f382896c868 100644 --- a/source/blender/editors/armature/editarmature.c +++ b/source/blender/editors/armature/editarmature.c @@ -5785,7 +5785,7 @@ void generateSkeletonFromReebGraph(Scene *scene, ReebGraph *rg) } dst = add_object(scene, OB_ARMATURE); - ED_object_base_init_from_view(NULL, scene->basact); // XXX NULL is C + ED_object_base_init_transform(NULL, scene->basact, NULL, NULL); // XXX NULL is C, loc, rot obedit= scene->basact->object; /* Copy orientation from source */ |