Revision cf0791b by Hans Goudey 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. |
Revision a4c5811 by Ankit Meel 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 |
Revision 8aab26b by Hans Goudey 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. |
Revision 2eec6ec by Ray molenkamp 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 |
Revision 7b3d38a by Nathan Craddock 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 |
Revision 16f625e by Nathan Craddock 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 |
Revision 33d7b36 by Nathan Craddock 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 |
Revision 26a40ac by Nathan Craddock 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. |
Revision 4c3813f by Nathan Craddock 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 |
Revision 452a1c7 by Nathan Craddock September 15, 2020, 18:47 (GMT) |
Collections: Add color tagging This adds color tagging to collections. There are 8 color options which are themable in the user preferences, with an additional option for no color tag by default. This adds a new filled collection icon and 8 colored variants of the icon that can be themed in the user preferences. In this commit the only interface to setting the color tags is through Python, and there is nowhere in the interface where the collections are shown colored. Setting and viewing the color tags from the outliner will follow. Manifest Task: https://developer.blender.org/T77777 Differential Revision: https://developer.blender.org/D8622 |
Revision f137022 by Sriharsha Kotcharlakot September 15, 2020, 17:43 (GMT) |
Liquid Simulation Display Options (GSoC 2020) All the changes made in the branch `soc-2020-fluid-tools` are included in this patch. **Major changes:** === Viewport Display === - //Raw voxel display// or //closest (nearest-neighbor)// interpolation for displaying the underlying voxel data of the simulation grids more clearly. - An option to display //gridlines// when the slicing method is //single//. ==== Grid Display ==== - Visualization for flags, pressure and level-set representation grids with a fixed color coding based on Manta GUI. ==== Vector Display ==== - //**M**arker **A**nd **C**ell// grid visualization options for vector grids like velocity or external forces. - Made vector display options available for external forces. ==== Coloring options for //gridlines// ==== - Range highlighting and cell filtering options for displaying the simulation grid data more precisely. - Color gridlines with flags. - Also, made slicing and interpolation options available for Volume Object. Reviewed By: JacquesLucke, sebbas Differential Revision: https://developer.blender.org/D8705 |
Revision bedbd86 by Hans Goudey September 15, 2020, 16:39 (GMT) |
Property Search: Quick start and clear operators `ctrl-F` to start the search is obviously necessary, but the clear operator, `alt-F` requires some of explanation. First, it maps nicely to the paradigm of "key to set, alt-key to clear," which makes it unobtrusive. Second, it can be a quicker way to clear the search than moving the mouse to the top. Finally, in the future, it could a reset the panels to their expansion before the search started. Differential Revision: https://developer.blender.org/D8857 |
Revision 8bcdcab by Hans Goudey September 15, 2020, 16:25 (GMT) |
UI: Single tab property search This adds a search bar to the properties editor. The full search for every tab isn't included in this patch, but the interaction with panels, searching behavior, UI, region level, and DNA changes are included here. The block-level search works by iterating over the block's button groups and checking whether they match the search. If they do, they are tagged with a flag, and the block's panel is tagged too. For every update (text edit), the panel's expansion is set to whether the panel has a result or not. The search also checks for matching strings inside enums and in panel labels. One complication to this that isn't immediately apparent is that closed panel's subpanels have to be searched too. This adds some complexity to the area-level panel layout code. Possible Future Improvements: - Use the new fuzzy search in BLI - Reset panels to their expansion before the search started if the user escape out of the text box. - Open all child panels of a panel with expansion. Differential Revision: https://developer.blender.org/D8856 |
Revision 7a0a60d by Philipp Oeser September 15, 2020, 15:57 (GMT) |
Dont show temporary IK constraints in the constraint stack Those constraints are added when using AutoIK (or targetless IK as well). While not strictly incorrect, these kinds of constraints were not showing in the UI prior to rBeaa44afe703e (and I think they should not). ref T80437 Maniphest Tasks: T80437 Differential Revision: https://developer.blender.org/D8895 |
Revision 2b36e6b by Philipp Oeser September 15, 2020, 15:50 (GMT) |
Fix T80333: cursor disappears after using navigation gizmo in editmode Caused by rBe490dc4346db: UI: Skip unnecessary cursor setting Above commit returned early if the cursor was already set, but did this before visibility was regained, now return (still early) after setting visibility. Reviewed by @Severin in T80333 |
Revision f59ce4d by Hans Goudey September 15, 2020, 15:34 (GMT) |
Property Search: Add "search match" theme color We will use a highlight on panel headers to convey that they have a search match, so this commit initializes the theme color for the properties editor. Differential Revision: https://developer.blender.org/D8854 |
Revision 6b29c3f by Hans Goudey September 15, 2020, 14:50 (GMT) |
Property Search: Move properties context buttons back to a panel The context path "breadcrumbs" used to be in a panel in 2.79. Although they look a bit better in the header, there isn't enough space for them with the property search field in the header as well. Maybe there will be another solution in the long term to fit both the search field and this panel in the header, but for now, this commit moves these labels back to a header-less panel. Differential Revision: https://developer.blender.org/D8853 |
Revision 67e6306 by Hans Goudey September 15, 2020, 14:38 (GMT) |
Property Search: Build button groups for Search This is needed for property search (upcoming patch D8856) where a buttons labels are often separate buttons, but we need to highlight the label to show that a property is a search result. This is especially important in "property split" layouts where the label is almost always another button in a separate column. The button groups here are basically a flattened view of the buttons in the layout tree. Every function that adds a new set of buttons creates a new button group, and the new buttons are automatically added to the most recent group. Then, each group is searched separately in the property search phase. It's important that every function adding a new button set calls layout_root_new_button_group. Note that this won't be disabled when property search isn't active. It may be useful for other things in the future, and trying to pass that information to layout functions didn't feel worth it to me. Differential Revision: https://developer.blender.org/D8783 |
Revision f886e13 by Nathan Craddock September 15, 2020, 14:11 (GMT) |
Cleanup: Remove unneeded parameter A parameter was added during development, but it was not needed and was never removed. No functional changes. |
|
|
|


Master Commits
MiikaHweb | 2003-2021