[Bf-blender-cvs] [481e13a2dd0] master: Image space, view menu: Fix access uninitialized variable

Sergey Sharybin noreply at git.blender.org
Thu May 23 11:41:16 CEST 2019


Commit: 481e13a2dd05cef48815f97665474e2585d7de32
Author: Sergey Sharybin
Date:   Thu May 23 11:40:15 2019 +0200
Branches: master
https://developer.blender.org/rB481e13a2dd05cef48815f97665474e2585d7de32

Image space, view menu: Fix access uninitialized variable

Seems to be a copy-paste mistake in 7a2b203, causing menu to be
almost empty.

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

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 62d7240a188..88350920772 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -81,7 +81,7 @@ class IMAGE_MT_view(Menu):
 
         layout.prop(sima, "show_region_toolbar")
         layout.prop(sima, "show_region_ui")
-        layout.prop(view, "show_region_tool_header")
+        layout.prop(sima, "show_region_tool_header")
         layout.prop(sima, "show_region_hud")
 
         layout.separator()



More information about the Bf-blender-cvs mailing list