Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-07-02 21:04:49 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-07-02 21:04:56 +0300
commit33f36b453a0aecc5b7084738f123c366aa480098 (patch)
tree1c231fd029f78013585fdb9d7b4140f251638580 /source/blender/editors/space_outliner
parentc5ec8d91bd125f8ed1d0a964e36e601da993f5d2 (diff)
GPencil: Cleanup - More rename from gp_ to gpencil_
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index d04402f989c..c0632de1cd7 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -1047,10 +1047,10 @@ static void sequence_cb(int event, TreeElement *te, TreeStoreElem *tselem, void
(void)tselem;
}
-static void gp_layer_cb(int event,
- TreeElement *te,
- TreeStoreElem *UNUSED(tselem),
- void *UNUSED(arg))
+static void gpencil_layer_cb(int event,
+ TreeElement *te,
+ TreeStoreElem *UNUSED(tselem),
+ void *UNUSED(arg))
{
bGPDlayer *gpl = (bGPDlayer *)te->directdata;
@@ -2320,7 +2320,7 @@ static int outliner_data_operation_exec(bContext *C, wmOperator *op)
break;
}
case TSE_GP_LAYER: {
- outliner_do_data_operation(soops, datalevel, event, &soops->tree, gp_layer_cb, NULL);
+ outliner_do_data_operation(soops, datalevel, event, &soops->tree, gpencil_layer_cb, NULL);
WM_event_add_notifier(C, NC_GPENCIL | ND_DATA, NULL);
ED_undo_push(C, "Grease Pencil Layer operation");