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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-06 16:13:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-06 16:13:45 +0400
commite17a708dce17c2d85cfecb1330278a47b4d1be19 (patch)
treeb9aaf1010126c83989ba020cf2280460a0fdaa3f /source/blender/blenkernel
parent1755dc74773cfeee5ca190410b9cc6393c093009 (diff)
add back pose specials menu, also add back the ability to clear user transforms on all bones (not just selected - mango request - was possible in 2.4x).
- rename only_select op property to only_selected (both were used). - only do mingw workaround when building with FREE_WINDOWS defined.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/library.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index 20444045c1c..bdd314f52f5 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -945,7 +945,8 @@ void free_main(Main *mainvar)
ID *BKE_libblock_find_name(const short type, const char *name) /* type: "OB" or "MA" etc */
{
- ListBase *lb= which_libbase(G.main, type);
+ ListBase *lb = which_libbase(G.main, type);
+ BLI_assert(lb != NULL);
return BLI_findstring(lb, name, offsetof(ID, name) + 2);
}