September 15, 2020, 23:40 (GMT) |
GPUDebug: Add function to test if inside a debug group This is a nice way to check certain GPU codepaths only for some regions or callers paths. |
September 15, 2020, 23:40 (GMT) |
Fix T80107 Selection: Regression in Box selection The Draw State now needs to be in sync with what the selection code set. We query the state just before locking it. |
September 15, 2020, 22:03 (GMT) |
Fix T75061 Grease Pencil: MacOS: broken Gradient and Texture There is a driver bug that makes all the end of the structure unreadable. Workaround this by just declaring a vec4 an unpacking manually. |
September 15, 2020, 21:29 (GMT) |
Outliner: Modifier/constraint/shaderfx drag and drop operator This adds an operator to allow drag and drop of modifiers, constraints, and shader effects within the outliner. Referred to as "data stack" in the code for simplicity. The following operations are allowed: * Reordering within an object or bone * Copying a single modifier/constraint/effect to another object or bone * Copying (linking) all modifiers/constraints/effects to another object or bone. This complements the recent work done for panel-based modifier layouts by allowing reordering in the outliner. It also makes it simple to copy a single modifier/constraint/effect to another object. Differential Revision: https://developer.blender.org/D8642 |
September 15, 2020, 21:29 (GMT) |
Modifiers: Add link and copy functions Adds functions to copy a modifier between objects, and an ED_ level function for linking modifiers between objects. This will be used in outliner modifier drag and drop. These functions support both regular and grease pencil modifiers. Differential Revision: https://developer.blender.org/D8642 |
September 15, 2020, 21:29 (GMT) |
Constraints: Add link and copy functions Add functions to copy a single constraint between objects or between bones, and another function to link constraints. This is in preparation for constraint drag and drop in the outliner. Differential Revision: https://developer.blender.org/D8642 |
September 15, 2020, 21:29 (GMT) |
Cleanup: Move notifiers to `move_to_index` functions Move the notifiers and DEG tagging to the ED_* level functions for modifiers and gpencil shaderfx in preparation for outliner modifier and shaderfx drag and drop. No functional changes. Differential Revision: https://developer.blender.org/D8642 |
September 15, 2020, 21:29 (GMT) |
Cleanup: Extract editor function from constraint_move_to_index_exec No functional changes. Move the constraint reordering logic into an ED_ level function to be used by outliner constraint drag and drop. Differential Revision: https://developer.blender.org/D8642 |
September 15, 2020, 21:29 (GMT) |
GPencil: Add link and copy functions for shaderfx Adds two functions: one to copy a shaderfx between two gpencil objects, and another to link all shaderfx between two gpencil objects. Added in preparation for outliner shaderfx drag and drop. Differential Revision: https://developer.blender.org/D8642 |
September 15, 2020, 21:29 (GMT) |
Cleanup: Separate BKE_object_link_modifiers into functions No functional changes. Split the grease pencil and object copy logic into separate functions. This makes the code cleaner and prepares utility functions for outliner modiifier drag and drop. Differential Revision: https://developer.blender.org/D8642 |
September 15, 2020, 20:57 (GMT) |
Property Search: Properly set expansion for instanced panels Stack panels (for modifiers, etc..) also get their expansion from their associated list data. This means that property search expansion needs to properly update the list data, which can be accomplished by calling `set_panels_list_data_expand_flag`. This commit also moves this logic to `UI_panels_end`, where it fits better. |
September 15, 2020, 20:48 (GMT) |
ASan/macOS: fix incomplete C/CXX compiler flags. While testing for {rB40dcf686f04f}, compiler flags got mixed up and non-working ASan configuration was committed. Platform file, which is `include`d after the `CMAKE_C_FLAGS_DEBUG` etc., are set, overwrites those flags instead of appending to them. To fix this, `PLATFORM_CFLAGS` is used to pass the `-fsanitize=*` flags to the C/C++ compiler. Tested on fresh build using both Xcode and Ninja, with & without ccache. Also silence a clang warning for multi-config generators: the object size sanitizer has no effect at -O0, but is explicitly enabled: -fsanitize=object-size [-Winvalid-command-line-argument] Reviewed By: brecht Differential Revision: https://developer.blender.org/D8879 |
September 15, 2020, 20:35 (GMT) |
GMP/macOS: silence "PIE disabled" linker warning. The change builds GMP with `--with-pic` flag on non-arm architecture. The warning: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from lib/darwin/gmp/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie Reviewed By: sebbas Differential Revision: https://developer.blender.org/D8823 |
September 15, 2020, 20:34 (GMT) |
UI: Refactor some list panel expansion code This commit moves the "get panel expansion from list data" function to UI_panels_end, which is an improvement because it's more centralized. |
September 15, 2020, 19:16 (GMT) |
Deps: Add potrace as a new library dependency For work the GP team plans to land soon (T79877) potrace was taken on as an additional optional dependency. This diff adds building the library to the deps builder and takes care of the integration into the build-system with the `WITH_POTRACE` cmake switch. Differential Revision: https://developer.blender.org/D8662 Reviewed by: brecht, sergey |
September 15, 2020, 18:47 (GMT) |
Outliner: Hierarchy line drawing Adds a new hierarchy line that draws to the left of collections. If the collection is color tagged, then the hierarchy line is drawn in that color. This is useful to see the color tag of a collection that exceeds the vertical height of the outliner when expanded. This also modifies the object hierarchy line drawing to match the new collection hierarchy line, with no horizontal lines, and moved a unit to the left. Object lines are not drawn colored. Manifest Task: https://developer.blender.org/T77777 Differential Revision: https://developer.blender.org/D8622 |
September 15, 2020, 18:47 (GMT) |
Outliner: Draw colored collection icons This replaces the collection icon with the filled collection icon. If the collection is color tagged, then the icon draws in the tagged color. Manifest Task: https://developer.blender.org/T77777 Differential Revision: https://developer.blender.org/D8622 |
September 15, 2020, 18:47 (GMT) |
Outliner: Set collection color tag operator This adds a new operator to the outliner context menu. The collections context menu now shows inline icons to set the color tag for all selected collections. Manifest Task: https://developer.blender.org/T77777 Differential Revision: https://developer.blender.org/D8622 |
September 15, 2020, 18:47 (GMT) |
UI: Fix spacing of inline row icon buttons A follow-up to rbe17df47303e1. Fix the horizontal spacing of aligned row icon buttons in menus. |
September 15, 2020, 18:47 (GMT) |
UI: Show color tagged collection icons in menus Draw color tagged collection icons in the link to collection, add collection instance, collection instance search, and remove collection menus. Manifest Task: https://developer.blender.org/T77777 Differential Revision: https://developer.blender.org/D8622 |
|
|
|


Master Commits
MiikaHweb | 2003-2021