Fix some UI script errors after recent keyword changes.

Differential Revision: https://developer.blender.org/D3654
This commit is contained in:
Roel Koster
2018-08-28 18:01:53 +02:00
committed by Brecht Van Lommel
parent 5155c51844
commit 55263c8a4c
4 changed files with 4 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ class EditExternally(Operator):
return {'CANCELLED'}
if sd.type == 'IMAGE_EDITOR':
filepath = image.filepath_from_user(sd.image_user)
filepath = image.filepath_from_user(image_user=sd.image_user)
else:
filepath = image.filepath

View File

@@ -219,7 +219,7 @@ class IMAGE_MT_image(Menu):
layout.operator("image.replace", text="Replace...")
layout.operator("image.reload", text="Reload")
layout.operator("image.external_edit", "Edit Externally")
layout.operator("image.external_edit", text="Edit Externally")
layout.separator()

View File

@@ -182,7 +182,7 @@ def marker_menu_generic(layout):
# layout.operator_context = 'EXEC_REGION_WIN'
layout.column()
layout.operator("marker.add", "Add Marker")
layout.operator("marker.add", text="Add Marker")
layout.operator("marker.duplicate", text="Duplicate Marker")
if len(bpy.data.scenes) > 10:

View File

@@ -638,7 +638,7 @@ class VIEW3D_MT_view_navigation(Menu):
layout = self.layout
layout.operator_enum("view3d.view_orbit", "type")
props = layout.operator("view3d.view_orbit", "Orbit Opposite")
props = layout.operator("view3d.view_orbit", text="Orbit Opposite")
props.type = 'ORBITRIGHT'
props.angle = pi