more rna renaming for non-animated properties: mainly Texface, Particle & Pointcache changes.
Changed some names when applying. - render was use_render, changed to show_viewport so call it show_render - texface shadow was use_shadow_face, changed to use_shadow_cast since this only affects casting. - transp was alpha_mode, changed to blend_type since its similar to other overlay blending where this property name is used.
This commit is contained in:
@@ -36,9 +36,9 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
|
||||
|
||||
row = layout.row()
|
||||
if cachetype in ('PSYS', 'HAIR', 'SMOKE'):
|
||||
row.prop(cache, "external")
|
||||
row.prop(cache, "use_external")
|
||||
|
||||
if cache.external:
|
||||
if cache.use_external:
|
||||
split = layout.split(percentage=0.80)
|
||||
split.prop(cache, "name", text="File Name")
|
||||
split.prop(cache, "index", text="")
|
||||
@@ -61,18 +61,18 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
|
||||
col.prop(cache, "frame_start")
|
||||
col.prop(cache, "frame_end")
|
||||
if cachetype != 'SMOKE':
|
||||
col.prop(cache, "step")
|
||||
col.prop(cache, "frame_step")
|
||||
|
||||
col = split.column()
|
||||
|
||||
if cachetype != 'SMOKE':
|
||||
sub = col.column()
|
||||
sub.enabled = enabled
|
||||
sub.prop(cache, "quick_cache")
|
||||
sub.prop(cache, "use_quick_cache")
|
||||
|
||||
sub = col.column()
|
||||
sub.enabled = (not bpy.data.is_dirty)
|
||||
sub.prop(cache, "disk_cache")
|
||||
sub.prop(cache, "use_disk_cache")
|
||||
col.label(text=cache.info)
|
||||
|
||||
sub = col.column()
|
||||
@@ -127,7 +127,7 @@ def effector_weights_ui(self, context, weights):
|
||||
col.prop(weights, "vortex", slider=True)
|
||||
col.prop(weights, "magnetic", slider=True)
|
||||
col.prop(weights, "wind", slider=True)
|
||||
col.prop(weights, "curveguide", slider=True)
|
||||
col.prop(weights, "curve_guide", slider=True)
|
||||
col.prop(weights, "texture", slider=True)
|
||||
|
||||
col = split.column()
|
||||
|
||||
Reference in New Issue
Block a user