September 9, 2020, 14:36 (GMT) |
Cleanup: reduce variable scopes |
September 9, 2020, 14:34 (GMT) |
Fix T79038: Blender freezes on vertex paint on linked mesh data This change promotes the work-a-round to the current solution. There are options to solve this better, but needs more design. |
September 9, 2020, 14:19 (GMT) |
Add nullptr checks in the depsgraph physics relation builder Without these check ASAN complains about null pointer member access. Reviewed By: Sergey Differential Revision: https://developer.blender.org/D8847 |
September 9, 2020, 14:19 (GMT) |
Fix uvsculpt null pointer reference in paint.c ASAN reported null pointer access when going into edit mode on the default cube. Check in uvculpt has been initialized before trying to use it. |
September 9, 2020, 14:19 (GMT) |
Fix material null pointer reference in buttons_context.c ASAN reported null pointer access when converting a mesh to curves. Check if the material is a null pointer before trying to use it. |
September 9, 2020, 14:15 (GMT) |
CMake: Force experimental features to be on/off based on release cycle This makes it error-proof to disable/enable experimental features during the release cycles. Since it is handled by CMake it should always work reliably now (not depending on someone turning this on and off). Reviewed by Sergey Sharybin. |
September 9, 2020, 13:50 (GMT) |
Add texture3D to debug layer |
September 9, 2020, 13:44 (GMT) |
Merge branch 'master' into greasepencil-edit-curve |
September 9, 2020, 13:44 (GMT) |
Merge branch 'master' into greasepencil-object |
September 9, 2020, 13:43 (GMT) |
Cleanup: reduce variable scope |
September 9, 2020, 13:41 (GMT) |
Cleanup: Rename public "bUnit" functions This commit renames the functions in "BKE_unit.h` to be consistent with the naming in the rest of blenkernel. bUnit_AsString -> BKE_unit_value_as_string_adaptive bUnit_AsString2 -> BKE_unit_value_as_string bUnit_ReplaceString -> BKE_unit_replace_string bUnit_ApplyPreferredUnit -> BKE_unit_apply_preferred_unit bUnit_ToUnitAltName -> BKE_unit_name_to_alt bUnit_ClosestScalar -> BKE_unit_closest_scalar bUnit_BaseScalar -> BKE_unit_base_scalar bUnit_IsValid -> BKE_unit_is_valid bUnit_GetSystem -> BKE_unit_system_get bUnit_GetBaseUnit -> BKE_unit_base_get bUnit_GetBaseUnitOfType -> BKE_unit_base_of_type_get bUnit_GetName -> BKE_unit_name_get bUnit_GetNameDisplay -> BKE_unit_display_name_get bUnit_GetIdentifier -> BKE_unit_identifier_get bUnit_GetScaler -> BKE_unit_scalar_get bUnit_IsSuppressed -> BKE_unit_is_suppressed Differential Revision: https://developer.blender.org/D8828 |
September 9, 2020, 13:28 (GMT) |
Remove GL_CHECK_ERROR as we now have debug wrappers |
September 9, 2020, 13:09 (GMT) |
Add more debug functions to the GL debug layer |
September 9, 2020, 13:07 (GMT) |
Force bind the default framebuffer when creating the context |
September 9, 2020, 12:12 (GMT) |
Fix T80464: Crash deleting bone constraints when the armature layer is not active Caused by {rB608d9b5aa1f1} Prior to rB608d9b5aa1f1, the constraint was gotten using **context** [CTX_data_pointer_get_type(C, "constraint", &RNA_Constraint) -- which is valid for bones on hidden layers]. After rB608d9b5aa1f1, the constraint is found (or isnt) using `edit_constraint_property_get` [this is **not** valid for bones on hidden layers because internally `BKE_pose_channel_active` checks if the bone is on an active layer]. Some observations: - Every operator using `edit_constraint_property_get` doesnt work for bones on inactive layers [delete, moveup, movedown, move to index (drag n drop nowadays)] -- moveup, movedown, move to index check if they could find a constraint beforehand though (dont crash) -- delete crashes (doesnt check if a constraint could actually be found) - Every operator using `edit_constraint_property_get` for constraint data doesnt work for bones on inactive layers [stretchto_reset, limitdistance_reset, childof_set_inverse, ...] -- these all check if they could find a constraint beforehand though (dont crash) This is because the poll function is using **context** to get the constraint, the operators themselves use **edit_constraint_property_get** which leads to inconsistent/unexpected results. Possible solutions were: - [1] let the delete operator just work with the context constraint again (like prior to rB608d9b5aa1f1) -- allows for deleting constraints on bones in inactive layers - [2] check if we could get a constraint -- prevents the crash, but does **not** allow for deleting constraints on bones in inactive layers - [3] make the poll `edit_constraint_poll_generic` be as strict as the operators -- dont use **context** to get the constraint, but something like **edit_constraint_property_get** - [4] make the operators be more graceful and let them act on bones on hidden layers -- let **edit_constraint_property_get** actually use the same **context** This patch implements [4], so poll an doperators are now in sync. - prevents reported crash - also enables operators for bone constraints on hidden layers - also enables drag and drop reordering of constraints on hidden layers This might be a candidate for 2.90.1? (if it is, take care to include prior "Refactor getting constraints" refactoring commit) Note: Adding constraints also doesnt work for bones on inactive layers [that was the case in 2.79 as well -- it is also using `BKE_pose_channel_active`] Maniphest Tasks: T80464 Differential Revision: https://developer.blender.org/D8805 |
September 9, 2020, 12:12 (GMT) |
Refactor getting constraints This is the refactoring part of D8805 (should be no functional changes). - exposes pose-related part of former 'get_constraints()' from interface_templates.c to new ED_object_pose_constraint_list - rename ED_object_constraint_list_from_context --> ED_object_constraint_active_list Also clarify comments on both of these. ref T80464 ref https://developer.blender.org/D8805 |
September 9, 2020, 11:44 (GMT) |
UI: improve search results by using fuzzy and prefix matching Blender does string based searching in many different places. This patch updates four of these places to use the new string search api in `BLI_string_search.h`. In the future we probably want to update the other searches as well. Reviewers: Severin, pablovazquez Differential Revision: https://developer.blender.org/D8825 |
September 9, 2020, 11:44 (GMT) |
BLI: new string search api that supports fuzzy and prefix matching This adds a generic string search library in `BLI_string_search.h`. The library has a simple to use C api that allows it's users to filter and sort a set of possible search results based on some query string. Reviewers: Severin Differential Revision: https://developer.blender.org/D8825 |
September 9, 2020, 10:38 (GMT) |
Fix T80626: Crash adding custom-data layers after reloading the file Regression in a48d78ce07f4f which caused the meshes CustomData to be written before it's layer values were updated for writing. |
September 9, 2020, 10:18 (GMT) |
Fix T80613: Assert in UI_but_number_precision_set -1 is a valid value to pass as RNA float precision. We let the UI code figure out an appropriate precision then. So don't fail the assert if -1 is passed. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021