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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-07-01 12:53:45 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-07-01 12:53:45 +0400
commit61d37cd47c89d57909df4025b85db39685ad220e (patch)
treedd16c21042762e98cea128097fd66add71fb3d5b /release
parent0baec4cf2dcaf2b07d9a0b00ccd7bf8288e0347e (diff)
Fix for Make Local -> All not working correct with multy-user datablocks
Make Local operator uses BKE_library_make_local function if all the datablocks needs to be made local. And this function was calling id_clear_lib_data for every datablock, which only clears library data. But this function doesn't work correct for datablocks which areshared by multiple users (this is also mentioned in comment for this function). This lead to situations when two datablocks shares the same runtime data leading to crashes later. For example making everythig local in scales cycles scene from durian ends up in a crash when toggling rig edit mode. Solved by using id_make_local instead of id_clear_lib_data, which will ensure all the data are nicely expanded and made local. Checked by Brecht, thanks fr the review!
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions