Blender Git Commits

Blender Git "master" branch commits.

Page: 919 / 5574

February 5, 2020, 15:28 (GMT)
Fix T70121 EEVEE/GPencil: Curves cause crash when using background rendering

This was caused by a faulty initialization of cache->surf_per_mat which
should have been empty.
Revision b841167 by Bastien Montagne
February 5, 2020, 15:18 (GMT)
Refactor readfile's liblink code.

Liblink specific ID type function was so far running a loop over all IDs
of relevant type, unlike almost any other 'ID-callback-like' functions
in Blender, which usually let the looping controll to calling code.

The latter approach is more convinient when one want to add generic
(i.e. type-agnostic) code, since it typically only has to change code in
one place (caller function) instead of tens of places (all the callback
functions).

This commit also changes/sanitizes a few things that had nothing to do
in main liblink code, like mesh conversion from tessfaces to polys
(which can be done in after-linking versionning code), or scenes' cycles
detection/check regarding background 'set' scenes.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6727
February 5, 2020, 14:56 (GMT)
Cleanup: Remove unused function: give_node_material()

February 5, 2020, 14:56 (GMT)
T73589: Code Quality: Renaming on BKE_material.h

Old Name New Name
========= =========
init_def_material BKE_materials_init
BKE_material_gpencil_default_free BKE_materials_exit
test_object_materials BKE_object_materials_test
test_all_objects_materials BKE_objects_materials_test_all
give_matarar BKE_object_material_array
give_totcolp BKE_object_material_num
give_current_material_p BKE_object_material_get_p
give_current_material BKE_object_material_get
assign_material BKE_object_material_assign
assign_matarar BKE_object_material_array_assign
give_matarar_id BKE_id_material_array
give_totcolp_id BKE_id_material_num
assign_material_id BKE_id_material_assign
clear_matcopybuf BKE_material_copybuf_clear
free_matcopybuf BKE_material_copybuf_free
copy_matcopybuf BKE_material_copybuf_copy
paste_matcopybuf BKE_material_copybuf_paste
BKE_material_init_gpencil_settings BKE_gpencil_material_attr_init
BKE_material_add_gpencil BKE_gpencil_material_add
BKE_material_gpencil_get BKE_gpencil_material
BKE_material_gpencil_default_get BKE_gpencil_material_default
BKE_material_gpencil_settings_get BKE_gpencil_material_settings
February 5, 2020, 14:51 (GMT)
Readfile: Proper fix for `recalc` flags clearing in non-real IDs

In current `readfile.c` code we have that:

https://developer.blender.org/diffusion/B/browse/master/source/blender/blenloader/intern/readfile.c$3523

This is unconditionally clearing nodetree's recalc flags, and was added by rB81a762e79f83 ages ago. Thing is, in main ID read code we only clear that flag when **not** in undo context.

This proposed change intends to properly handle those cases, by moving `id.recalc` flags clearing from `read_libblock()` to `direct_link_id()`, which is also called for all 'local' IDs (ntrees and master collections currently).

I?d expect that change to be straightforward (and maybe even fixing some odd undocumented bugs), however there is no .blend file testcases associated with changes in rB81a762e79f83, so wouldn?t mind that to be double checked before it goes to master.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6711
February 5, 2020, 14:49 (GMT)
Fix T56892: Crash on Collada .dae import

In this case the ERROR_REQUIRED_ATTRIBUTE_MISSING seem to be fatal so
stop the import to avoid crashing if we run into this error.
February 5, 2020, 14:33 (GMT)
Merge branch 'blender-v2.82-release'
February 5, 2020, 14:30 (GMT)
Fix finding freetype on Linux not using pre-compiled libs

Finding X11 before platform libs caused freetype not to use
pre-compiled libraries.
February 5, 2020, 14:24 (GMT)
Merge branch 'blender-v2.82-release'
February 5, 2020, 14:23 (GMT)
CMake: remove non-standard package search paths

Reduce the number of possible locations used to find libraries,
to simplify troubleshooting.

Only keep '*_ROOT_DIR' and the path used by 'install_deps.sh'.
February 5, 2020, 10:08 (GMT)
Merge branch 'blender-v2.82-release'
February 5, 2020, 10:08 (GMT)
Fix T73580: Gpencil crash when try to draw without eraser brush available
February 4, 2020, 23:04 (GMT)
Fix T67641 Gizmo3D: Transform gizmo disappear in very close view

This was caused but a workaround for not selecting the gizmos in camera
view. We lower the threshold to make it work on maximum zoom level.
February 4, 2020, 20:36 (GMT)
Fluid: Improved baking progress bar UI

The baking progress bar now uses the entire notification space in the UI. Before, old reports could still be visible when a bake job got started. This had the disadvantage that those message got frozen too with the bake UI freeze.
February 4, 2020, 20:24 (GMT)
Merge branch 'blender-v2.82-release'
February 4, 2020, 20:14 (GMT)
Improve error message converting nurb to bezier

BKE_nurb_type_convert now takes r_err_msg and is more specific in the
error message...

ref T71672.

Maniphest Tasks: T71672

Differential Revision: https://developer.blender.org/D6275
February 4, 2020, 20:11 (GMT)
Merge branch 'blender-v2.82-release'
February 4, 2020, 20:06 (GMT)
Fix T58842: Add-ons Import/Export entries disapear when enabling Filter
Addons option

This removes the 'use_owner' option feature from rB61c8ed40f5df.
(this wasnt working well when addons are enabled and when switching
workspaces)

Now Addon filtering is just bypassed for Import/Export menus.
(by introducing/setting bl_owner_use_filter = False)

Maniphest Tasks: T58842

Differential Revision: https://developer.blender.org/D6740
February 4, 2020, 19:59 (GMT)
Merge branch 'blender-v2.82-release'
February 4, 2020, 19:56 (GMT)
Fix T67084: Modal keymaps could show the wrong shortcut

WM_modalkeymap_operator_items_to_string() wasnt checking
WM_keymap_active(), so it was possible that e.g. when using the Industry
Compatible keymap, the shortcut from the Blender keymap was shown.

This also fixes the (now exposed) bug that the Industry Compatible keymap
would not have a ADD_CUT_CLOSED kmi defined for the Knife Tool [mandatory
for the status bar].

Maniphest Tasks: T67084

Differential Revision: https://developer.blender.org/D6748
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021