Merged changes in the trunk up to revision 52815.
This commit is contained in:
@@ -1049,6 +1049,8 @@ class WM_OT_properties_edit(Operator):
|
||||
|
||||
try:
|
||||
value_eval = eval(value)
|
||||
# assert else None -> None, not "None", see [#33431]
|
||||
assert(type(value_eval) in {str, float, int, bool, tuple, list})
|
||||
except:
|
||||
value_eval = value
|
||||
|
||||
|
||||
@@ -414,7 +414,9 @@ class IMAGE_HT_header(Header):
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(toolsettings, "use_snap", text="")
|
||||
row.prop(toolsettings, "snap_target", text="")
|
||||
row.prop(toolsettings, "snap_uv_element", text="", icon_only=True)
|
||||
if toolsettings.snap_uv_element != 'INCREMENT':
|
||||
row.prop(toolsettings, "snap_target", text="")
|
||||
|
||||
mesh = context.edit_object.data
|
||||
layout.prop_search(mesh.uv_textures, "active", mesh, "uv_textures", text="")
|
||||
|
||||
@@ -437,6 +437,7 @@ class USERPREF_PT_system(Panel):
|
||||
col.label(text="OpenGL:")
|
||||
col.prop(system, "gl_clip_alpha", slider=True)
|
||||
col.prop(system, "use_mipmaps")
|
||||
col.prop(system, "use_gpu_mipmap")
|
||||
col.prop(system, "use_16bit_textures")
|
||||
col.label(text="Anisotropic Filtering")
|
||||
col.prop(system, "anisotropic_filter", text="")
|
||||
|
||||
Reference in New Issue
Block a user