UI: rename Grease Pencil panels in toolbar to Annotation.

To match the panels in the N key sidebar.
This commit is contained in:
Brecht Van Lommel
2018-08-22 16:59:04 +02:00
parent 7fa77cd31d
commit 1de3ae7e42
7 changed files with 20 additions and 21 deletions

View File

@@ -23,8 +23,8 @@ from bpy.types import Header, Menu, Panel
from bpy.app.translations import pgettext_iface as iface_
from bl_operators.presets import PresetMenu
from .properties_grease_pencil_common import (
GreasePencilDrawingToolsPanel,
GreasePencilDataPanel,
AnnotationDrawingToolsPanel,
AnnotationDataPanel,
GreasePencilToolsPanel,
)
@@ -521,7 +521,7 @@ class NODE_UL_interface_sockets(bpy.types.UIList):
# Grease Pencil properties
class NODE_PT_grease_pencil(GreasePencilDataPanel, Panel):
class NODE_PT_grease_pencil(AnnotationDataPanel, Panel):
bl_space_type = 'NODE_EDITOR'
bl_region_type = 'UI'
bl_options = {'DEFAULT_CLOSED'}
@@ -548,7 +548,7 @@ class NODE_PT_grease_pencil_tools(GreasePencilToolsPanel, Panel):
# Grease Pencil drawing tools
class NODE_PT_tools_grease_pencil_draw(GreasePencilDrawingToolsPanel, Panel):
class NODE_PT_tools_grease_pencil_draw(AnnotationDrawingToolsPanel, Panel):
bl_space_type = 'NODE_EDITOR'
bl_region_type = 'TOOLS'