Revision 41357d5 by Julian Eisel August 3, 2021, 17:37 (GMT) |
Revision 39e914c by Germano Cavalcante August 3, 2021, 16:37 (GMT) |
Fix select engine buffer having wrong vertex size The theme used was wrong and the vertex size is twice as set in the theme. |
Revision 57281b7 by Bastien Montagne August 3, 2021, 15:22 (GMT) |
Install_deps: Always re-create shortcuts to installed lib paths. For some reasons looks like those shortcuts could get out of sync, which created weird hard to understand building errors. So for sake of simplicity and security, just re-create them all the time, just like we update ld paths. |
Revision 652fbc2 by Ankit Meel August 3, 2021, 15:19 (GMT) |
macOS: Portable builds with dynamic libraries. For Blender.app: dropping libomp.dylib next to Blender executable is enough for it getting picked up since `@executable_path` is an rpath. For non-distributed binaries datatoc, makesdna, tests etc, code for copying libomp.dylib to build folder is removed and replaced by CMake's rpath option for *build* tree. For bpy.so, the post build rpath change has also been replaced by CMake rpath option for *install* tree. Since -id has been changed in D11748, remove the `install_name_tool -change ...` command. Any dylib can just be dropped at `MAC_BLENDER_TARGET_DYLIBS_DIR` hereafter. Appending dylib path to `CMAKE_BUILD_RPATH` will be needed for datatoc etc if linked against one (instead of copying the dylibs around). Reviewed By: #platform_macos, brecht Differential Revision: https://developer.blender.org/D11997 |
Revision a25a1f3 by Sybren A. Stüvel August 3, 2021, 15:12 (GMT) |
Cleanup: interface, reduce indentation of copy_to_selected_button() Reduce cognitive complexity of `copy_to_selected_button()` by flipping conditions, returning early, and using `continue`. No functional changes. |
Revision 4e1a182 by Germano Cavalcante August 3, 2021, 14:29 (GMT) |
Fix T90313: Align to Transform Orientation Axis Property Doesn't Work `Orientation Axis` is a property incompatible with `Align` mode and should not be visible. |
Revision 391af6b by Julian Eisel August 3, 2021, 13:51 (GMT) |
Cleanup: Replace int with bool for pointcache function Was using an int for boolean return value. |
Revision 7724251 by Campbell Barton August 3, 2021, 13:33 (GMT) |
WM: don't store selection properties typically set in the key-map While this was already the case for the most part some selection operators stored common settings for reuse such as "toggle", "extend" & "deselect". Disabling storing these settings for later execution as it means failure to set these options in the key-map re-uses the value of the shortcut that was last called. Skip saving these settings since this is a case where reusing them isn't helpful. Resolves T90275. |
Revision d3dd735 by Campbell Barton August 3, 2021, 12:45 (GMT) |
UI: building without Python again Also quiet some warnings. |
Revision cec103d by Jeroen Bakker August 3, 2021, 11:56 (GMT) |
Silenced clang-tidy warnings. |
Revision 0342fb5 by Sybren A. Stüvel August 3, 2021, 11:43 (GMT) |
Fix T90387: division by zero when trying to invert scale Fix division by zero when `BKE_bone_parent_transform_invert()` inverts a scale vector with zero components. Zero values in the to-be-inverted vector are now simply skipped, i.e. remain zero after inversion. This at least ensures that `invert_v3_safe(invert_v3_safe(vector))` results in the same vector. This commit does NOT fix the conceptual problem that an inversion of a potentially non-invertible vector is relied upon. It just avoids the division by zero. |
Revision dbd34a5 by Philipp Oeser August 3, 2021, 11:20 (GMT) |
Fix T90364: buttons (partially) behind animchannel search block search When channels are scrolled to be (partially) behind the search bar, their widget buttons would still be interactive, preventing the seach buttons to be usable. We have to make sure the events are consumed from the search and dont reach other UI blocks. We can do so by flagging the block `UI_BLOCK_CLIP_EVENTS` -- but also have to make sure the bounds are calculated correctly (otherwise the check relating `UI_BLOCK_CLIP_EVENTS` in `ui_but_find_mouse_over_ex` wont trigger properly. Maniphest Tasks: T90364 Differential Revision: https://developer.blender.org/D12103 |
Revision b35a96e by Philipp Oeser August 3, 2021, 11:07 (GMT) |
Fix T90346: particle force field self effect amount off by one When calculating the particle step in `get_effector_tot`, we have to round up (otherwise we might get an extra round in the for-loop in `BKE_effectors_apply` for certain cases). Example from the report: - 10.000 particles, Effector Amount 3 - was rounding the step down to 3333 - going into the for-loop for 0, 3333, 6666 and 9999 (4 times) - now rounding the step up to 3334 - going into the for-loop for 0, 3334 and 6668 (3 times as desired) Maniphest Tasks: T90346 Differential Revision: https://developer.blender.org/D12113 |
Revision 20d5d7b by Bastien Montagne August 3, 2021, 10:54 (GMT) |
Blender Readfile: Fix annoying useless Object reading error messages. Extend the 'reading error' container to produce the generic short message in the popup directly visible by the user, and move all detailed info the `INFO` reports that only show up in the console and Info editor. |
Revision c6f64d4 by Sybren A. Stüvel August 3, 2021, 10:44 (GMT) |
Cleanup: USD importer, consistent naming of function parameter Rename function parameter `flags` to `read_flag` in the declaration, to be consistent with the definition. No functional changes. |
August 3, 2021, 10:33 (GMT) |
USD: add USD importer This is an initial implementation of a USD importer. This work is comprised of Tangent Animation's open source USD importer, combined with features @makowalski had implemented. The design is very similar to the approach taken in the Alembic importer. The core functionality resides in a collection of "reader" classes, each of which is responsible for converting an instance of a USD prim to the corresponding Blender Object representation. The flow of control for the conversion can be followed in the `import_startjob()` and `import_endjob()` functions in `usd_capi.cc`. The `USDStageReader` class is responsible for traversing the USD stage and instantiating the appropriate readers. Reviewed By: sybren, HooglyBoogly Differential Revision: https://developer.blender.org/D10700 |
Revision c0900a6 by Julian Eisel August 3, 2021, 10:25 (GMT) |
Fix T90341: Crash opening 2.4 file with File Browser editor open The file selection parameters (e.g. `context.space_data.params`) are expected to be unset in certain cases. Reading 2.4 files seems to be one of them. Hence, code using it should check it's set first. Also added an assert to a File Browser UI template printing a message when the parameters are unset, to help debugging the issue. |
Revision 28b9dd7 by Julian Eisel August 3, 2021, 10:25 (GMT) |
Cleanup: Remove redundant checks in File Browser UI script Was already checking these preconditions in the poll method. |
Revision b1a607c by Jacques Lucke August 3, 2021, 08:38 (GMT) |
Cleanup: deduplicate type conversion logic |
Revision d6e97a5 by Campbell Barton August 3, 2021, 08:13 (GMT) |
Correct task ID in 00b57136e4167ef5a303b1215574bb52a22e9194 |
|