rename UI function
layout.prop_object() --> prop_search(). The internal name is uiItemPointerR, in python this can translate into into an Object, however this is misleading. It can be confused with a blender Object and uiItemPointerR can also be used for strings.
This commit is contained in:
@@ -316,7 +316,7 @@ class IMAGE_HT_header(bpy.types.Header):
|
||||
row.prop(toolsettings, "snap_element", text="", icon_only=True)
|
||||
|
||||
# mesh = context.edit_object.data
|
||||
# row.prop_object(mesh, "active_uv_layer", mesh, "uv_textures")
|
||||
# row.prop_search(mesh, "active_uv_layer", mesh, "uv_textures")
|
||||
|
||||
if ima:
|
||||
# layers
|
||||
|
||||
Reference in New Issue
Block a user