[Bf-blender-cvs] [f834845de0a] greasepencil-object: Fix: Properties Editor was still showing the datablock selector for the old Object.grease_pencil
Joshua Leung
noreply at git.blender.org
Sat Nov 4 05:47:36 CET 2017
Commit: f834845de0a415bd2c922559861f99cf0efb9915
Author: Joshua Leung
Date: Sun Oct 29 17:11:05 2017 +1300
Branches: greasepencil-object
https://developer.blender.org/rBf834845de0a415bd2c922559861f99cf0efb9915
Fix: Properties Editor was still showing the datablock selector for the old Object.grease_pencil
===================================================================
M release/scripts/startup/bl_ui/properties_data_gpencil.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index a794009d62f..a4b68c85ca3 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -50,7 +50,7 @@ class DATA_PT_gpencil(DataButtonsPanel, Panel):
gpd_owner = context.gpencil_data_owner
gpd = context.gpencil_data
- layout.template_ID(gpd_owner, "grease_pencil", new="gpencil.data_add", unlink="gpencil.data_unlink")
+ layout.template_ID(gpd_owner, "data", new="gpencil.data_add", unlink="gpencil.data_unlink")
class DATA_PT_gpencil_datapanel(GreasePencilDataPanel, Panel):
More information about the Bf-blender-cvs
mailing list