Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-31Fix T79973: Re-ordering face maps messes up the names of other face mapsGermano Cavalcante
Use a remap function instead a swap. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D8739
2020-08-31Fix T80126: Alembic Import dialogue has overwrite protection UIPhilipp Oeser
Use `FILE_OPENFILE` when importing, rather than `FILE_SAVE`. Reviewed By: sybren Differential Revision: https://developer.blender.org/D8715
2020-08-31Cleanup: Resolve unused variable warning in lite buildHans Goudey
2020-08-30Fix T79940 VSE Editor crash when opening a different scene as a stripClément Foucault
This was caused by a double lock of the DRW context mutex. This changes the logic a bit by releasing the DRW context before rendering with BKE_sequencer_give_ibuf and restoring it after. Critical fix for 2.91 Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D8657
2020-08-30Fix T80138 Node Editor: Add Frame turns background grayClément Foucault
The removed `UI_ThemeClearColor` made no sense in this context. It must have been a leftover from previous refactor.
2020-08-30GPUFrameBuffer: Use debug name supportClément Foucault
This is to make it easier to navigate captures in renderdoc.
2020-08-30Object: support multiple objects for limit-total vertex groupsCampbell Barton
Also add this to the "Clean Up" menu.
2020-08-30Object: add ED_object_array_in_mode_or_selectedCampbell Barton
Use this utility function for render-shading & weight paint modes. This adds support for edit-mode & pose-mode where all objects in the mode are used in this case instead of the selected objects.
2020-08-30Object: support removing unused weights for selected objectsCampbell Barton
This is useful to run in object-mode, instead of from the property editor, note that this still only used the current object when activated from the property editor.
2020-08-30Object: support removing unused material slots for selected objectsCampbell Barton
This is useful to run in object-mode, instead of from the property editor, note that this still only used the current object when activated from the property editor.
2020-08-30Operator: expose ED_operator_object_active_local_editable_exCampbell Barton
Support calling this function with an object argument, useful for implementing filter functions that loop over objects.
2020-08-28UI: Improve curve grid drawing codepembem22
This patch fixes assert on grid drawing. `for` loops are used instead of `while` loops to make sure the number of lines is exact. The old code draws lots of unnecessary lines offscreen. This bug is fixed as well. See the patch for a comparison without a scissor test. Differential Revision: https://developer.blender.org/D8745
2020-08-28Fix T80195: crash when invoking tooltips on MacOSGermano Cavalcante
Problem introduced in rBadd48c007428. `UI_but_string_info_get` can change the value of the args.
2020-08-28Fix for T75369: Text Editor Line ColorHarley Acheson
Use correct text color when syntax highlighting is off but line numbers are on. Differential Revision: https://developer.blender.org/D7337 Reviewed by Hans Goudey
2020-08-28UI: Do Not Display Negative Zero FloatsHarley Acheson
Display negative zero floats as regular zero. Does not alter underlying value. Differential Revision: https://developer.blender.org/D4795 Reviewed by Brecht Van Lommel
2020-08-28cleanup: Fix style issue in sculpt.cRay Molenkamp
At first sight this code should not build at all but due to the use of macro's that look like functions this seemingly has no issues building. Clang-format alerted me to this strange bit of code by placing the `if` on it's own line for some reason. added the missing brackets, and clang-format is happy again.
2020-08-28Merge newboolean branch into master.Howard Trickey
This is for design task T67744, Boolean Redesign. It adds a choice of solver to the Boolean modifier and the Intersect (Boolean) and Intersect (Knife) tools. The 'Fast' choice is the current Bmesh boolean. The new 'Exact' choice is a more advanced algorithm that supports overlapping geometry and uses more robust calculations, but is slower than the Fast choice. The default with this commit is set to 'Exact'. We can decide before the 2.91 release whether or not this is the right choice, but this choice now will get us more testing and feedback on the new code.
2020-08-28Fix T80064: Adding mask curve points doesn't work around endpointsGermano Cavalcante
2020-08-28Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-28Fix T80182: Curve [Edit Mode] : Can't Deselect Control Point with Select BoxPhilipp Oeser
Caused by rB49f59092e7c8: Curves: Implement Handles for selected points only Changes from deselecting all were not considered as changes anymore. Maniphest Tasks: T80182 Differential Revision: https://developer.blender.org/D8744
2020-08-28Cleanup 'make vertex parent' operator code.Bastien Montagne
More localized variables, avoid ugly 'offset by one' index usage in favor of explicit `INDEX_UNSET` define, etc. No behavior change expected from this commit.
2020-08-28Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-28Fix T80135: Duplicate doesn't preserve active splineCampbell Barton
Checks to preserve the active spline on duplication required an active vertex too. Now having no active vertex doesn't prevent duplicate from keeping the spline active. Reviewed by: @mano-wii Ref D8729
2020-08-28Cleanup: use doxy sections in interface_panels.cCampbell Barton
2020-08-28Cleanup: spellingCampbell Barton
2020-08-28Fix (unreported): Walk expansion on scene collectionNathan Craddock
Left walk navigation while the scene collection is active would collapse the subtree which shouldn't be allowed. This adds another check to `outliner_item_openclose` to prevent collapsing the scene collection. Introduced in rBb077de086e14.
2020-08-28Fix: Outliner walk navigation in Data API modeNathan Craddock
Because the subtrees in Data API mode are empty for performance reasons, it was impossible to move through the tree with walk navigation. This adds an exception to allow walk navigation to expand subtrees in that mode.
2020-08-27Fix T80159: Custom Normals Averaging crash after clearingPhilipp Oeser
custom split normals data Clearing custom split normals would get rid of the CD_CUSTOMLOOPNORMAL layer - but editing data `lnor_spacearr` would be kept. Adding a CD_CUSTOMLOOPNORMAL layer (if none exists yet) should be done in `edbm_average_normals_exec` / `BKE_editmesh_lnorspace_update` / `BM_lnorspace_update` / `BM_lnorspacearr_store`. The thing is that if the editing data `lnor_spacearr` would still be valid after `Clear Custom Split Normals Data`, blender would happily call `BM_lnorspace_rebuild` instead. Doing that without a CD_CUSTOMLOOPNORMAL layer is asking for trouble. Now clear lnor_spacearr on `Clear Custom Split Normals Data` as well. Thx @mont29 for feedback here. Maniphest Tasks: T80159 Differential Revision: https://developer.blender.org/D8730
2020-08-27UI: Avoid redundant loops in region panel handlerHans Goudey
Currently the panel handler loops through every block and every button for every single panel. This commit moves that check to happen a single time at the beginning.
2020-08-27Fix T68317: Panel "A" key doesn't collapse subpanels properlyHans Goudey
We need to only collapse or expand the first panel under the cursor rather than all of them. Note that whether the parent panel or the subpanel is first depends on the order of the uiBlocks in the region's list.
2020-08-27UI: Cleanup / refactor region panel event handlingHans Goudey
The code for handling panel events was much more complicated than it needed to be. This commit removes some unecessary function calls and variables, reduces indentation levels by returning early, and does some other general cleanup.
2020-08-27Fix T77382: zooming into adjust last operation panel clips contentsBrecht Van Lommel
This panel should not have zoom functionality at all, just like headers and many other regions don't have it either.
2020-08-27Cleanup: Move panel category drawing to proper sectionHans Goudey
Somehow the panel category drawing functions ended up in the middle of the region event handling code. This commit moves them to their own section next to the rest of the drawing code.
2020-08-27Fix Outliner allowing to enter Pose Mode on linked armatureJulian Eisel
If a different object was active, clicking on a linked armature's pose in the Outliner would enter Pose Mode for it. This would actually cause a failed assert, but in release builds the armature would just enter pose mode. Steps to reproduce were: * Link in armature object * Activate a different object * In the Outliner, un-collapse the armature object * Activate Pose Mode by clicking on its pose there
2020-08-27Fix (unreported): Outliner Data API tree subtree expansionNathan Craddock
The changes in rB70151e41dc02 broke subtree expansion in the Data API display mode because the closed subtrees are empty lists. Move the empty subtree check from `outliner_item_openclose` to the walk navigation code to prevent the issue.
2020-08-27UI: Use alternating row theme color in file browserRed Mser
The outliner already uses the alternating row theme color as an overlay for every other row. This uses the same color for the file browser, instead of a hardcoded shading. The file browser background color is slightly tweaked to match the outliner, and the Blender Light theme is updated to use a lighter background color like the outliner. Reviewed by: Hans Goudey, Julian Eisel Differential Revision: https://developer.blender.org/D8717
2020-08-26Cleanup: better naming and no bad level access in BLI_winstuffBrecht Van Lommel
2020-08-26Outliner: Use `shift` for restrict button child toggleNathan Craddock
The `ctrl` key was mapped to recursive bone selectable and visibility toggling. This changes the key to `shift` to be consistent with objects and collections. Also adds an explanation to the tooltip. Part of T77408 Differential Revision: https://developer.blender.org/D8650
2020-08-26Outliner: Left and right walk navigationNathan Craddock
Previously the left and right arrow keys would close and open the active tree element, but a subsequent key press would not select up or down the tree as is common in tree-based interfaces. Walking left and right now does a selection action after opening or closing the active tree item. For example, a right key press on a closed element will open it's subtree, and an additional right key press will select the first child element. A left key press anywhere in a subtree will first close the active element if it's subtree is expanded. Walking left again will select the parent element. Part of T77408 Differential Revision: https://developer.blender.org/D8650
2020-08-26Clenaup: Refactor Sculpt gesture mask operatorsPablo Dobarro
This refactors Box Mask and Lasso mask making both functions share the same code. After this change it should be easier to add new functionality, new gesture tools or implement new gesture modes. No functional changes. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8707
2020-08-26Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-26Fix T80098: Mesh deform doesn't update in edit modeCampbell Barton
Use BKE_mesh_wrapper API access to access mesh coordinates for modifier evaluation. Call BKE_mesh_wrapper_ensure_mdata when binding since it's a one off operation. Regression from deaff945d0b96. Reviewed by: @brecht Ref D8709
2020-08-26GPencil: Fix Assert using fill toolAntonio Vazquez
With the new changes in the Draw Manager, GPU_depth_mask must be set to ON, before clear depth.
2020-08-26Cleanup: remove unused UvVertMap.flagCampbell Barton
2020-08-26Fix T79992: Error calling context.copy() in Properties EditorDalai Felinto
This was an oversight in rB83e3d25bcae3. Basically we still have the "hair" and "point_cloud" entries for the context. However they were ifdef'ed. Note this would mostly happen in 2.90 since we always build without hair and particles there. Differential Revision: https://developer.blender.org/D8712
2020-08-26UV: match 3D mesh editing behavior for edge-loop selectCampbell Barton
- Cycling between part of the boundary & the entire UV boundary. - Include pole vertices in the selection. Edge loop selection was rewritten to use BMesh connectivity data.
2020-08-26Cleanup: simplify edge loop/boundary select cycling logicCampbell Barton
2020-08-26Docs: comments for interface_handlers.cCampbell Barton
Explain why some features have defines, also use doxy sections for defines & prototypes.
2020-08-26Cleanup: use const variables in interface codeCampbell Barton
2020-08-26Cleanup: add SEQ_ALL_BEGIN, SEQ_CURRENT_BEGIN to .clang-formatCampbell Barton
These were missed in 70500121b457d which caused reformatting.