fixed [#23400] Unable to import *.3ds/*.obj files with textures
[blender.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     ("AnimVizMotionPaths", "after_current", "frame_after"),
23     ("AnimVizMotionPaths", "before_current", "frame_before"),
24     ("AnimVizOnionSkinning", "after_current", "frame_after"),
25     ("AnimVizOnionSkinning", "before_current", "frame_before"),
26     ("ClothCollisionSettings", "min_distance", "distance_min"),
27     ("ClothCollisionSettings", "self_min_distance", "self_distance_min"),
28     ("ClothCollisionSettings", "enable_collision", "use_collision"),
29     ("ClothCollisionSettings", "enable_self_collision", "use_self_collision"),
30     ("ClothSettings", "pin_cloth", "use_pin_cloth"),
31     ("ClothSettings", "stiffness_scaling", "use_stiffness_scale"),
32     ("CollisionSettings", "random_damping", "damping_random"),
33     ("CollisionSettings", "random_friction", "friction_random"),
34     ("CollisionSettings", "inner_thickness", "thickness_inner"),
35     ("CollisionSettings", "outer_thickness", "thickness_outer"),
36     ("CollisionSettings", "kill_particles", "use_particle_kill"),
37     ("Constraint", "proxy_local", "is_proxy_local"),
38     ("ActionConstraint", "maximum", "max"),
39     ("ActionConstraint", "minimum", "min"),
40     ("FollowPathConstraint", "use_fixed_position", "use_fixed_location"),
41     ("KinematicConstraint", "chain_length", "chain_count"),
42     ("KinematicConstraint", "pos_lock_x", "lock_location_x"),
43     ("KinematicConstraint", "pos_lock_y", "lock_location_y"),
44     ("KinematicConstraint", "pos_lock_z", "lock_location_z"),
45     ("KinematicConstraint", "rot_lock_x", "lock_rotation_x"),
46     ("KinematicConstraint", "rot_lock_y", "lock_rotation_y"),
47     ("KinematicConstraint", "rot_lock_z", "lock_rotation_z"),
48     ("KinematicConstraint", "axis_reference", "reference_axis"),
49     ("KinematicConstraint", "use_position", "use_location"),
50     ("LimitLocationConstraint", "maximum_x", "max_x"),
51     ("LimitLocationConstraint", "maximum_y", "max_y"),
52     ("LimitLocationConstraint", "maximum_z", "max_z"),
53     ("LimitLocationConstraint", "minimum_x", "min_x"),
54     ("LimitLocationConstraint", "minimum_y", "min_y"),
55     ("LimitLocationConstraint", "minimum_z", "min_z"),
56     ("LimitLocationConstraint", "use_maximum_x", "use_max_x"),
57     ("LimitLocationConstraint", "use_maximum_y", "use_max_y"),
58     ("LimitLocationConstraint", "use_maximum_z", "use_max_z"),
59     ("LimitLocationConstraint", "use_minimum_x", "use_min_x"),
60     ("LimitLocationConstraint", "use_minimum_y", "use_min_y"),
61     ("LimitLocationConstraint", "use_minimum_z", "use_min_z"),
62     ("LimitLocationConstraint", "limit_transform", "use_transform_limit"),
63     ("LimitRotationConstraint", "maximum_x", "max_x"),
64     ("LimitRotationConstraint", "maximum_y", "max_y"),
65     ("LimitRotationConstraint", "maximum_z", "max_z"),
66     ("LimitRotationConstraint", "minimum_x", "min_x"),
67     ("LimitRotationConstraint", "minimum_y", "min_y"),
68     ("LimitRotationConstraint", "minimum_z", "min_z"),
69     ("LimitRotationConstraint", "limit_transform", "use_transform_limit"),
70     ("LimitScaleConstraint", "maximum_x", "max_x"),
71     ("LimitScaleConstraint", "maximum_y", "max_y"),
72     ("LimitScaleConstraint", "maximum_z", "max_z"),
73     ("LimitScaleConstraint", "minimum_x", "min_x"),
74     ("LimitScaleConstraint", "minimum_y", "min_y"),
75     ("LimitScaleConstraint", "minimum_z", "min_z"),
76     ("LimitScaleConstraint", "use_maximum_x", "use_max_x"),
77     ("LimitScaleConstraint", "use_maximum_y", "use_max_y"),
78     ("LimitScaleConstraint", "use_maximum_z", "use_max_z"),
79     ("LimitScaleConstraint", "use_minimum_x", "use_min_x"),
80     ("LimitScaleConstraint", "use_minimum_y", "use_min_y"),
81     ("LimitScaleConstraint", "use_minimum_z", "use_min_z"),
82     ("LimitScaleConstraint", "limit_transform", "use_transform_limit"),
83     ("PivotConstraint", "enabled_rotation_range", "rotation_range"),
84     ("PivotConstraint", "use_relative_position", "use_relative_location"),
85     ("PythonConstraint", "number_of_targets", "target_count"),
86     ("SplineIKConstraint", "chain_length", "chain_count"),
87     ("SplineIKConstraint", "chain_offset", "use_chain_offset"),
88     ("SplineIKConstraint", "even_divisions", "use_even_divisions"),
89     ("SplineIKConstraint", "y_stretch", "use_y_stretch"),
90     ("SplineIKConstraint", "xz_scaling_mode", "xz_scale_mode"),
91     ("StretchToConstraint", "original_length", "rest_length"),
92     ("TrackToConstraint", "target_z", "use_target_z"),
93     ("TransformConstraint", "extrapolate_motion", "use_motion_extrapolate"),
94     ("FieldSettings", "do_location", "apply_to_location"),
95     ("FieldSettings", "do_rotation", "apply_to_rotation"),
96     ("FieldSettings", "maximum_distance", "distance_max"),
97     ("FieldSettings", "minimum_distance", "distance_min"),
98     ("FieldSettings", "radial_maximum", "radial_max"),
99     ("FieldSettings", "radial_minimum", "radial_min"),
100     ("FieldSettings", "force_2d", "use_2d_force"),
101     ("FieldSettings", "do_absorption", "use_absorption"),
102     ("FieldSettings", "global_coordinates", "use_global_coords"),
103     ("FieldSettings", "guide_path_add", "use_guide_path_add"),
104     ("FieldSettings", "multiple_springs", "use_multiple_springs"),
105     ("FieldSettings", "use_coordinates", "use_object_coords"),
106     ("FieldSettings", "root_coordinates", "use_root_coords"),
107     ("ControlFluidSettings", "reverse_frames", "use_reverse_frames"),
108     ("DomainFluidSettings", "real_world_size", "simulation_scale"),
109     ("DomainFluidSettings", "surface_smoothing", "surface_smooth"),
110     ("DomainFluidSettings", "reverse_frames", "use_reverse_frames"),
111     ("DomainFluidSettings", "generate_speed_vectors", "use_speed_vectors"),
112     ("DomainFluidSettings", "override_time", "use_time_override"),
113     ("FluidFluidSettings", "export_animated_mesh", "use_animated_mesh"),
114     ("InflowFluidSettings", "export_animated_mesh", "use_animated_mesh"),
115     ("InflowFluidSettings", "local_coordinates", "use_local_coords"),
116     ("ObstacleFluidSettings", "export_animated_mesh", "use_animated_mesh"),
117     ("OutflowFluidSettings", "export_animated_mesh", "use_animated_mesh"),
118     ("ParticleFluidSettings", "drops", "use_drops"),
119     ("ParticleFluidSettings", "floats", "use_floats"),
120     ("GameSoftBodySettings", "linstiff", "linear_stiffness"),
121     ("GameSoftBodySettings", "position_iterations", "location_iterations"),
122     ("GameSoftBodySettings", "bending_const", "use_bending_constraints"),
123     ("GameSoftBodySettings", "cluster_rigid_to_softbody", "use_cluster_rigid_to_softbody"),
124     ("GameSoftBodySettings", "cluster_soft_to_softbody", "use_cluster_soft_to_softbody"),
125     ("GameSoftBodySettings", "shape_match", "use_shape_match"),
126     ("NetRenderSettings", "master_broadcast", "use_master_broadcast"),
127     ("NetRenderSettings", "master_clear", "use_master_clear"),
128     ("NetRenderSettings", "slave_clear", "use_slave_clear"),
129     ("NetRenderSettings", "slave_outputlog", "use_slave_output_log"),
130     ("NetRenderSettings", "slave_thumb", "use_slave_thumb"),
131     ("PoseTemplateSettings", "generate_def_rig", "use_generate_deform_rig"),
132     ("Armature", "drawtype", "draw_type"),
133     ("Armature", "layer_protection", "layers_protected"),
134     ("Armature", "auto_ik", "use_auto_ik"),
135     ("Armature", "delay_deform", "use_deform_delay"),
136     ("Armature", "deform_envelope", "use_deform_envelopes"),
137     ("Armature", "deform_quaternion", "use_deform_preserve_volume"),
138     ("Armature", "deform_vertexgroups", "use_deform_vertex_groups"),
139     ("Armature", "x_axis_mirror", "use_mirror_x"),
140     ("Curve", "width", "offset"),
141     ("Image", "animation_speed", "fps"),
142     ("Image", "animation_end", "frame_end"),
143     ("Image", "animation_start", "frame_start"),
144     ("Image", "animated", "use_animation"),
145     ("Image", "clamp_x", "use_clamp_x"),
146     ("Image", "clamp_y", "use_clamp_y"),
147     ("Image", "premultiply", "use_premultiply"),
148     ("AreaLamp", "shadow_ray_sampling_method", "shadow_ray_sample_method"),
149     ("AreaLamp", "only_shadow", "use_only_shadow"),
150     ("AreaLamp", "shadow_layer", "use_shadow_layer"),
151     ("AreaLamp", "umbra", "use_umbra"),
152     ("PointLamp", "shadow_ray_sampling_method", "shadow_ray_sample_method"),
153     ("PointLamp", "only_shadow", "use_only_shadow"),
154     ("PointLamp", "shadow_layer", "use_shadow_layer"),
155     ("PointLamp", "sphere", "use_sphere"),
156     ("SpotLamp", "shadow_ray_sampling_method", "shadow_ray_sample_method"),
157     ("SpotLamp", "auto_clip_end", "use_auto_clip_end"),
158     ("SpotLamp", "auto_clip_start", "use_auto_clip_start"),
159     ("SpotLamp", "only_shadow", "use_only_shadow"),
160     ("SpotLamp", "shadow_layer", "use_shadow_layer"),
161     ("SpotLamp", "sphere", "use_sphere"),
162     ("SunLamp", "only_shadow", "use_only_shadow"),
163     ("SunLamp", "shadow_layer", "use_shadow_layer"),
164     ("Material", "z_offset", "offset_z"),
165     ("Material", "shadow_casting_alpha", "shadow_cast_alpha"),
166     ("Material", "cast_approximate", "use_cast_approximate"),
167     ("Material", "cast_buffer_shadows", "use_cast_buffer_shadows"),
168     ("Material", "cast_shadows_only", "use_cast_shadows_only"),
169     ("Material", "face_texture", "use_face_texture"),
170     ("Material", "face_texture_alpha", "use_face_texture_alpha"),
171     ("Material", "full_oversampling", "use_full_oversampling"),
172     ("Material", "light_group_exclusive", "use_light_group_exclusive"),
173     ("Material", "object_color", "use_object_color"),
174     ("Material", "only_shadow", "use_only_shadow"),
175     ("Material", "ray_shadow_bias", "use_ray_shadow_bias"),
176     ("Material", "traceable", "use_raytrace"),
177     ("Material", "shadeless", "use_shadeless"),
178     ("Material", "tangent_shading", "use_tangent_shading"),
179     ("Material", "transparency", "use_transparency"),
180     ("Material", "receive_transparent_shadows", "use_transparent_shadows"),
181     ("Material", "vertex_color_light", "use_vertex_color_light"),
182     ("Material", "vertex_color_paint", "use_vertex_color_paint"),
183     ("Mesh", "autosmooth_angle", "auto_smooth_angle"),
184     ("Mesh", "autosmooth", "use_auto_smooth"),
185     ("Object", "max_draw_type", "draw_type"),
186     ("Object", "use_dupli_verts_rotation", "use_dupli_vertices_rotation"),
187     ("Object", "shape_key_edit_mode", "use_shape_key_edit_mode"),
188     ("Object", "slow_parent", "use_slow_parent"),
189     ("Object", "time_offset_add_parent", "use_time_offset_add_parent"),
190     ("Object", "time_offset_edit", "use_time_offset_edit"),
191     ("Object", "time_offset_parent", "use_time_offset_parent"),
192     ("Object", "time_offset_particle", "use_time_offset_particle"),
193     ("ParticleSettings", "adaptive_pix", "adaptive_pixel"),
194     ("ParticleSettings", "child_effector", "apply_effector_to_children"),
195     ("ParticleSettings", "child_guide", "apply_guide_to_children"),
196     ("ParticleSettings", "billboard_split_offset", "billboard_offset_split"),
197     ("ParticleSettings", "billboard_random_tilt", "billboard_tilt_random"),
198     ("ParticleSettings", "child_length_thres", "child_length_threshold"),
199     ("ParticleSettings", "child_random_size", "child_size_random"),
200     ("ParticleSettings", "clumppow", "clump_shape"),
201     ("ParticleSettings", "damp_factor", "damping"),
202     ("ParticleSettings", "draw_as", "draw_method"),
203     ("ParticleSettings", "random_factor", "factor_random"),
204     ("ParticleSettings", "grid_invert", "invert_grid"),
205     ("ParticleSettings", "random_length", "length_random"),
206     ("ParticleSettings", "random_lifetime", "lifetime_random"),
207     ("ParticleSettings", "billboard_lock", "lock_billboard"),
208     ("ParticleSettings", "boids_2d", "lock_boids_to_surface"),
209     ("ParticleSettings", "object_aligned_factor", "object_align_factor"),
210     ("ParticleSettings", "random_phase_factor", "phase_factor_random"),
211     ("ParticleSettings", "ren_as", "render_type"),
212     ("ParticleSettings", "rendered_child_nbr", "rendered_child_count"),
213     ("ParticleSettings", "random_rotation_factor", "rotation_factor_random"),
214     ("ParticleSettings", "rough1", "roughness_1"),
215     ("ParticleSettings", "rough1_size", "roughness_1_size"),
216     ("ParticleSettings", "rough2", "roughness_2"),
217     ("ParticleSettings", "rough2_size", "roughness_2_size"),
218     ("ParticleSettings", "rough2_thres", "roughness_2_threshold"),
219     ("ParticleSettings", "rough_end_shape", "roughness_end_shape"),
220     ("ParticleSettings", "rough_endpoint", "roughness_endpoint"),
221     ("ParticleSettings", "random_size", "size_random"),
222     ("ParticleSettings", "abs_path_time", "use_absolute_path_time"),
223     ("ParticleSettings", "animate_branching", "use_animate_branching"),
224     ("ParticleSettings", "branching", "use_branching"),
225     ("ParticleSettings", "died", "use_dead"),
226     ("ParticleSettings", "die_on_collision", "use_die_on_collision"),
227     ("ParticleSettings", "rotation_dynamic", "use_dynamic_rotation"),
228     ("ParticleSettings", "even_distribution", "use_even_distribution"),
229     ("ParticleSettings", "rand_group", "use_group_pick_random"),
230     ("ParticleSettings", "hair_bspline", "use_hair_bspline"),
231     ("ParticleSettings", "sizemass", "use_multiply_size_mass"),
232     ("ParticleSettings", "react_multiple", "use_react_multiple"),
233     ("ParticleSettings", "react_start_end", "use_react_start_end"),
234     ("ParticleSettings", "render_adaptive", "use_render_adaptive"),
235     ("ParticleSettings", "self_effect", "use_self_effect"),
236     ("ParticleSettings", "enable_simplify", "use_simplify"),
237     ("ParticleSettings", "size_deflect", "use_size_deflect"),
238     ("ParticleSettings", "render_strand", "use_strand_primitive"),
239     ("ParticleSettings", "symmetric_branching", "use_symmetric_branching"),
240     ("ParticleSettings", "velocity_length", "use_velocity_length"),
241     ("ParticleSettings", "whole_group", "use_whole_group"),
242     ("CloudsTexture", "noise_size", "noise_scale"),
243     ("DistortedNoiseTexture", "noise_size", "noise_scale"),
244     ("EnvironmentMapTexture", "filter_size_minimum", "use_filter_size_min"),
245     ("EnvironmentMapTexture", "mipmap_gauss", "use_mipmap_gauss"),
246     ("ImageTexture", "calculate_alpha", "use_calculate_alpha"),
247     ("ImageTexture", "checker_even", "use_checker_even"),
248     ("ImageTexture", "checker_odd", "use_checker_odd"),
249     ("ImageTexture", "filter_size_minimum", "use_filter_size_min"),
250     ("ImageTexture", "flip_axis", "use_flip_axis"),
251     ("ImageTexture", "mipmap_gauss", "use_mipmap_gauss"),
252     ("ImageTexture", "mirror_x", "use_mirror_x"),
253     ("ImageTexture", "mirror_y", "use_mirror_y"),
254     ("ImageTexture", "normal_map", "use_normal_map"),
255     ("MarbleTexture", "noise_size", "noise_scale"),
256     ("MarbleTexture", "noisebasis2", "noisebasis_2"),
257     ("MusgraveTexture", "highest_dimension", "dimension_max"),
258     ("MusgraveTexture", "noise_size", "noise_scale"),
259     ("StucciTexture", "noise_size", "noise_scale"),
260     ("VoronoiTexture", "coloring", "color_mode"),
261     ("VoronoiTexture", "noise_size", "noise_scale"),
262     ("WoodTexture", "noise_size", "noise_scale"),
263     ("WoodTexture", "noisebasis2", "noisebasis_2"),
264     ("World", "blend_sky", "use_sky_blend"),
265     ("World", "paper_sky", "use_sky_paper"),
266     ("World", "real_sky", "use_sky_real"),
267     ("ImageUser", "auto_refresh", "use_auto_refresh"),
268     ("MaterialHalo", "flares_sub", "flare_subflare_count"),
269     ("MaterialHalo", "flare_subsize", "flare_subflare_size"),
270     ("MaterialHalo", "line_number", "line_count"),
271     ("MaterialHalo", "rings", "ring_count"),
272     ("MaterialHalo", "star_tips", "star_tip_count"),
273     ("MaterialHalo", "xalpha", "use_extreme_alpha"),
274     ("MaterialHalo", "flare_mode", "use_flare_mode"),
275     ("MaterialHalo", "vertex_normal", "use_vertex_normal"),
276     ("MaterialPhysics", "align_to_normal", "use_normal_align"),
277     ("MaterialStrand", "min_size", "size_min"),
278     ("MaterialStrand", "blender_units", "use_blender_units"),
279     ("MaterialStrand", "surface_diffuse", "use_surface_diffuse"),
280     ("MaterialStrand", "tangent_shading", "use_tangent_shading"),
281     ("MaterialSubsurfaceScattering", "error_tolerance", "error_threshold"),
282     ("MaterialVolume", "depth_cutoff", "depth_threshold"),
283     ("MaterialVolume", "lighting_mode", "light_method"),
284     ("MaterialVolume", "step_calculation", "step_method"),
285     ("MaterialVolume", "external_shadows", "use_external_shadows"),
286     ("MaterialVolume", "light_cache", "use_light_cache"),
287     ("ArmatureModifier", "multi_modifier", "use_multi_modifier"),
288     ("ArrayModifier", "constant_offset_displacement", "constant_offset_displace"),
289     ("ArrayModifier", "merge_distance", "merge_threshold"),
290     ("ArrayModifier", "relative_offset_displacement", "relative_offset_displace"),
291     ("ArrayModifier", "constant_offset", "use_constant_offset"),
292     ("ArrayModifier", "merge_adjacent_vertices", "use_merge_vertices"),
293     ("ArrayModifier", "merge_end_vertices", "use_merge_vertices_cap"),
294     ("ArrayModifier", "add_offset_object", "use_object_offset"),
295     ("ArrayModifier", "relative_offset", "use_relative_offset"),
296     ("BevelModifier", "only_vertices", "use_only_vertices"),
297     ("CastModifier", "from_radius", "use_radius_as_size"),
298     ("DisplaceModifier", "midlevel", "mid_level"),
299     ("DisplaceModifier", "texture_coordinates", "texture_coords"),
300     ("EdgeSplitModifier", "use_sharp", "use_edge_sharp"),
301     ("ExplodeModifier", "split_edges", "use_edge_split"),
302     ("MirrorModifier", "merge_limit", "merge_threshold"),
303     ("MirrorModifier", "mirror_u", "use_mirror_u"),
304     ("MirrorModifier", "mirror_v", "use_mirror_v"),
305     ("MirrorModifier", "mirror_vertex_groups", "use_mirror_vertex_groups"),
306     ("ParticleInstanceModifier", "particle_system_number", "particle_system_index"),
307     ("ParticleInstanceModifier", "keep_shape", "use_preserve_shape"),
308     ("ShrinkwrapModifier", "cull_back_faces", "use_cull_back_faces"),
309     ("ShrinkwrapModifier", "cull_front_faces", "use_cull_front_faces"),
310     ("ShrinkwrapModifier", "keep_above_surface", "use_keep_above_surface"),
311     ("SimpleDeformModifier", "lock_x_axis", "lock_x"),
312     ("SimpleDeformModifier", "lock_y_axis", "lock_y"),
313     ("SmokeModifier", "smoke_type", "type"),
314     ("SubsurfModifier", "subsurf_uv", "use_subsurf_uv"),
315     ("UVProjectModifier", "num_projectors", "projector_count"),
316     ("UVProjectModifier", "override_image", "use_image_override"),
317     ("WaveModifier", "texture_coordinates", "texture_coords"),
318     ("WaveModifier", "x_normal", "use_normal_x"),
319     ("WaveModifier", "y_normal", "use_normal_y"),
320     ("WaveModifier", "z_normal", "use_normal_z"),
321     ("NlaStrip", "blending", "blend_type"),
322     ("NlaStrip", "animated_influence", "use_animated_influence"),
323     ("NlaStrip", "animated_time", "use_animated_time"),
324     ("NlaStrip", "animated_time_cyclic", "use_animated_time_cyclic"),
325     ("NlaStrip", "auto_blending", "use_auto_blend"),
326     ("CompositorNodeAlphaOver", "convert_premul", "use_premultiply"),
327     ("CompositorNodeBlur", "sizex", "size_x"),
328     ("CompositorNodeBlur", "sizey", "size_y"),
329     ("CompositorNodeChannelMatte", "algorithm", "limit_method"),
330     ("CompositorNodeChromaMatte", "acceptance", "tolerance"),
331     ("CompositorNodeColorBalance", "correction_formula", "correction_method"),
332     ("CompositorNodeColorSpill", "algorithm", "limit_method"),
333     ("CompositorNodeColorSpill", "unspill", "use_unspill"),
334     ("CompositorNodeCrop", "x2", "max_x"),
335     ("CompositorNodeCrop", "y2", "max_y"),
336     ("CompositorNodeCrop", "x1", "min_x"),
337     ("CompositorNodeCrop", "y1", "min_y"),
338     ("CompositorNodeCrop", "crop_size", "use_crop_size"),
339     ("CompositorNodeDefocus", "max_blur", "blur_max"),
340     ("CompositorNodeDefocus", "gamma_correction", "use_gamma_correction"),
341     ("CompositorNodeGlare", "rotate_45", "use_rotate_45"),
342     ("CompositorNodeImage", "auto_refresh", "use_auto_refresh"),
343     ("CompositorNodeLensdist", "projector", "use_projector"),
344     ("CompositorNodeVecBlur", "max_speed", "speed_max"),
345     ("CompositorNodeVecBlur", "min_speed", "speed_min"),
346     ("ShaderNodeMapping", "maximum", "max"),
347     ("ShaderNodeMapping", "minimum", "min"),
348     ("ShaderNodeMapping", "clamp_maximum", "use_max"),
349     ("ShaderNodeMapping", "clamp_minimum", "use_min"),
350     ("VertexPaint", "all_faces", "use_all_faces"),
351     ("VertexPaint", "spray", "use_spray"),
352     ("ParticleEdit", "add_keys", "default_key_count"),
353     ("ParticleEdit", "selection_mode", "select_mode"),
354     ("ParticleEdit", "auto_velocity", "use_auto_velocity"),
355     ("ParticleEdit", "add_interpolate", "use_default_interpolate"),
356     ("ParticleEdit", "emitter_deflect", "use_emitter_deflect"),
357     ("ParticleEdit", "fade_time", "use_fade_time"),
358     ("ParticleEdit", "keep_lengths", "use_preserve_length"),
359     ("ParticleEdit", "keep_root", "use_preserve_root"),
360     ("ParticleSystem", "vertex_group_clump_negate", "invert_vertex_group_clump"),
361     ("ParticleSystem", "vertex_group_density_negate", "invert_vertex_group_density"),
362     ("ParticleSystem", "vertex_group_field_negate", "invert_vertex_group_field"),
363     ("ParticleSystem", "vertex_group_kink_negate", "invert_vertex_group_kink"),
364     ("ParticleSystem", "vertex_group_length_negate", "invert_vertex_group_length"),
365     ("ParticleSystem", "vertex_group_rotation_negate", "invert_vertex_group_rotation"),
366     ("ParticleSystem", "vertex_group_roughness1_negate", "invert_vertex_group_roughness_1"),
367     ("ParticleSystem", "vertex_group_roughness2_negate", "invert_vertex_group_roughness_2"),
368     ("ParticleSystem", "vertex_group_roughness_end_negate", "invert_vertex_group_roughness_end"),
369     ("ParticleSystem", "vertex_group_size_negate", "invert_vertex_group_size"),
370     ("ParticleSystem", "vertex_group_tangent_negate", "invert_vertex_group_tangent"),
371     ("ParticleSystem", "vertex_group_velocity_negate", "invert_vertex_group_velocity"),
372     ("ParticleSystem", "hair_dynamics", "use_hair_dynamics"),
373     ("ParticleSystem", "keyed_timing", "use_keyed_timing"),
374     ("PointDensity", "falloff_softness", "falloff_soft"),
375     ("PointDensity", "particle_cache", "particle_cache_space"),
376     ("PointDensity", "turbulence_size", "turbulence_scale"),
377     ("PointDensity", "turbulence", "use_turbulence"),
378     ("PointDensity", "vertices_cache", "vertex_cache_space"),
379     ("PoseBone", "ik_lin_weight", "ik_linear_weight"),
380     ("PoseBone", "ik_rot_weight", "ik_rotation_weight"),
381     ("PoseBone", "ik_limit_x", "use_ik_limit_x"),
382     ("PoseBone", "ik_limit_y", "use_ik_limit_y"),
383     ("PoseBone", "ik_limit_z", "use_ik_limit_z"),
384     ("PoseBone", "ik_lin_control", "use_ik_linear_control"),
385     ("PoseBone", "ik_rot_control", "use_ik_rotation_control"),
386     ("SPHFluidSettings", "spring_k", "spring_force"),
387     ("SPHFluidSettings", "stiffness_k", "stiffness"),
388     ("SPHFluidSettings", "stiffness_knear", "stiffness_near"),
389     ("SceneGameData", "framing_color", "frame_color"),
390     ("SceneGameData", "framing_type", "frame_type"),
391     ("SceneGameData", "eye_separation", "stereo_eye_separation"),
392     ("SceneGameData", "activity_culling", "use_activity_culling"),
393     ("SceneGameData", "auto_start", "use_auto_start"),
394     ("SceneGameData", "glsl_extra_textures", "use_glsl_extra_textures"),
395     ("SceneGameData", "glsl_lights", "use_glsl_lights"),
396     ("SceneGameData", "glsl_nodes", "use_glsl_nodes"),
397     ("SceneGameData", "glsl_ramps", "use_glsl_ramps"),
398     ("SceneGameData", "glsl_shaders", "use_glsl_shaders"),
399     ("SceneGameData", "glsl_shadows", "use_glsl_shadows"),
400     ("Sequence", "blend_opacity", "blend_alpha"),
401     ("Sequence", "blend_mode", "blend_type"),
402     ("Sequence", "frame_final_length", "frame_final_duration"),
403     ("Sequence", "use_effect_default_fade", "use_default_fade"),
404     ("SequenceColorBalance", "inverse_gain", "invert_gain"),
405     ("SequenceColorBalance", "inverse_gamma", "invert_gamma"),
406     ("SequenceColorBalance", "inverse_lift", "invert_lift"),
407     ("EffectSequence", "multiply_colors", "color_multiply"),
408     ("EffectSequence", "de_interlace", "use_deinterlace"),
409     ("EffectSequence", "flip_x", "use_flip_x"),
410     ("EffectSequence", "flip_y", "use_flip_y"),
411     ("EffectSequence", "convert_float", "use_float"),
412     ("EffectSequence", "premultiply", "use_premultiply"),
413     ("EffectSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
414     ("EffectSequence", "proxy_custom_file", "use_proxy_custom_file"),
415     ("EffectSequence", "reverse_frames", "use_reverse_frames"),
416     ("GlowSequence", "blur_distance", "blur_radius"),
417     ("GlowSequence", "only_boost", "use_only_boost"),
418     ("SpeedControlSequence", "curve_compress_y", "use_curve_compress_y"),
419     ("SpeedControlSequence", "curve_velocity", "use_curve_velocity"),
420     ("SpeedControlSequence", "frame_blending", "use_frame_blend"),
421     ("TransformSequence", "uniform_scale", "use_uniform_scale"),
422     ("ImageSequence", "animation_end_offset", "animation_offset_end"),
423     ("ImageSequence", "animation_start_offset", "animation_offset_start"),
424     ("ImageSequence", "multiply_colors", "color_multiply"),
425     ("ImageSequence", "de_interlace", "use_deinterlace"),
426     ("ImageSequence", "flip_x", "use_flip_x"),
427     ("ImageSequence", "flip_y", "use_flip_y"),
428     ("ImageSequence", "convert_float", "use_float"),
429     ("ImageSequence", "premultiply", "use_premultiply"),
430     ("ImageSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
431     ("ImageSequence", "proxy_custom_file", "use_proxy_custom_file"),
432     ("ImageSequence", "reverse_frames", "use_reverse_frames"),
433     ("MetaSequence", "animation_end_offset", "animation_offset_end"),
434     ("MetaSequence", "animation_start_offset", "animation_offset_start"),
435     ("MetaSequence", "multiply_colors", "color_multiply"),
436     ("MetaSequence", "de_interlace", "use_deinterlace"),
437     ("MetaSequence", "flip_x", "use_flip_x"),
438     ("MetaSequence", "flip_y", "use_flip_y"),
439     ("MetaSequence", "convert_float", "use_float"),
440     ("MetaSequence", "premultiply", "use_premultiply"),
441     ("MetaSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
442     ("MetaSequence", "proxy_custom_file", "use_proxy_custom_file"),
443     ("MetaSequence", "reverse_frames", "use_reverse_frames"),
444     ("MovieSequence", "animation_end_offset", "animation_offset_end"),
445     ("MovieSequence", "animation_start_offset", "animation_offset_start"),
446     ("MovieSequence", "multiply_colors", "color_multiply"),
447     ("MovieSequence", "de_interlace", "use_deinterlace"),
448     ("MovieSequence", "flip_x", "use_flip_x"),
449     ("MovieSequence", "flip_y", "use_flip_y"),
450     ("MovieSequence", "convert_float", "use_float"),
451     ("MovieSequence", "premultiply", "use_premultiply"),
452     ("MovieSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
453     ("MovieSequence", "proxy_custom_file", "use_proxy_custom_file"),
454     ("MovieSequence", "reverse_frames", "use_reverse_frames"),
455     ("MulticamSequence", "animation_end_offset", "animation_offset_end"),
456     ("MulticamSequence", "animation_start_offset", "animation_offset_start"),
457     ("MulticamSequence", "multiply_colors", "color_multiply"),
458     ("MulticamSequence", "de_interlace", "use_deinterlace"),
459     ("MulticamSequence", "flip_x", "use_flip_x"),
460     ("MulticamSequence", "flip_y", "use_flip_y"),
461     ("MulticamSequence", "convert_float", "use_float"),
462     ("MulticamSequence", "premultiply", "use_premultiply"),
463     ("MulticamSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
464     ("MulticamSequence", "proxy_custom_file", "use_proxy_custom_file"),
465     ("MulticamSequence", "reverse_frames", "use_reverse_frames"),
466     ("SceneSequence", "animation_end_offset", "animation_offset_end"),
467     ("SceneSequence", "animation_start_offset", "animation_offset_start"),
468     ("SceneSequence", "multiply_colors", "color_multiply"),
469     ("SceneSequence", "de_interlace", "use_deinterlace"),
470     ("SceneSequence", "flip_x", "use_flip_x"),
471     ("SceneSequence", "flip_y", "use_flip_y"),
472     ("SceneSequence", "convert_float", "use_float"),
473     ("SceneSequence", "premultiply", "use_premultiply"),
474     ("SceneSequence", "proxy_custom_directory", "use_proxy_custom_directory"),
475     ("SceneSequence", "proxy_custom_file", "use_proxy_custom_file"),
476     ("SceneSequence", "reverse_frames", "use_reverse_frames"),
477     ("SoundSequence", "animation_end_offset", "animation_offset_end"),
478     ("SoundSequence", "animation_start_offset", "animation_offset_start"),
479     ("SmokeDomainSettings", "smoke_domain_colli", "collision_extents"),
480     ("SmokeDomainSettings", "smoke_cache_high_comp", "point_cache_compress_high_type"),
481     ("SmokeDomainSettings", "smoke_cache_comp", "point_cache_compress_type"),
482     ("SmokeDomainSettings", "maxres", "resolution_max"),
483     ("SmokeDomainSettings", "smoothemitter", "smooth_emitter"),
484     ("SmokeDomainSettings", "dissolve_smoke", "use_dissolve_smoke"),
485     ("SmokeDomainSettings", "dissolve_smoke_log", "use_dissolve_smoke_log"),
486     ("SmokeDomainSettings", "highres", "use_high_resolution"),
487     ("SoftBodySettings", "bending", "bend"),
488     ("SoftBodySettings", "error_limit", "error_threshold"),
489     ("SoftBodySettings", "lcom", "location_mass_center"),
490     ("SoftBodySettings", "lrot", "rotation_estimate"),
491     ("SoftBodySettings", "lscale", "scale_estimate"),
492     ("SoftBodySettings", "maxstep", "step_max"),
493     ("SoftBodySettings", "minstep", "step_min"),
494     ("SoftBodySettings", "diagnose", "use_diagnose"),
495     ("SoftBodySettings", "edge_collision", "use_edge_collision"),
496     ("SoftBodySettings", "estimate_matrix", "use_estimate_matrix"),
497     ("SoftBodySettings", "face_collision", "use_face_collision"),
498     ("SoftBodySettings", "self_collision", "use_self_collision"),
499     ("SoftBodySettings", "stiff_quads", "use_stiff_quads"),
500     ("TexMapping", "maximum", "max"),
501     ("TexMapping", "minimum", "min"),
502     ("TexMapping", "has_maximum", "use_max"),
503     ("TexMapping", "has_minimum", "use_min"),
504     ("TextCharacterFormat", "bold", "use_bold"),
505     ("TextCharacterFormat", "italic", "use_italic"),
506     ("TextCharacterFormat", "underline", "use_underline"),
507     ("TextureSlot", "rgb_to_intensity", "use_rgb_to_intensity"),
508     ("TextureSlot", "stencil", "use_stencil"),
509     ("LampTextureSlot", "texture_coordinates", "texture_coords"),
510     ("LampTextureSlot", "map_color", "use_map_color"),
511     ("LampTextureSlot", "map_shadow", "use_map_shadow"),
512     ("MaterialTextureSlot", "coloremission_factor", "color_emission_factor"),
513     ("MaterialTextureSlot", "colordiff_factor", "diffuse_color_factor"),
514     ("MaterialTextureSlot", "x_mapping", "mapping_x"),
515     ("MaterialTextureSlot", "y_mapping", "mapping_y"),
516     ("MaterialTextureSlot", "z_mapping", "mapping_z"),
517     ("MaterialTextureSlot", "colorreflection_factor", "reflection_color_factor"),
518     ("MaterialTextureSlot", "colorspec_factor", "specular_color_factor"),
519     ("MaterialTextureSlot", "texture_coordinates", "texture_coords"),
520     ("MaterialTextureSlot", "colortransmission_factor", "transmission_color_factor"),
521     ("MaterialTextureSlot", "from_dupli", "use_from_dupli"),
522     ("MaterialTextureSlot", "from_original", "use_from_original"),
523     ("MaterialTextureSlot", "map_alpha", "use_map_alpha"),
524     ("MaterialTextureSlot", "map_ambient", "use_map_ambient"),
525     ("MaterialTextureSlot", "map_colordiff", "use_map_color_diffuse"),
526     ("MaterialTextureSlot", "map_coloremission", "use_map_color_emission"),
527     ("MaterialTextureSlot", "map_colorreflection", "use_map_color_reflection"),
528     ("MaterialTextureSlot", "map_colorspec", "use_map_color_spec"),
529     ("MaterialTextureSlot", "map_colortransmission", "use_map_color_transmission"),
530     ("MaterialTextureSlot", "map_density", "use_map_density"),
531     ("MaterialTextureSlot", "map_diffuse", "use_map_diffuse"),
532     ("MaterialTextureSlot", "map_displacement", "use_map_displacement"),
533     ("MaterialTextureSlot", "map_emission", "use_map_emission"),
534     ("MaterialTextureSlot", "map_emit", "use_map_emit"),
535     ("MaterialTextureSlot", "map_hardness", "use_map_hardness"),
536     ("MaterialTextureSlot", "map_mirror", "use_map_mirror"),
537     ("MaterialTextureSlot", "map_normal", "use_map_normal"),
538     ("MaterialTextureSlot", "map_raymir", "use_map_raymir"),
539     ("MaterialTextureSlot", "map_reflection", "use_map_reflect"),
540     ("MaterialTextureSlot", "map_scattering", "use_map_scatter"),
541     ("MaterialTextureSlot", "map_specular", "use_map_specular"),
542     ("MaterialTextureSlot", "map_translucency", "use_map_translucency"),
543     ("MaterialTextureSlot", "map_warp", "use_map_warp"),
544     ("WorldTextureSlot", "texture_coordinates", "texture_coords"),
545     ("WorldTextureSlot", "map_blend", "use_map_blend"),
546     ("WorldTextureSlot", "map_horizon", "use_map_horizon"),
547     ("WorldTextureSlot", "map_zenith_down", "use_map_zenith_down"),
548     ("WorldTextureSlot", "map_zenith_up", "use_map_zenith_up"),
549     ("VoxelData", "still_frame_number", "still_frame"),
550     ("WorldLighting", "ao_blend_mode", "ao_blend_type"),
551     ("WorldLighting", "error_tolerance", "error_threshold"),
552     ("WorldLighting", "use_ambient_occlusion", "use_ambient_occlusian"),
553     ("WorldLighting", "pixel_cache", "use_cache"),
554     ("WorldLighting", "use_environment_lighting", "use_environment_light"),
555     ("WorldLighting", "use_indirect_lighting", "use_indirect_light"),
556     ("WorldStarsSettings", "color_randomization", "color_random"),
557     ("WorldStarsSettings", "min_distance", "distance_min"),
558     ]
559
560
561 import bpy
562
563
564 class UpdateAnimData(bpy.types.Operator):
565     ''''''
566     bl_idname = "anim.update_data_paths"
567     bl_label = "Update Animation Data"
568
569     def execute(self, context):
570         import animsys_refactor
571         reload(animsys_refactor)
572         animsys_refactor.update_data_paths(data_path_update)
573         return {'FINISHED'}
574
575
576 if __name__ == "__main__":
577     bpy.ops.anim.update_data_paths()
578
579 def register():
580     pass