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>2011-06-04 06:23:17 +0400
committerJoshua Leung <aligorith@gmail.com>2011-06-04 06:23:17 +0400
commite27fe1c0493fcc06a835cb4d29628d6565d1c31b (patch)
tree16655b3c6be84dcdf4e65b13d758e6bc218f8131 /source/blender/blenkernel/intern/action.c
parent56e20eafe90ba6082acad9f84da3a1dc69c987a0 (diff)
Actions are no longer created with Fake Users
Due to overwhelming support from animators, Actions are no longer created with fake users by default. If you're mainly creating action libraries (the primary use case and argument for having this, mostly used for creating a set of motions for games or perhaps to use in NLA), you're really in the minority here. For the most part, fake users just lead to heaps of "dangling" actions in files which newbies (and even experienced users) may often be unaware of. Since Fake Users are really more of an "opt-in" system everywhere else (i.e. when creating Material Libraries), the same should applied for Actions and creating Action Libraries.
Diffstat (limited to 'source/blender/blenkernel/intern/action.c')
-rw-r--r--source/blender/blenkernel/intern/action.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c
index 77f56058a4f..21d9701004b 100644
--- a/source/blender/blenkernel/intern/action.c
+++ b/source/blender/blenkernel/intern/action.c
@@ -85,8 +85,6 @@ bAction *add_empty_action(const char name[])
bAction *act;
act= alloc_libblock(&G.main->action, ID_AC, name);
- act->id.flag |= LIB_FAKEUSER; // XXX this is nasty for new users... maybe we don't want this anymore
- act->id.us++;
return act;
}
@@ -200,9 +198,6 @@ bAction *copy_action (bAction *src)
}
}
- dst->id.flag |= LIB_FAKEUSER; // XXX this is nasty for new users... maybe we don't want this anymore
- dst->id.us++;
-
return dst;
}