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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-06-15 18:42:17 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-06-15 18:42:17 +0300
commitd645b1a78a752950d061a4ccb125721acade5544 (patch)
tree5e90f8280c63e1e8621644ce86ae77ef94e95a31 /source/blender/blenlib/intern/callbacks.c
parent49915e3241839045f8e688edab1ce314edc465f4 (diff)
Cleanup: some more G.main removal.
We are really starting to scratch the last bits here...
Diffstat (limited to 'source/blender/blenlib/intern/callbacks.c')
-rw-r--r--source/blender/blenlib/intern/callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/callbacks.c b/source/blender/blenlib/intern/callbacks.c
index 191be49263c..766e3f38f00 100644
--- a/source/blender/blenlib/intern/callbacks.c
+++ b/source/blender/blenlib/intern/callbacks.c
@@ -32,13 +32,13 @@
static ListBase callback_slots[BLI_CB_EVT_TOT] = {{NULL}};
-void BLI_callback_exec(struct Main *main, struct ID *self, eCbEvent evt)
+void BLI_callback_exec(struct Main *bmain, struct ID *self, eCbEvent evt)
{
ListBase *lb = &callback_slots[evt];
bCallbackFuncStore *funcstore;
for (funcstore = lb->first; funcstore; funcstore = funcstore->next) {
- funcstore->func(main, self, funcstore->arg);
+ funcstore->func(bmain, self, funcstore->arg);
}
}