Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2323 / 5574

July 14, 2016, 16:33 (GMT)
Cleanup/refactor: handle shapekeys exactly like 'owned' nodetrees in make_local process.
July 14, 2016, 16:33 (GMT)
Cleanup: use BKE's ntreeFromID in readfile instead of local same function.

Also, no need to set ntree->id.lib to NULL after BKE_libblock_copy_nolib(),
generic datablock copy function always make copy local.
July 14, 2016, 16:33 (GMT)
Fix bad handling of datablock's nodetree id_clear_lib_data_ex().

Those data blocks are never shared, exactly as with shapekeys, much simpler
to also clear their lib_data (especially since they have no user!).
July 14, 2016, 16:33 (GMT)
Get rid of BKE_key_make_local().

This function was only a wrapper around id_clear_lib_data(), and shapekeys
are not linkable nor shareable anyway, no point keeping this currently,
was only adding confusion about shapekey 'status' as a datatblock.
July 14, 2016, 16:33 (GMT)
Add option to id_make_local to force localization of datablock, even if not used locally.

Will be used by link/append code.
July 14, 2016, 16:30 (GMT)
Fix T48843: Sequencer crash with many effects

Switch from a fixed stack to a linked list,
since guessing the maximum possible size may fail with invalid/overlapping strips.
July 14, 2016, 15:28 (GMT)
Add developer tools submodule

This is intended for utilities to help with development,
which aren't needed for building.

See https://wiki.blender.org/index.php/Dev:Doc/Tools/Blender_Tools_Repo for details
July 14, 2016, 15:26 (GMT)
Cleanup: line length
July 14, 2016, 14:06 (GMT)
PyAPI: minor cleanup with library linking
July 14, 2016, 12:17 (GMT)
Consolidate multiple checks for out->rect_float in prepare_effect_imbufs()

Many checks for out->rect_float being [non-]NULL are done back-to-back.
Combining them into a single check for slightly more efficient code and
less code clutter for easier readability/understanding.

Differential Revision: https://developer.blender.org/D2097
Revision 3a5eff9 by Julian Eisel
July 14, 2016, 12:00 (GMT)
Cleanup: Use BKE_scene_base_add for creating bases

And use __func__ macro.
July 14, 2016, 10:49 (GMT)
Cycles: Give better idea which OpenCL kernel is currently compiling
July 14, 2016, 10:46 (GMT)
Cycles: Avoid strings passed by value in OpenCL device

Also use more const qualifiers in the code.
July 14, 2016, 10:14 (GMT)
Make --debug-all include --debug-cycles and --debug-libmv
July 14, 2016, 09:49 (GMT)
Libmv: Fix some strict compiler warnings

One of them was a real bug!
July 14, 2016, 09:26 (GMT)
Cycles: Fix wrong size of sobol texture

After reformulation of SSS indirect rays it became possible to
try accessing dimension higher than was pre-calculated on scene
preparation.

This is because we're traversing rays backwards, which means we
are using higher dimensions first now.
July 14, 2016, 09:26 (GMT)
Cycles: Fix wrong termination criteria in intersect_all functions

It was possible to miss bounces termination criteria in this functions,
mainly when max_hits was set to 0.

Made the check more robust in traversal functions (which should not
affect performance, it's an operation of same complexity AFAIK).

Also avoid doing ray-scene intersection from shadow_blocked when
limit of transparent bounces was already reached.
July 14, 2016, 09:17 (GMT)
CMake: per-target CFLAG & CXXFLAG support

Applying cflags globally can be problematic especially with extern, intern libs.

Now flags from target named will be used when defined,
allowing for developers to define flags for modules they maintain.

Convention is CMAKE_CFLAGS_${UPPERCASE_TARGET_NAME}, (CXXFLAGS for C++).

eg: CMAKE_CFLAGS_BF_BLENDER, CMAKE_CFLAGS_MAKESDNA, CMAKE_CXXFLAGS_CYCLES_KERNEL

On Linux run `make help` for full list of names, MSVC shows these in the solution.
July 14, 2016, 08:31 (GMT)
PyAPI: Leak fix caused crash w/ attr swap trick

Accessing `bpy.app.binary_path_python does search, then swaps its getset with the string it finds.
This caused a freed pointer to be stored in bpy.app's dictionary.

Fix by using the same string for get/set access.
July 14, 2016, 07:38 (GMT)
PyAPI: fix leak linking library data
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021