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:
authorJoshua Leung <aligorith@gmail.com>2018-01-03 02:58:19 +0300
committerJoshua Leung <aligorith@gmail.com>2018-01-03 02:59:10 +0300
commitb3c4e30a7c3587ceed5854cc2f6e343c391abfb1 (patch)
treec3753f3452725fd2c1a35c4a65d68deb9a06aca0 /source/blender/editors/space_outliner/outliner_tree.c
parent07de8eff774dbb312039133d38b28ade5ab8093d (diff)
Fix: MSVC2013 compile problems with the "inline" keyword
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tree.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index 4842b3cf789..22ce112f466 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -1474,7 +1474,7 @@ static bool outliner_scene_collections_reorder_poll(
return true;
}
-static void inline outliner_add_scene_collection_init(TreeElement *te, SceneCollection *collection)
+BLI_INLINE void outliner_add_scene_collection_init(TreeElement *te, SceneCollection *collection)
{
te->name = collection->name;
te->directdata = collection;
@@ -1482,7 +1482,7 @@ static void inline outliner_add_scene_collection_init(TreeElement *te, SceneColl
te->reinsert_poll = outliner_scene_collections_reorder_poll;
}
-static void inline outliner_add_scene_collection_objects(
+BLI_INLINE void outliner_add_scene_collection_objects(
SpaceOops *soops, ListBase *tree, SceneCollection *collection, TreeElement *parent)
{
for (LinkData *link = collection->objects.first; link; link = link->next) {