Go to file
Bastien Montagne 00166ff62e Better fix for T47787 - remove extra user due to 'user_one' as soon as we increase 'real' user count.
This has several benefits:
* User count remains coherent, regardless of the order in which you use 'user_one' & real refcounting users
  (i.e. if you add to group, and then link in scene, or the reverse, you now always get same final user count).
* Avoids the need to check for potential 'user_one' extra user in count in several places in code (e.g. when
  making IDs single users...).
* Users won't wonder why they cannot make 'single user' and ID even though its user count shows '2'!
* readfile.c now always uses code from BKE's library.c when modifying id->us. Which means we can consider
  (asside from assignment during initialization) that id->us is read-only outside of library.c context.

Note that this commit reverts previous one (rB6b1d77a8052b) - please **do not** backport this one in 2.77.
2016-03-14 15:05:52 +01:00
build_files CMake: Avoid call of find_package(Git) for every compile with buildinfo enabled 2016-03-11 14:46:18 +05:00
doc Python docs: minor cleanup and adding missing parenthesis to a code sample 2016-03-05 19:46:01 +00:00
extern Attempt to fix GLog compilaton on FreeBSD 2016-02-21 13:40:22 +01:00
intern Cleanup: warning 2016-03-13 15:15:38 +11:00
release Default Keyframe Type: Some UI tweaks 2016-03-14 01:04:39 +13:00
source Better fix for T47787 - remove extra user due to 'user_one' as soon as we increase 'real' user count. 2016-03-14 15:05:52 +01:00
tests Tests: improve RNA default reporting 2016-02-29 11:55:44 +11:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Git ignore BUILD_NOTES.txt from install_deps.sh. 2015-11-23 20:17:02 +01:00
.gitmodules Remove SCons building system 2016-01-04 14:20:48 +05:00
CMakeLists.txt CMake: use CXX for C++ in var name 2016-03-13 15:03:04 +11:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Minor edits to sync make.bat & makefile 2016-01-04 20:42:00 +11:00
make.bat Fix make.bat checking 64bit systems 2016-02-10 00:26:12 +11:00