[Bf-blender-cvs] [7bdc67f5f33] blender2.8: Fix broken 'make single user' operator UI.

Bastien Montagne noreply at git.blender.org
Fri Jun 1 10:27:33 CEST 2018


Commit: 7bdc67f5f336584f355b828482e5519a5176386a
Author: Bastien Montagne
Date:   Fri Jun 1 10:26:42 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB7bdc67f5f336584f355b828482e5519a5176386a

Fix broken 'make single user' operator UI.

Texture option was removed, since BI engine removal...

===================================================================

M	release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index e40c8a85a71..542e003c4a9 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -1782,11 +1782,11 @@ class VIEW3D_MT_make_single_user(Menu):
 
         props = layout.operator("object.make_single_user", text="Object")
         props.object = True
-        props.obdata = props.material = props.texture = props.animation = False
+        props.obdata = props.material = props.animation = False
 
         props = layout.operator("object.make_single_user", text="Object & Data")
         props.object = props.obdata = True
-        props.material = props.texture = props.animation = False
+        props.material = props.animation = False
 
         props = layout.operator("object.make_single_user", text="Object & Data & Materials")
         props.object = props.obdata = props.material = True



More information about the Bf-blender-cvs mailing list