Looks like you&#39;ve got a few typos here...<br><br>Also, you might want to check up on the RNA Armature wrapping to make sure the settings look the same on both sides.<br><br><div class="gmail_quote">On Fri, Jan 2, 2009 at 2:28 PM, Nicholas Bishop <span dir="ltr">&lt;<a href="mailto:nicholasbishop@gmail.com">nicholasbishop@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Revision: 18236<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&amp;root=bf-blender&amp;revision=18236" target="_blank">http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&amp;root=bf-blender&amp;revision=18236</a><br>

Author: &nbsp; nicholasbishop<br>
Date: &nbsp; &nbsp; 2009-01-02 02:28:02 +0100 (Fri, 02 Jan 2009)<br>
<br>
Log Message:<br>
-----------<br>
Added RNA for Armature modifier<br>
<br>
Modified Paths:<br>
--------------<br>
 &nbsp; &nbsp;branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c<br>
<br>
Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c<br>
===================================================================<br>
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c &nbsp; 2009-01-02 00:56:48 UTC (rev 18235)<br>
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c &nbsp; 2009-01-02 01:28:02 UTC (rev 18236)<br>
@@ -29,6 +29,7 @@<br>
<br>
&nbsp;#include &quot;rna_internal.h&quot;<br>
<br>
+#include &quot;DNA_armature_types.h&quot;<br>
&nbsp;#include &quot;DNA_modifier_types.h&quot;<br>
&nbsp;#include &quot;DNA_scene_types.h&quot;<br>
<br>
@@ -403,10 +404,40 @@<br>
&nbsp;static void rna_def_modifier_armature(BlenderRNA *brna)<br>
&nbsp;{<br>
 &nbsp; &nbsp; &nbsp; &nbsp;StructRNA *srna;<br>
+ &nbsp; &nbsp; &nbsp; PropertyRNA *prop;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;srna= RNA_def_struct(brna, &quot;ArmatureModifier&quot;, &quot;Modifier&quot;);<br>
 &nbsp; &nbsp; &nbsp; &nbsp;RNA_def_struct_ui_text(srna, &quot;Armature Modifier&quot;, &quot;Armature Modifier.&quot;);<br>
 &nbsp; &nbsp; &nbsp; &nbsp;RNA_def_struct_sdna(srna, &quot;ArmatureModifierData&quot;);<br>
+<br>
+ &nbsp; &nbsp; &nbsp; prop= RNA_def_property(srna, &quot;armature&quot;, PROP_POINTER, PROP_NONE);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_pointer_sdna(prop, NULL, &quot;object&quot;);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_struct_type(prop, &quot;ID&quot;);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_ui_text(prop, &quot;Armature&quot;, &quot;Armature object to deform with.&quot;);<br>
+<br>
+ &nbsp; &nbsp; &nbsp; prop= RNA_def_property(srna, &quot;vertex_group&quot;, PROP_STRING, PROP_NONE);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_string_sdna(prop, NULL, &quot;defgrp_name&quot;);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_ui_text(prop, &quot;Vertex Group&quot;, &quot;Vertex group name.&quot;);<br>
+<br>
+ &nbsp; &nbsp; &nbsp; prop= RNA_def_property(srna, &quot;invert&quot;, PROP_BOOLEAN, PROP_NONE);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_boolean_sdna(prop, NULL, &quot;deformflag&quot;, ARM_DEF_INVERT_VGROUP);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_ui_text(prop, &quot;Invert&quot;, &quot;Invert vertex group influence.&quot;);<br>
+<br>
+ &nbsp; &nbsp; &nbsp; prop= RNA_def_property(srna, &quot;use_vertex_groups&quot;, PROP_BOOLEAN, PROP_NONE);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_boolean_sdna(prop, NULL, &quot;deformflag&quot;, ARM_DEF_VGROUP);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_ui_text(prop, &quot;Use Vertex Groups&quot;, &quot;&quot;);<br>
+<br>
+ &nbsp; &nbsp; &nbsp; prop= RNA_def_property(srna, &quot;use_bone_envelopes&quot;, PROP_BOOLEAN, PROP_NONE);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_boolean_sdna(prop, NULL, &quot;deformflag&quot;, ARM_DEF_ENVELOPE);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_ui_text(prop, &quot;Use Bone Envelopes&quot;, &quot;&quot;);<br>
+<br>
+ &nbsp; &nbsp; &nbsp; prop= RNA_def_property(srna, &quot;quaternion&quot;, PROP_BOOLEAN, PROP_NONE);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_boolean_sdna(prop, NULL, &quot;deformflag&quot;, ARM_DEF_QUATERNION);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_ui_text(prop, &quot;Quaternion&quot;, &quot;Deform rotation interpolation with quaternions.&quot;);<br>
+<br>
+ &nbsp; &nbsp; &nbsp; prop= RNA_def_property(srna, &quot;b_bone_rest&quot;, PROP_BOOLEAN, PROP_NONE);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_boolean_sdna(prop, NULL, &quot;deformflag&quot;, ARM_DEF_B_BONE_REST);<br>
+ &nbsp; &nbsp; &nbsp; RNA_def_property_ui_text(prop, &quot;Quaternion&quot;, &nbsp;&quot;Make B-Bones deform already in rest position&quot;);<br>
&nbsp;}<br>
<br>
&nbsp;static void rna_def_modifier_hook(BlenderRNA *brna)<br>
<br>
<br>
_______________________________________________<br>
Bf-blender-cvs mailing list<br>
<a href="mailto:Bf-blender-cvs@blender.org">Bf-blender-cvs@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-blender-cvs" target="_blank">http://lists.blender.org/mailman/listinfo/bf-blender-cvs</a><br>
</blockquote></div><br>