[Bf-blender-cvs] [8add03c3b93] master: UI: correct typo

Campbell Barton noreply at git.blender.org
Mon Mar 11 22:21:41 CET 2019


Commit: 8add03c3b939bbe93249675cdaf9945c8dca3331
Author: Campbell Barton
Date:   Tue Mar 12 08:08:48 2019 +1100
Branches: master
https://developer.blender.org/rB8add03c3b939bbe93249675cdaf9945c8dca3331

UI: correct typo

Also odd parenthesis.

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 856d3254217..8ce20b9ea3d 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -1284,13 +1284,13 @@ class IMAGE_PT_uv_cursor(Panel):
     bl_space_type = 'IMAGE_EDITOR'
     bl_region_type = 'UI'
     bl_category = "Image"
-    bl_label = "3D Cursor"
+    bl_label = "2D Cursor"
 
     @classmethod
     def poll(cls, context):
         sima = context.space_data
 
-        return (sima and (sima.show_uvedit) or (sima.show_maskedit))
+        return (sima and (sima.show_uvedit or sima.show_maskedit))
 
     def draw(self, context):
         layout = self.layout



More information about the Bf-blender-cvs mailing list