Skip to content
Permalink
Browse files

Port to 2.78 - 0.3.0 changes - Fixed scene is not defined warning wit…

…h the Add Metaball panel in Edit mode.

Issue: http://www.bforartists.de/wiki/bforartistsreleasenotev030
  • Loading branch information...
ReinerBforartists committed Jan 27, 2017
1 parent b0eccf3 commit 20c9cf1916d1e2c90275f90eace2b7fe361267fc
Showing with 3 additions and 3 deletions.
  1. +3 −3 release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1029,7 +1029,7 @@ class VIEW3D_PT_tools_add_curve_edit(View3DPanel, Panel):

def draw(self, context):
layout = self.layout

scene = context.scene # Our data for the icon_or_text flag is in the current scene
col = layout.column(align=True)

# bfa - icon or text buttons
@@ -1142,7 +1142,7 @@ class VIEW3D_PT_tools_add_surface_edit(View3DPanel, Panel):

def draw(self, context):
layout = self.layout

scene = context.scene # Our data for the icon_or_text flag is in the current scene
col = layout.column(align=True)

# bfa - icon or text buttons
@@ -1254,7 +1254,7 @@ class VIEW3D_PT_tools_add_mball_edit(View3DPanel, Panel):

def draw(self, context):
layout = self.layout

scene = context.scene # Our data is in the current scene
col = layout.column(align=True)

# bfa - icon or text buttons

0 comments on commit 20c9cf1

Please sign in to comment.
You can’t perform that action at this time.