svn merge ^/trunk/blender -r41230:41266
This commit is contained in:
@@ -110,7 +110,7 @@ def register():
|
||||
WindowManager.addon_filter = EnumProperty(
|
||||
items=addon_filter_items,
|
||||
name="Category",
|
||||
description="Filter add-ons by category",
|
||||
description="Filter addons by category",
|
||||
)
|
||||
|
||||
WindowManager.addon_support = EnumProperty(
|
||||
|
||||
@@ -145,7 +145,7 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel):
|
||||
#row.label(text="Render")
|
||||
|
||||
if part.is_fluid:
|
||||
layout.label(text=str(part.count) + " fluid particles for this frame")
|
||||
layout.label(text="{} fluid particles for this frame".format(str(part.count)))
|
||||
return
|
||||
|
||||
row = col.row()
|
||||
@@ -504,7 +504,7 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, Panel):
|
||||
col.label(text="Fluid properties:")
|
||||
col.prop(fluid, "stiffness", text="Stiffness")
|
||||
col.prop(fluid, "linear_viscosity", text="Viscosity")
|
||||
col.prop(fluid, "buoyancy", text="Buoancy", slider=True)
|
||||
col.prop(fluid, "buoyancy", text="Buoyancy", slider=True)
|
||||
|
||||
col = split.column()
|
||||
col.label(text="Advanced:")
|
||||
@@ -1162,7 +1162,7 @@ class PARTICLE_PT_force_fields(ParticleButtonsPanel, Panel):
|
||||
|
||||
|
||||
class PARTICLE_PT_vertexgroups(ParticleButtonsPanel, Panel):
|
||||
bl_label = "Vertexgroups"
|
||||
bl_label = "Vertex Groups"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER'}
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ class PHYSICS_PT_domain_gravity(PhysicButtonsPanel, Panel):
|
||||
|
||||
col = split.column()
|
||||
if scene.use_gravity:
|
||||
col.label(text="Using Scene Gravity", icon="SCENE_DATA")
|
||||
col.label(text="Use Scene Gravity", icon="SCENE_DATA")
|
||||
sub = col.column()
|
||||
sub.enabled = False
|
||||
sub.prop(fluid, "gravity", text="")
|
||||
@@ -215,7 +215,7 @@ class PHYSICS_PT_domain_gravity(PhysicButtonsPanel, Panel):
|
||||
col.prop(fluid, "gravity", text="")
|
||||
|
||||
if scene.unit_settings.system != 'NONE':
|
||||
col.label(text="Using Scene Size Units", icon="SCENE_DATA")
|
||||
col.label(text="Use Scene Size Units", icon="SCENE_DATA")
|
||||
sub = col.column()
|
||||
sub.enabled = False
|
||||
sub.prop(fluid, "simulation_scale", text="Metres")
|
||||
|
||||
@@ -762,7 +762,7 @@ class USERPREF_MT_ndof_settings(Menu):
|
||||
layout.prop(input_prefs, "ndof_show_guide")
|
||||
|
||||
layout.separator()
|
||||
layout.label(text="orbit options")
|
||||
layout.label(text="Orbit options")
|
||||
if input_prefs.view_rotate_method == 'TRACKBALL':
|
||||
layout.prop(input_prefs, "ndof_roll_invert_axis")
|
||||
layout.prop(input_prefs, "ndof_tilt_invert_axis")
|
||||
@@ -771,13 +771,13 @@ class USERPREF_MT_ndof_settings(Menu):
|
||||
layout.prop(input_prefs, "ndof_orbit_invert_axes")
|
||||
|
||||
layout.separator()
|
||||
layout.label(text="pan options")
|
||||
layout.label(text="Pan options")
|
||||
layout.prop(input_prefs, "ndof_panx_invert_axis")
|
||||
layout.prop(input_prefs, "ndof_pany_invert_axis")
|
||||
layout.prop(input_prefs, "ndof_panz_invert_axis")
|
||||
|
||||
layout.separator()
|
||||
layout.label(text="fly options")
|
||||
layout.label(text="Fly options")
|
||||
layout.prop(input_prefs, "ndof_fly_helicopter", icon='NDOF_FLY')
|
||||
layout.prop(input_prefs, "ndof_lock_horizon", icon='NDOF_DOM')
|
||||
|
||||
@@ -966,7 +966,7 @@ class USERPREF_PT_addons(Panel):
|
||||
if info["support"] not in support:
|
||||
continue
|
||||
|
||||
# check if add-on should be visible with current filters
|
||||
# check if addon should be visible with current filters
|
||||
if (filter == "All") or \
|
||||
(filter == info["category"]) or \
|
||||
(filter == "Enabled" and is_enabled) or \
|
||||
|
||||
Reference in New Issue
Block a user