rna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is not used...
[blender-staging.git] / release / scripts / op / animsys_update.py
1 # ##### BEGIN GPL LICENSE BLOCK #####
2 #
3 #  This program is free software; you can redistribute it and/or
4 #  modify it under the terms of the GNU General Public License
5 #  as published by the Free Software Foundation; either version 2
6 #  of the License, or (at your option) any later version.
7 #
8 #  This program is distributed in the hope that it will be useful,
9 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 #  GNU General Public License for more details.
12 #
13 #  You should have received a copy of the GNU General Public License
14 #  along with this program; if not, write to the Free Software Foundation,
15 #  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # ##### END GPL LICENSE BLOCK #####
18
19 # <pep8 compliant>
20
21 data_path_update = [
22     ("ClothCollisionSettings", "min_distance", "distance_min"),
23     ("ClothCollisionSettings", "self_min_distance", "self_distance_min"),
24     ("ClothCollisionSettings", "enable_collision", "use_collision"),
25     ("ClothCollisionSettings", "enable_self_collision", "use_self_collision"),
26     ("ClothSettings", "pin_cloth", "use_pin_cloth"),
27     ("ClothSettings", "stiffness_scaling", "use_stiffness_scale"),
28     ("CollisionSettings", "random_damping", "damping_random"),
29     ("CollisionSettings", "random_friction", "friction_random"),
30     ("CollisionSettings", "inner_thickness", "thickness_inner"),
31     ("CollisionSettings", "outer_thickness", "thickness_outer"),
32     ("CollisionSettings", "kill_particles", "use_particle_kill"),
33     ("Constraint", "proxy_local", "is_proxy_local"),
34     ("ActionConstraint", "maximum", "max"),
35     ("ActionConstraint", "minimum", "min"),
36     ("FollowPathConstraint", "use_fixed_position", "use_fixed_location"),
37     ("KinematicConstraint", "chain_length", "chain_count"),
38     ("KinematicConstraint", "pos_lock_x", "lock_location_x"),
39     ("KinematicConstraint", "pos_lock_y", "lock_location_y"),
40     ("KinematicConstraint", "pos_lock_z", "lock_location_z"),
41     ("KinematicConstraint", "rot_lock_x", "lock_rotation_x"),
42     ("KinematicConstraint", "rot_lock_y", "lock_rotation_y"),
43     ("KinematicConstraint", "rot_lock_z", "lock_rotation_z"),
44     ("KinematicConstraint", "axis_reference", "reference_axis"),
45     ("KinematicConstraint", "use_position", "use_location"),
46     ("LimitLocationConstraint", "maximum_x", "max_x"),
47     ("LimitLocationConstraint", "maximum_y", "max_y"),
48     ("LimitLocationConstraint", "maximum_z", "max_z"),
49     ("LimitLocationConstraint", "minimum_x", "min_x"),
50     ("LimitLocationConstraint", "minimum_y", "min_y"),
51     ("LimitLocationConstraint", "minimum_z", "min_z"),
52     ("LimitLocationConstraint", "use_maximum_x", "use_max_x"),
53     ("LimitLocationConstraint", "use_maximum_y", "use_max_y"),
54     ("LimitLocationConstraint", "use_maximum_z", "use_max_z"),
55     ("LimitLocationConstraint", "use_minimum_x", "use_min_x"),
56     ("LimitLocationConstraint", "use_minimum_y", "use_min_y"),
57     ("LimitLocationConstraint", "use_minimum_z", "use_min_z"),
58     ("LimitLocationConstraint", "limit_transform", "use_transform_limit"),
59     ("LimitRotationConstraint", "maximum_x", "max_x"),
60     ("LimitRotationConstraint", "maximum_y", "max_y"),
61     ("LimitRotationConstraint", "maximum_z", "max_z"),
62     ("LimitRotationConstraint", "minimum_x", "min_x"),
63     ("LimitRotationConstraint", "minimum_y", "min_y"),
64     ("LimitRotationConstraint", "minimum_z", "min_z"),
65     ("LimitRotationConstraint", "limit_transform", "use_transform_limit"),
66     ("LimitScaleConstraint", "maximum_x", "max_x"),
67     ("LimitScaleConstraint", "maximum_y", "max_y"),
68     ("LimitScaleConstraint", "maximum_z", "max_z"),
69     ("LimitScaleConstraint", "minimum_x", "min_x"),
70     ("LimitScaleConstraint", "minimum_y", "min_y"),
71     ("LimitScaleConstraint", "minimum_z", "min_z"),
72     ("LimitScaleConstraint", "use_maximum_x", "use_max_x"),
73     ("LimitScaleConstraint", "use_maximum_y", "use_max_y"),
74     ("LimitScaleConstraint", "use_maximum_z", "use_max_z"),
75     ("LimitScaleConstraint", "use_minimum_x", "use_min_x"),
76     ("LimitScaleConstraint", "use_minimum_y", "use_min_y"),
77     ("LimitScaleConstraint", "use_minimum_z", "use_min_z"),
78     ("LimitScaleConstraint", "limit_transform", "use_transform_limit"),
79     ("PivotConstraint", "enabled_rotation_range", "rotation_range"),
80     ("PivotConstraint", "use_relative_position", "use_relative_location"),
81     ("PythonConstraint", "number_of_targets", "target_count"),
82     ("SplineIKConstraint", "chain_length", "chain_count"),
83     ("SplineIKConstraint", "chain_offset", "use_chain_offset"),
84     ("SplineIKConstraint", "even_divisions", "use_even_divisions"),
85     ("SplineIKConstraint", "y_stretch", "use_y_stretch"),
86     ("SplineIKConstraint", "xz_scaling_mode", "xz_scale_mode"),
87     ("StretchToConstraint", "original_length", "rest_length"),
88     ("TrackToConstraint", "target_z", "use_target_z"),
89     ("TransformConstraint", "extrapolate_motion", "use_motion_extrapolate"),
90     ("FieldSettings", "do_location", "apply_to_location"),
91     ("FieldSettings", "do_rotation", "apply_to_rotation"),
92     ("FieldSettings", "maximum_distance", "distance_max"),
93     ("FieldSettings", "minimum_distance", "distance_min"),
94     ("FieldSettings", "radial_maximum", "radial_max"),
95     ("FieldSettings", "radial_minimum", "radial_min"),
96     ("FieldSettings", "force_2d", "use_2d_force"),
97     ("FieldSettings", "do_absorption", "use_absorption"),
98     ("FieldSettings", "global_coordinates", "use_global_coords"),
99     ("FieldSettings", "guide_path_add", "use_guide_path_add"),
100     ("FieldSettings", "multiple_springs", "use_multiple_springs"),
101     ("FieldSettings", "use_coordinates", "use_object_coords"),
102     ("FieldSettings", "root_coordinates", "use_root_coords"),
103     ("ControlFluidSettings", "reverse_frames", "use_reverse_frames"),
104     ("DomainFluidSettings", "real_world_size", "simulation_scale"),
105     ("DomainFluidSettings", "surface_smoothing", "surface_smooth"),
106     ("DomainFluidSettings", "reverse_frames", "use_reverse_frames"),
107     ("DomainFluidSettings", "generate_speed_vectors", "use_speed_vectors"),
108     ("DomainFluidSettings", "override_time", "use_time_override"),
109     ("FluidFluidSettings", "export_animated_mesh", "use_animated_mesh"),
110     ("InflowFluidSettings", "export_animated_mesh", "use_animated_mesh"),
111     ("InflowFluidSettings", "local_coordinates", "use_local_coords"),
112     ("ObstacleFluidSettings", "export_animated_mesh", "use_animated_mesh"),
113     ("OutflowFluidSettings", "export_animated_mesh", "use_animated_mesh"),
114     ("ParticleFluidSettings", "drops", "use_drops"),
115     ("ParticleFluidSettings", "floats", "use_floats"),
116     ("Armature", "drawtype", "draw_type"),
117     ("Armature", "layer_protection", "layers_protected"),
118     ("Armature", "auto_ik", "use_auto_ik"),
119     ("Armature", "delay_deform", "use_deform_delay"),
120     ("Armature", "deform_envelope", "use_deform_envelopes"),
121     ("Armature", "deform_quaternion", "use_deform_preserve_volume"),
122     ("Armature", "deform_vertexgroups", "use_deform_vertex_groups"),
123     ("Armature", "x_axis_mirror", "use_mirror_x"),
124     ("Curve", "width", "offset"),
125     ("Image", "animation_speed", "fps"),
126     ("Image", "animation_end", "frame_end"),
127     ("Image", "animation_start", "frame_start"),
128     ("Image", "animated", "use_animation"),
129     ("Image", "clamp_x", "use_clamp_x"),
130     ("Image", "clamp_y", "use_clamp_y"),
131     ("Image", "premultiply", "use_premultiply"),
132     ("AreaLamp", "shadow_ray_sampling_method", "shadow_ray_sample_method"),
133     ("AreaLamp", "only_shadow", "use_only_shadow"),
134     ("AreaLamp", "shadow_layer", "use_shadow_layer"),
135     ("AreaLamp", "umbra", "use_umbra"),
136     ("PointLamp", "shadow_ray_sampling_method", "shadow_ray_sample_method"),
137     ("PointLamp", "only_shadow", "use_only_shadow"),
138     ("PointLamp", "shadow_layer", "use_shadow_layer"),
139     ("PointLamp", "sphere", "use_sphere"),
140     ("SpotLamp", "shadow_ray_sampling_method", "shadow_ray_sample_method"),
141     ("SpotLamp", "auto_clip_end", "use_auto_clip_end"),
142     ("SpotLamp", "auto_clip_start", "use_auto_clip_start"),
143     ("SpotLamp", "only_shadow", "use_only_shadow"),
144     ("SpotLamp", "shadow_layer", "use_shadow_layer"),
145     ("SpotLamp", "sphere", "use_sphere"),
146     ("SunLamp", "only_shadow", "use_only_shadow"),
147     ("SunLamp", "shadow_layer", "use_shadow_layer"),
148     ("Material", "z_offset", "offset_z"),
149     ("Material", "shadow_casting_alpha", "shadow_cast_alpha"),
150     ("Material", "cast_approximate", "use_cast_approximate"),
151     ("Material", "cast_buffer_shadows", "use_cast_buffer_shadows"),
152     ("Material", "cast_shadows_only", "use_cast_shadows_only"),
153     ("Material", "face_texture", "use_face_texture"),
154     ("Material", "face_texture_alpha", "use_face_texture_alpha"),
155     ("Material", "full_oversampling", "use_full_oversampling"),
156     ("Material", "light_group_exclusive", "use_light_group_exclusive"),
157     ("Material", "object_color", "use_object_color"),
158     ("Material", "only_shadow", "use_only_shadow"),
159     ("Material", "ray_shadow_bias", "use_ray_shadow_bias"),
160     ("Material", "traceable", "use_raytrace"),
161     ("Material", "shadeless", "use_shadeless"),
162     ("Material", "tangent_shading", "use_tangent_shading"),
163     ("Material", "transparency", "use_transparency"),
164     ("Material", "receive_transparent_shadows", "use_transparent_shadows"),
165     ("Material", "vertex_color_light", "use_vertex_color_light"),
166     ("Material", "vertex_color_paint", "use_vertex_color_paint"),
167     ("Mesh", "autosmooth_angle", "auto_smooth_angle"),
168     ("Mesh", "autosmooth", "use_auto_smooth"),
169     ("Object", "max_draw_type", "draw_type"),
170     ("Object", "use_dupli_verts_rotation", "use_dupli_vertices_rotation"),
171     ("Object", "shape_key_edit_mode", "use_shape_key_edit_mode"),
172     ("Object", "slow_parent", "use_slow_parent"),
173     ("Object", "time_offset_add_parent", "use_time_offset_add_parent"),
174     ("Object", "time_offset_edit", "use_time_offset_edit"),
175     ("Object", "time_offset_parent", "use_time_offset_parent"),
176     ("Object", "time_offset_particle", "use_time_offset_particle"),
177     ("ParticleSettings", "adaptive_pix", "adaptive_pixel"),
178     ("ParticleSettings", "child_effector", "apply_effector_to_children"),
179     ("ParticleSettings", "child_guide", "apply_guide_to_children"),
180     ("ParticleSettings", "billboard_split_offset", "billboard_offset_split"),
181     ("ParticleSettings", "billboard_random_tilt", "billboard_tilt_random"),
182     ("ParticleSettings", "child_length_thres", "child_length_threshold"),
183     ("ParticleSettings", "child_random_size", "child_size_random"),
184     ("ParticleSettings", "clumppow", "clump_shape"),
185     ("ParticleSettings", "damp_factor", "damping"),
186     ("ParticleSettings", "draw_as", "draw_method"),
187     ("ParticleSettings", "random_factor", "factor_random"),
188     ("ParticleSettings", "grid_invert", "invert_grid"),
189     ("ParticleSettings", "random_length", "length_random"),
190     ("ParticleSettings", "random_lifetime", "lifetime_random"),
191     ("ParticleSettings", "billboard_lock", "lock_billboard"),
192     ("ParticleSettings", "boids_2d", "lock_boids_to_surface"),
193     ("ParticleSettings", "object_aligned_factor", "object_align_factor"),
194     ("ParticleSettings", "random_phase_factor", "phase_factor_random"),
195     ("ParticleSettings", "ren_as", "render_type"),
196     ("ParticleSettings", "rendered_child_nbr", "rendered_child_count"),
197     ("ParticleSettings", "random_rotation_factor", "rotation_factor_random"),
198     ("ParticleSettings", "rough1", "roughness_1"),
199     ("ParticleSettings", "rough1_size", "roughness_1_size"),
200     ("ParticleSettings", "rough2", "roughness_2"),
201     ("ParticleSettings", "rough2_size", "roughness_2_size"),
202     ("ParticleSettings", "rough2_thres", "roughness_2_threshold"),
203     ("ParticleSettings", "rough_end_shape", "roughness_end_shape"),
204     ("ParticleSettings", "rough_endpoint", "roughness_endpoint"),
205     ("ParticleSettings", "random_size", "size_random"),
206     ("ParticleSettings", "abs_path_time", "use_absolute_path_time"),
207     ("ParticleSettings", "animate_branching", "use_animate_branching"),
208     ("ParticleSettings", "branching", "use_branching"),
209     ("ParticleSettings", "died", "use_dead"),
210     ("ParticleSettings", "die_on_collision", "use_die_on_collision"),
211     ("ParticleSettings", "rotation_dynamic", "use_dynamic_rotation"),
212     ("ParticleSettings", "even_distribution", "use_even_distribution"),
213     ("ParticleSettings", "rand_group", "use_group_pick_random"),
214     ("ParticleSettings", "hair_bspline", "use_hair_bspline"),
215     ("ParticleSettings", "sizemass", "use_multiply_size_mass"),
216     ("ParticleSettings", "react_multiple", "use_react_multiple"),
217     ("ParticleSettings", "react_start_end", "use_react_start_end"),
218     ("ParticleSettings", "render_adaptive", "use_render_adaptive"),
219     ("ParticleSettings", "self_effect", "use_self_effect"),
220     ("ParticleSettings", "enable_simplify", "use_simplify"),
221     ("ParticleSettings", "size_deflect", "use_size_deflect"),
222     ("ParticleSettings", "render_strand", "use_strand_primitive"),
223     ("ParticleSettings", "symmetric_branching", "use_symmetric_branching"),
224     ("ParticleSettings", "velocity_length", "use_velocity_length"),
225     ("ParticleSettings", "whole_group", "use_whole_group"),
226     ("CloudsTexture", "noise_size", "noise_scale"),
227     ("DistortedNoiseTexture", "noise_size", "noise_scale"),
228     ("EnvironmentMapTexture", "filter_size_minimum", "use_filter_size_min"),
229     ("EnvironmentMapTexture", "mipmap_gauss", "use_mipmap_gauss"),
230     ("ImageTexture", "calculate_alpha", "use_calculate_alpha"),
231     ("ImageTexture", "checker_even", "use_checker_even"),
232     ("ImageTexture", "checker_odd", "use_checker_odd"),
233     ("ImageTexture", "filter_size_minimum", "use_filter_size_min"),
234     ("ImageTexture", "flip_axis", "use_flip_axis"),
235     ("ImageTexture", "mipmap_gauss", "use_mipmap_gauss"),
236     ("ImageTexture", "mirror_x", "use_mirror_x"),
237     ("ImageTexture", "mirror_y", "use_mirror_y"),
238     ("ImageTexture", "normal_map", "use_normal_map"),
239     ("MarbleTexture", "noise_size", "noise_scale"),
240     ("MarbleTexture", "noisebasis2", "noisebasis_2"),
241     ("MusgraveTexture", "highest_dimension", "dimension_max"),
242     ("MusgraveTexture", "noise_size", "noise_scale"),
243     ("StucciTexture", "noise_size", "noise_scale"),
244     ("VoronoiTexture", "coloring", "color_mode"),
245     ("VoronoiTexture", "noise_size", "noise_scale"),
246     ("WoodTexture", "noise_size", "noise_scale"),
247     ("WoodTexture", "noisebasis2", "noisebasis_2"),
248     ("World", "blend_sky", "use_sky_blend"),
249     ("World", "paper_sky", "use_sky_paper"),
250     ("World", "real_sky", "use_sky_real"),
251     ("ImageUser", "auto_refresh", "use_auto_refresh"),
252     ("MaterialHalo", "flares_sub", "flare_subflare_count"),
253     ("MaterialHalo", "flare_subsize", "flare_subflare_size"),
254     ("MaterialHalo", "line_number", "line_count"),
255     ("MaterialHalo", "rings", "ring_count"),
256     ("MaterialHalo", "star_tips", "star_tip_count"),
257     ("MaterialHalo", "xalpha", "use_extreme_alpha"),
258     ("MaterialHalo", "flare_mode", "use_flare_mode"),
259     ("MaterialHalo", "vertex_normal", "use_vertex_normal"),
260     ("MaterialPhysics", "align_to_normal", "use_normal_align"),
261     ("MaterialStrand", "min_size", "size_min"),
262     ("MaterialStrand", "blender_units", "use_blender_units"),
263     ("MaterialStrand", "surface_diffuse", "use_surface_diffuse"),
264     ("MaterialStrand", "tangent_shading", "use_tangent_shading"),
265     ("MaterialSubsurfaceScattering", "error_tolerance", "error_threshold"),
266     ("MaterialVolume", "depth_cutoff", "depth_threshold"),
267     ("MaterialVolume", "lighting_mode", "light_method"),
268     ("MaterialVolume", "step_calculation", "step_method"),
269     ("MaterialVolume", "external_shadows", "use_external_shadows"),
270     ("MaterialVolume", "light_cache", "use_light_cache"),
271     ("ArmatureModifier", "multi_modifier", "use_multi_modifier"),
272     ("ArrayModifier", "constant_offset_displacement", "constant_offset_displace"),
273     ("ArrayModifier", "merge_distance", "merge_threshold"),
274     ("ArrayModifier", "relative_offset_displacement", "relative_offset_displace"),
275     ("ArrayModifier", "constant_offset", "use_constant_offset"),
276     ("ArrayModifier", "merge_adjacent_vertices", "use_merge_vertices"),
277     ("ArrayModifier", "merge_end_vertices", "use_merge_vertices_cap"),
278     ("ArrayModifier", "add_offset_object", "use_object_offset"),
279     ("ArrayModifier", "relative_offset", "use_relative_offset"),
280     ("BevelModifier", "only_vertices", "use_only_vertices"),
281     ("CastModifier", "from_radius", "use_radius_as_size"),
282     ("DisplaceModifier", "midlevel", "mid_level"),
283     ("DisplaceModifier", "texture_coordinates", "texture_coords"),
284     ("EdgeSplitModifier", "use_sharp", "use_edge_sharp"),
285     ("ExplodeModifier", "split_edges", "use_edge_split"),
286     ("MirrorModifier", "merge_limit", "merge_threshold"),
287     ("MirrorModifier", "mirror_u", "use_mirror_u"),
288     ("MirrorModifier", "mirror_v", "use_mirror_v"),
289     ("MirrorModifier", "mirror_vertex_groups", "use_mirror_vertex_groups"),
290     ("ParticleInstanceModifier", "particle_system_number", "particle_system_index"),
291     ("ParticleInstanceModifier", "keep_shape", "use_preserve_shape"),
292     ("ShrinkwrapModifier", "cull_back_faces", "use_cull_back_faces"),
293     ("ShrinkwrapModifier", "cull_front_faces", "use_cull_front_faces"),
294     ("ShrinkwrapModifier", "keep_above_surface", "use_keep_above_surface"),
295     ("SimpleDeformModifier", "lock_x_axis", "lock_x"),
296     ("SimpleDeformModifier", "lock_y_axis", "lock_y"),
297     ("SmokeModifier", "smoke_type", "type"),
298     ("SubsurfModifier", "subsurf_uv", "use_subsurf_uv"),
299     ("UVProjectModifier", "num_projectors", "projector_count"),
300     ("UVProjectModifier", "override_image", "use_image_override"),
301     ("WaveModifier", "texture_coordinates", "texture_coords"),
302     ("WaveModifier", "x_normal", "use_normal_x"),
303     ("WaveModifier", "y_normal", "use_normal_y"),
304     ("WaveModifier", "z_normal", "use_normal_z"),
305     ("NlaStrip", "blending", "blend_type"),
306     ("NlaStrip", "animated_influence", "use_animated_influence"),
307     ("NlaStrip", "animated_time", "use_animated_time"),
308     ("NlaStrip", "animated_time_cyclic", "use_animated_time_cyclic"),
309     ("NlaStrip", "auto_blending", "use_auto_blend"),
310     ("CompositorNodeAlphaOver", "convert_premul", "use_premultiply"),
311     ("CompositorNodeBlur", "sizex", "size_x"),
312     ("CompositorNodeBlur", "sizey", "size_y"),
313     ("CompositorNodeChannelMatte", "algorithm", "limit_method"),
314     ("CompositorNodeChromaMatte", "acceptance", "tolerance"),
315     ("CompositorNodeColorBalance", "correction_formula", "correction_method"),
316     ("CompositorNodeColorSpill", "algorithm", "limit_method"),
317     ("CompositorNodeColorSpill", "unspill", "use_unspill"),
318     ("CompositorNodeCrop", "x2", "max_x"),
319     ("CompositorNodeCrop", "y2", "max_y"),
320     ("CompositorNodeCrop", "x1", "min_x"),
321     ("CompositorNodeCrop", "y1", "min_y"),
322     ("CompositorNodeCrop", "crop_size", "use_crop_size"),
323     ("CompositorNodeDefocus", "max_blur", "blur_max"),
324     ("CompositorNodeDefocus", "gamma_correction", "use_gamma_correction"),
325     ("CompositorNodeGlare", "rotate_45", "use_rotate_45"),
326     ("CompositorNodeImage", "auto_refresh", "use_auto_refresh"),
327     ("CompositorNodeLensdist", "projector", "use_projector"),
328     ("CompositorNodeVecBlur", "max_speed", "speed_max"),
329     ("CompositorNodeVecBlur", "min_speed", "speed_min"),
330     ("ShaderNodeMapping", "maximum", "max"),
331     ("ShaderNodeMapping", "minimum", "min"),
332     ("ShaderNodeMapping", "clamp_maximum", "use_max"),
333     ("ShaderNodeMapping", "clamp_minimum", "use_min"),
334     ("VertexPaint", "all_faces", "use_all_faces"),
335     ("VertexPaint", "spray", "use_spray"),
336     ("ParticleEdit", "add_keys", "default_key_count"),
337     ("ParticleEdit", "selection_mode", "select_mode"),
338     ("ParticleEdit", "auto_velocity", "use_auto_velocity"),
339     ("ParticleEdit", "add_interpolate", "use_default_interpolate"),
340     ("ParticleEdit", "emitter_deflect", "use_emitter_deflect"),
341     ("ParticleEdit", "fade_time", "use_fade_time"),
342     ("ParticleEdit", "keep_lengths", "use_preserve_length"),
343     ("ParticleEdit", "keep_root", "use_preserve_root"),
344     ("ParticleSystem", "vertex_group_clump_negate", "invert_vertex_group_clump"),
345     ("ParticleSystem", "vertex_group_density_negate", "invert_vertex_group_density"),
346     ("ParticleSystem", "vertex_group_field_negate", "invert_vertex_group_field"),
347     ("ParticleSystem", "vertex_group_kink_negate", "invert_vertex_group_kink"),
348     ("ParticleSystem", "vertex_group_length_negate", "invert_vertex_group_length"),
349     ("ParticleSystem", "vertex_group_rotation_negate", "invert_vertex_group_rotation"),
350     ("ParticleSystem", "vertex_group_roughness1_negate", "invert_vertex_group_roughness_1"),
351     ("ParticleSystem", "vertex_group_roughness2_negate", "invert_vertex_group_roughness_2"),
352     ("ParticleSystem", "vertex_group_roughness_end_negate", "invert_vertex_group_roughness_end"),
353     ("ParticleSystem", "vertex_group_size_negate", "invert_vertex_group_size"),
354     ("ParticleSystem", "vertex_group_tangent_negate", "invert_vertex_group_tangent"),
355     ("ParticleSystem", "vertex_group_velocity_negate", "invert_vertex_group_velocity"),
356     ("ParticleSystem", "hair_dynamics", "use_hair_dynamics"),
357     ("ParticleSystem", "keyed_timing", "use_keyed_timing"),
358     ("PointDensity", "falloff_softness", "falloff_soft"),
359     ("PointDensity", "particle_cache", "particle_cache_space"),
360     ("PointDensity", "turbulence_size", "turbulence_scale"),
361     ("PointDensity", "turbulence", "use_turbulence"),
362     ("PointDensity", "vertices_cache", "vertex_cache_space"),
363     ("PoseBone", "ik_lin_weight", "ik_linear_weight"),
364     ("PoseBone", "ik_rot_weight", "ik_rotation_weight"),
365     ("PoseBone", "ik_limit_x", "use_ik_limit_x"),
366     ("PoseBone", "ik_limit_y", "use_ik_limit_y"),
367     ("PoseBone", "ik_limit_z", "use_ik_limit_z"),
368     ("PoseBone", "ik_lin_control", "use_ik_linear_control"),
369     ("PoseBone", "ik_rot_control", "use_ik_rotation_control"),
370     ("Bone", "use_hinge", "use_inherit_rotation"),
371     ("SPHFluidSettings", "spring_k", "spring_force"),
372     ("SPHFluidSettings", "stiffness_k", "stiffness"),
373     ("SPHFluidSettings", "stiffness_knear", "stiffness_near"),
374     ("SceneGameData", "framing_color", "frame_color"),
375     ("SceneGameData", "framing_type", "frame_type"),
376     ("SceneGameData", "eye_separation", "stereo_eye_separation"),
377     ("SceneGameData", "activity_culling", "use_activity_culling"),
378     ("SceneGameData", "auto_start", "use_auto_start"),
379     ("SceneGameData", "glsl_extra_textures", "use_glsl_extra_textures"),
380     ("SceneGameData", "glsl_lights", "use_glsl_lights"),
381     ("SceneGameData", "glsl_nodes", "use_glsl_nodes"),
382     ("SceneGameData", "glsl_ramps", "use_glsl_ramps"),
383     ("SceneGameData", "glsl_shaders", "use_glsl_shaders"),
384     ("SceneGameData", "glsl_shadows", "use_glsl_shadows"),
385     ("Sequence", "blend_opacity", "blend_alpha"),
386     ("Sequence", "blend_mode", "blend_type"),
387     ("Sequence", "frame_final_length", "frame_final_duration"),
388     ("Sequence", "use_effect_default_fade", "use_default_fade"),
389     ("SequenceColorBalance", "inverse_gain", "invert_gain"),
390     ("SequenceColorBalance", "inverse_gamma", "invert_gamma"),
391     ("SequenceColorBalance", "inverse_lift", "invert_lift"),
392     ("EffectSequence", "multiply_colors", "color_multiply"),
393     ("EffectSequence", "de_interlace", "use_deinterlace"),
394     ("EffectSequence", "flip_x", "use_flip_x"),
395     ("EffectSequence", "flip_y", "use_flip_y"),
396     ("EffectSequence", "convert_float", "use_float"),
397     ("EffectSequence", "premultiply", "use_premultiply"),
398     ("EffectSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
399     ("EffectSequence", "proxy_custom_file", "use_proxy_custom_file"),
400     ("EffectSequence", "reverse_frames", "use_reverse_frames"),
401     ("GlowSequence", "blur_distance", "blur_radius"),
402     ("GlowSequence", "only_boost", "use_only_boost"),
403     ("SpeedControlSequence", "curve_compress_y", "use_curve_compress_y"),
404     ("SpeedControlSequence", "curve_velocity", "use_curve_velocity"),
405     ("SpeedControlSequence", "frame_blending", "use_frame_blend"),
406     ("TransformSequence", "uniform_scale", "use_uniform_scale"),
407     ("ImageSequence", "animation_end_offset", "animation_offset_end"),
408     ("ImageSequence", "animation_start_offset", "animation_offset_start"),
409     ("ImageSequence", "multiply_colors", "color_multiply"),
410     ("ImageSequence", "de_interlace", "use_deinterlace"),
411     ("ImageSequence", "flip_x", "use_flip_x"),
412     ("ImageSequence", "flip_y", "use_flip_y"),
413     ("ImageSequence", "convert_float", "use_float"),
414     ("ImageSequence", "premultiply", "use_premultiply"),
415     ("ImageSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
416     ("ImageSequence", "proxy_custom_file", "use_proxy_custom_file"),
417     ("ImageSequence", "reverse_frames", "use_reverse_frames"),
418     ("MetaSequence", "animation_end_offset", "animation_offset_end"),
419     ("MetaSequence", "animation_start_offset", "animation_offset_start"),
420     ("MetaSequence", "multiply_colors", "color_multiply"),
421     ("MetaSequence", "de_interlace", "use_deinterlace"),
422     ("MetaSequence", "flip_x", "use_flip_x"),
423     ("MetaSequence", "flip_y", "use_flip_y"),
424     ("MetaSequence", "convert_float", "use_float"),
425     ("MetaSequence", "premultiply", "use_premultiply"),
426     ("MetaSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
427     ("MetaSequence", "proxy_custom_file", "use_proxy_custom_file"),
428     ("MetaSequence", "reverse_frames", "use_reverse_frames"),
429     ("MovieSequence", "animation_end_offset", "animation_offset_end"),
430     ("MovieSequence", "animation_start_offset", "animation_offset_start"),
431     ("MovieSequence", "multiply_colors", "color_multiply"),
432     ("MovieSequence", "de_interlace", "use_deinterlace"),
433     ("MovieSequence", "flip_x", "use_flip_x"),
434     ("MovieSequence", "flip_y", "use_flip_y"),
435     ("MovieSequence", "convert_float", "use_float"),
436     ("MovieSequence", "premultiply", "use_premultiply"),
437     ("MovieSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
438     ("MovieSequence", "proxy_custom_file", "use_proxy_custom_file"),
439     ("MovieSequence", "reverse_frames", "use_reverse_frames"),
440     ("MulticamSequence", "animation_end_offset", "animation_offset_end"),
441     ("MulticamSequence", "animation_start_offset", "animation_offset_start"),
442     ("MulticamSequence", "multiply_colors", "color_multiply"),
443     ("MulticamSequence", "de_interlace", "use_deinterlace"),
444     ("MulticamSequence", "flip_x", "use_flip_x"),
445     ("MulticamSequence", "flip_y", "use_flip_y"),
446     ("MulticamSequence", "convert_float", "use_float"),
447     ("MulticamSequence", "premultiply", "use_premultiply"),
448     ("MulticamSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
449     ("MulticamSequence", "proxy_custom_file", "use_proxy_custom_file"),
450     ("MulticamSequence", "reverse_frames", "use_reverse_frames"),
451     ("SceneSequence", "animation_end_offset", "animation_offset_end"),
452     ("SceneSequence", "animation_start_offset", "animation_offset_start"),
453     ("SceneSequence", "multiply_colors", "color_multiply"),
454     ("SceneSequence", "de_interlace", "use_deinterlace"),
455     ("SceneSequence", "flip_x", "use_flip_x"),
456     ("SceneSequence", "flip_y", "use_flip_y"),
457     ("SceneSequence", "convert_float", "use_float"),
458     ("SceneSequence", "premultiply", "use_premultiply"),
459     ("SceneSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
460     ("SceneSequence", "proxy_custom_file", "use_proxy_custom_file"),
461     ("SceneSequence", "reverse_frames", "use_reverse_frames"),
462     ("SoundSequence", "animation_end_offset", "animation_offset_end"),
463     ("SoundSequence", "animation_start_offset", "animation_offset_start"),
464     ("SmokeDomainSettings", "smoke_domain_colli", "collision_extents"),
465     ("SmokeDomainSettings", "smoke_cache_high_comp", "point_cache_compress_high_type"),
466     ("SmokeDomainSettings", "smoke_cache_comp", "point_cache_compress_type"),
467     ("SmokeDomainSettings", "maxres", "resolution_max"),
468     ("SmokeDomainSettings", "smoothemitter", "smooth_emitter"),
469     ("SmokeDomainSettings", "dissolve_smoke", "use_dissolve_smoke"),
470     ("SmokeDomainSettings", "dissolve_smoke_log", "use_dissolve_smoke_log"),
471     ("SmokeDomainSettings", "highres", "use_high_resolution"),
472     ("SoftBodySettings", "bending", "bend"),
473     ("SoftBodySettings", "error_limit", "error_threshold"),
474     ("SoftBodySettings", "lcom", "location_mass_center"),
475     ("SoftBodySettings", "lrot", "rotation_estimate"),
476     ("SoftBodySettings", "lscale", "scale_estimate"),
477     ("SoftBodySettings", "maxstep", "step_max"),
478     ("SoftBodySettings", "minstep", "step_min"),
479     ("SoftBodySettings", "diagnose", "use_diagnose"),
480     ("SoftBodySettings", "edge_collision", "use_edge_collision"),
481     ("SoftBodySettings", "estimate_matrix", "use_estimate_matrix"),
482     ("SoftBodySettings", "face_collision", "use_face_collision"),
483     ("SoftBodySettings", "self_collision", "use_self_collision"),
484     ("SoftBodySettings", "stiff_quads", "use_stiff_quads"),
485     ("TexMapping", "maximum", "max"),
486     ("TexMapping", "minimum", "min"),
487     ("TexMapping", "has_maximum", "use_max"),
488     ("TexMapping", "has_minimum", "use_min"),
489     ("TextCharacterFormat", "bold", "use_bold"),
490     ("TextCharacterFormat", "italic", "use_italic"),
491     ("TextCharacterFormat", "underline", "use_underline"),
492     ("TextureSlot", "rgb_to_intensity", "use_rgb_to_intensity"),
493     ("TextureSlot", "stencil", "use_stencil"),
494     ("LampTextureSlot", "texture_coordinates", "texture_coords"),
495     ("LampTextureSlot", "map_color", "use_map_color"),
496     ("LampTextureSlot", "map_shadow", "use_map_shadow"),
497     ("MaterialTextureSlot", "coloremission_factor", "color_emission_factor"),
498     ("MaterialTextureSlot", "colordiff_factor", "diffuse_color_factor"),
499     ("MaterialTextureSlot", "x_mapping", "mapping_x"),
500     ("MaterialTextureSlot", "y_mapping", "mapping_y"),
501     ("MaterialTextureSlot", "z_mapping", "mapping_z"),
502     ("MaterialTextureSlot", "colorreflection_factor", "reflection_color_factor"),
503     ("MaterialTextureSlot", "colorspec_factor", "specular_color_factor"),
504     ("MaterialTextureSlot", "texture_coordinates", "texture_coords"),
505     ("MaterialTextureSlot", "colortransmission_factor", "transmission_color_factor"),
506     ("MaterialTextureSlot", "from_dupli", "use_from_dupli"),
507     ("MaterialTextureSlot", "from_original", "use_from_original"),
508     ("MaterialTextureSlot", "map_alpha", "use_map_alpha"),
509     ("MaterialTextureSlot", "map_ambient", "use_map_ambient"),
510     ("MaterialTextureSlot", "map_colordiff", "use_map_color_diff"),
511     ("MaterialTextureSlot", "map_coloremission", "use_map_color_emission"),
512     ("MaterialTextureSlot", "map_colorreflection", "use_map_color_reflection"),
513     ("MaterialTextureSlot", "map_colorspec", "use_map_color_spec"),
514     ("MaterialTextureSlot", "map_colortransmission", "use_map_color_transmission"),
515     ("MaterialTextureSlot", "map_density", "use_map_density"),
516     ("MaterialTextureSlot", "map_diffuse", "use_map_diffuse"),
517     ("MaterialTextureSlot", "map_displacement", "use_map_displacement"),
518     ("MaterialTextureSlot", "map_emission", "use_map_emission"),
519     ("MaterialTextureSlot", "map_emit", "use_map_emit"),
520     ("MaterialTextureSlot", "map_hardness", "use_map_hardness"),
521     ("MaterialTextureSlot", "map_mirror", "use_map_mirror"),
522     ("MaterialTextureSlot", "map_normal", "use_map_normal"),
523     ("MaterialTextureSlot", "map_raymir", "use_map_raymir"),
524     ("MaterialTextureSlot", "map_reflection", "use_map_reflect"),
525     ("MaterialTextureSlot", "map_scattering", "use_map_scatter"),
526     ("MaterialTextureSlot", "map_specular", "use_map_specular"),
527     ("MaterialTextureSlot", "map_translucency", "use_map_translucency"),
528     ("MaterialTextureSlot", "map_warp", "use_map_warp"),
529     ("WorldTextureSlot", "texture_coordinates", "texture_coords"),
530     ("WorldTextureSlot", "map_blend", "use_map_blend"),
531     ("WorldTextureSlot", "map_horizon", "use_map_horizon"),
532     ("WorldTextureSlot", "map_zenith_down", "use_map_zenith_down"),
533     ("WorldTextureSlot", "map_zenith_up", "use_map_zenith_up"),
534     ("VoxelData", "still_frame_number", "still_frame"),
535     ("WorldLighting", "ao_blend_mode", "ao_blend_type"),
536     ("WorldLighting", "error_tolerance", "error_threshold"),
537     ("WorldLighting", "use_ambient_occlusion", "use_ambient_occlusian"),
538     ("WorldLighting", "pixel_cache", "use_cache"),
539     ("WorldLighting", "use_environment_lighting", "use_environment_light"),
540     ("WorldLighting", "use_indirect_lighting", "use_indirect_light"),
541     ("WorldStarsSettings", "color_randomization", "color_random"),
542     ("WorldStarsSettings", "min_distance", "distance_min"),
543     ("WorldLighting", "falloff", "use_falloff"),
544     ("Constraint", "disabled", "is_valid"),
545     ("ClampToConstraint", "cyclic", "use_cyclic"),
546     ("ImageTexture", "filter", "filter_type"),
547     ("ImageTexture", "interpolation", "use_interpolation"),
548     ("ImageTexture", "mipmap", "use_mipmap"),
549     ("ImageUser", "frames", "frame_duration"),
550     ("ImageUser", "offset", "frame_offset"),
551     ("ImageUser", "cyclic", "use_cyclic"),
552     ("ArmatureModifier", "invert", "invert_vertex_group"),
553     ("ArmatureModifier", "quaternion", "use_deform_preserve_volume"),
554     ("ArrayModifier", "length", "fit_length"),
555     ("BevelModifier", "angle", "angle_limit"),
556     ("BuildModifier", "length", "frame_duration"),
557     ("BuildModifier", "randomize", "use_random_order"),
558     ("CastModifier", "x", "use_x"),
559     ("CastModifier", "y", "use_y"),
560     ("CastModifier", "z", "use_z"),
561     ("ExplodeModifier", "size", "use_size"),
562     ("MaskModifier", "invert", "invert_vertex_group"),
563     ("MeshDeformModifier", "invert", "invert_vertex_group"),
564     ("MeshDeformModifier", "dynamic", "use_dynamic_bind"),
565     ("MirrorModifier", "clip", "use_clip"),
566     ("MirrorModifier", "x", "use_x"),
567     ("MirrorModifier", "y", "use_y"),
568     ("MirrorModifier", "z", "use_z"),
569     ("ParticleInstanceModifier", "children", "use_children"),
570     ("ParticleInstanceModifier", "normal", "use_normal"),
571     ("ParticleInstanceModifier", "size", "use_size"),
572     ("ShrinkwrapModifier", "negative", "use_negative_direction"),
573     ("ShrinkwrapModifier", "positive", "use_positive_direction"),
574     ("ShrinkwrapModifier", "x", "use_project_x"),
575     ("ShrinkwrapModifier", "y", "use_project_y"),
576     ("ShrinkwrapModifier", "z", "use_project_z"),
577     ("ShrinkwrapModifier", "mode", "wrap_method"),
578     ("SimpleDeformModifier", "mode", "deform_method"),
579     ("SimpleDeformModifier", "relative", "use_relative"),
580     ("SmoothModifier", "repeat", "iterations"),
581     ("SmoothModifier", "x", "use_x"),
582     ("SmoothModifier", "y", "use_y"),
583     ("SmoothModifier", "z", "use_z"),
584     ("SolidifyModifier", "invert", "invert_vertex_group"),
585     ("WaveModifier", "cyclic", "use_cyclic"),
586     ("WaveModifier", "normals", "use_normal"),
587     ("WaveModifier", "x", "use_x"),
588     ("WaveModifier", "y", "use_y"),
589     ("DampedTrackConstraint", "track", "track_axis"),
590     ("FloorConstraint", "sticky", "use_sticky"),
591     ("FollowPathConstraint", "forward", "forward_axis"),
592     ("FollowPathConstraint", "up", "up_axis"),
593     ("LockedTrackConstraint", "lock", "lock_axis"),
594     ("LockedTrackConstraint", "track", "track_axis"),
595     ("MaintainVolumeConstraint", "axis", "free_axis"),
596     ("TrackToConstraint", "track", "track_axis"),
597     ("TrackToConstraint", "up", "up_axis"),
598     ("GameProperty", "debug", "show_debug"),
599     ("Image", "tiles", "use_tiles"),
600     ("Lamp", "diffuse", "use_diffuse"),
601     ("Lamp", "negative", "use_negative"),
602     ("Lamp", "layer", "use_own_layer"),
603     ("Lamp", "specular", "use_specular"),
604     ("AreaLamp", "dither", "use_dither"),
605     ("AreaLamp", "jitter", "use_jitter"),
606     ("SpotLamp", "square", "use_square"),
607     ("Material", "cubic", "use_cubic"),
608     ("Material", "shadows", "use_shadows"),
609     ("ParticleSettings", "amount", "count"),
610     ("ParticleSettings", "display", "draw_percentage"),
611     ("ParticleSettings", "velocity", "show_velocity"),
612     ("ParticleSettings", "trand", "use_emit_random"),
613     ("ParticleSettings", "parent", "use_parent_particles"),
614     ("ParticleSettings", "emitter", "use_render_emitter"),
615     ("ParticleSettings", "viewport", "use_simplify_viewport"),
616     ("Texture", "brightness", "intensity"),
617     ("CloudsTexture", "stype", "cloud_type"),
618     ("EnvironmentMapTexture", "filter", "filter_type"),
619     ("EnvironmentMapTexture", "mipmap", "use_mipmap"),
620     ("MarbleTexture", "stype", "marble_type"),
621     ("StucciTexture", "stype", "stucci_type"),
622     ("WoodTexture", "stype", "wood_type"),
623     ("World", "range", "color_range"),
624     ("World", "lighting", "light_settings"),
625     ("World", "mist", "mist_settings"),
626     ("World", "stars", "star_settings"),
627     ("MaterialHalo", "lines", "use_lines"),
628     ("MaterialHalo", "ring", "use_ring"),
629     ("MaterialHalo", "soft", "use_soft"),
630     ("MaterialHalo", "star", "use_star"),
631     ("MaterialHalo", "texture", "use_texture"),
632     ("MaterialPhysics", "damp", "damping"),
633     ("MaterialRaytraceTransparency", "limit", "depth_max"),
634     ("NlaStrip", "reversed", "use_reverse"),
635     ("CompositorNodeBlur", "bokeh", "use_bokeh"),
636     ("CompositorNodeBlur", "gamma", "use_gamma_correction"),
637     ("CompositorNodeBlur", "relative", "use_relative"),
638     ("CompositorNodeChannelMatte", "high", "limit_max"),
639     ("CompositorNodeChannelMatte", "low", "limit_min"),
640     ("CompositorNodeChannelMatte", "channel", "matte_channel"),
641     ("CompositorNodeChromaMatte", "cutoff", "threshold"),
642     ("CompositorNodeColorMatte", "h", "color_hue"),
643     ("CompositorNodeColorMatte", "s", "color_saturation"),
644     ("CompositorNodeColorMatte", "v", "color_value"),
645     ("CompositorNodeDBlur", "wrap", "use_wrap"),
646     ("CompositorNodeDefocus", "preview", "use_preview"),
647     ("CompositorNodeHueSat", "hue", "color_hue"),
648     ("CompositorNodeHueSat", "sat", "color_saturation"),
649     ("CompositorNodeHueSat", "val", "color_value"),
650     ("CompositorNodeImage", "frames", "frame_duration"),
651     ("CompositorNodeImage", "offset", "frame_offset"),
652     ("CompositorNodeImage", "start", "frame_start"),
653     ("CompositorNodeImage", "cyclic", "use_cyclic"),
654     ("CompositorNodeInvert", "alpha", "invert_alpha"),
655     ("CompositorNodeInvert", "rgb", "invert_rgb"),
656     ("CompositorNodeLensdist", "fit", "use_fit"),
657     ("CompositorNodeLensdist", "jitter", "use_jitter"),
658     ("CompositorNodeMixRGB", "alpha", "use_alpha"),
659     ("CompositorNodeRotate", "filter", "filter_type"),
660     ("CompositorNodeTime", "end", "frame_end"),
661     ("CompositorNodeTime", "start", "frame_start"),
662     ("CompositorNodeVecBlur", "curved", "use_curved"),
663     ("ShaderNodeExtendedMaterial", "diffuse", "use_diffuse"),
664     ("ShaderNodeExtendedMaterial", "specular", "use_specular"),
665     ("ShaderNodeMaterial", "diffuse", "use_diffuse"),
666     ("ShaderNodeMaterial", "specular", "use_specular"),
667     ("ShaderNodeMixRGB", "alpha", "use_alpha"),
668     ("TextureNodeCurveTime", "end", "frame_end"),
669     ("TextureNodeCurveTime", "start", "frame_start"),
670     ("TextureNodeMixRGB", "alpha", "use_alpha"),
671     ("TextureSlot", "negate", "invert"),
672     ("TextureSlot", "size", "scale"),
673     ("SoftBodySettings", "damp", "damping"),
674     ("SequenceCrop", "right", "max_x"),
675     ("SequenceCrop", "top", "max_y"),
676     ("SequenceCrop", "bottom", "min_x"),
677     ("SequenceCrop", "left", "min_y"),
678     ("Sequence", "speed_fader", "speed_factor"),
679     ("SpeedControlSequence", "global_speed", "multiply_speed"),
680     ("SpeedControlSequence", "use_curve_velocity", "use_as_speed"),
681     ("SpeedControlSequence", "use_curve_compress_y", "scale_to_length"),
682     ]
683
684
685 import bpy
686
687
688 class UpdateAnimData(bpy.types.Operator):
689     '''Update data paths from 2.53 to edited data paths of drivers and fcurves'''
690     bl_idname = "anim.update_data_paths"
691     bl_label = "Update Animation Data"
692
693     def execute(self, context):
694         import animsys_refactor
695         reload(animsys_refactor)
696         animsys_refactor.update_data_paths(data_path_update)
697         return {'FINISHED'}
698
699
700 if __name__ == "__main__":
701     bpy.ops.anim.update_data_paths()
702
703 def register():
704     pass