[Bf-blender-cvs] [37d88fdb868] blender2.8: GP: Remove old annotation panel from Image editor

Antonioya noreply at git.blender.org
Thu Sep 27 18:03:22 CEST 2018


Commit: 37d88fdb8681afab6ff347b91df232d179ab7885
Author: Antonioya
Date:   Thu Sep 27 18:03:13 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB37d88fdb8681afab6ff347b91df232d179ab7885

GP: Remove old annotation panel from Image editor

This has been replaced with tools.

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

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 50b9585b06a..db030beef36 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -33,7 +33,6 @@ from .properties_paint_common import (
     brush_mask_texture_settings,
 )
 from .properties_grease_pencil_common import (
-    AnnotationDrawingToolsPanel,
     AnnotationDataPanel,
 )
 from bpy.app.translations import pgettext_iface as iface_
@@ -1477,11 +1476,6 @@ class IMAGE_PT_grease_pencil(AnnotationDataPanel, Panel):
 # Grease Pencil drawing tools.
 
 
-class IMAGE_PT_tools_grease_pencil_draw(AnnotationDrawingToolsPanel, Panel):
-    bl_space_type = 'IMAGE_EDITOR'
-    bl_region_type = 'TOOLS'
-
-
 classes = (
     IMAGE_MT_view,
     IMAGE_MT_view_zoom,
@@ -1538,7 +1532,6 @@ classes = (
     IMAGE_PT_sample_line,
     IMAGE_PT_scope_sample,
     IMAGE_PT_grease_pencil,
-    IMAGE_PT_tools_grease_pencil_draw,
 )



More information about the Bf-blender-cvs mailing list