[Bf-committers] Re: [Bf-blender-cvs] CVS commit:
blender/source/blender/src editarmature.c
Campbell Barton
cbarton at metavr.com
Wed Apr 19 02:45:27 CEST 2006
Added a patch that makes multiple armature modifiers work with armature
name flipping properly.
Would appreciate is somebody could review, its a small patch and current
operation is buggy.
https://projects.blender.org/tracker/index.php?func=detail&aid=4125&group_id=9&atid=127
Campbell Barton wrote:
> campbellbarton (Campbell Barton) 2006/04/19 01:59:13 CEST
>
> Modified files:
> blender/source/blender/src editarmature.c
>
> Log:
> bugfix for 4121
> a fairly obvious bug- with flipping armature names in armature edit mode.
> All Objects names would flip if they had names from the armature, even if they did NOT use use armature. (this could realy mess up a scene)
>
> fix was a 1 liner.
>
> replaced
> modob = modifiers_isDeformedByArmature(ob);
> if(modob) {
>
> with
>
> /* or is there an armature deforming object */
> /* this is a bit sloppy, what if we have more then 1 armature deforming a mesh?
> TODO: Should have a function modifiers_isUsingArmature(ob, arm) - Campbell */
> modob = modifiers_isDeformedByArmature(ob);
> if(modob && modob->data==arm) {
>
> Notice that before it didnt care what armature, just that it had one.
>
> If the maintainer Ton? gives me the OK. Ill make this support multiple armatures by adding modifiers_isUsingArmature.
>
> Revision Changes Path
> 1.107 +4 -2 blender/source/blender/src/editarmature.c
> <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editarmature.c.diff?r1=1.106&r2=1.107&cvsroot=bf-blender>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-blender-cvs
>
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-committers
mailing list