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-09-03Fix assert when cleaning constraints in the transform toolGermano Cavalcante
When enabled, the modal key item "Clear Constraint" did not reset the default orientation. This does not bring changes in the user's point of view.
2020-09-03Cleanup: Shorten the name of the Auto Constraint modal keymapGermano Cavalcante
It was taking up too much space in the status bar.
2020-09-03UI: Fix use after free for instanced panel expansionHans Goudey
The "set_expand_from_list_data" function has to be called after updating the panels' custom data pointers. Otherwise the wrong information is retrieved in the best base and it will cause a crash in the worst case.
2020-09-03Fix missing cursor changes with "Lock Object Modes" disabledJulian Eisel
Changing the active object would change the mode, but the necessary toolsystem update to change the cursor was not run. Steps to recreate were: * Duplicate default cube * Enter sculpt mode with one of the cubes * Disable Edit > Lock Object Modes * Select back-and-forth between the objects Same would happen with other modes.
2020-09-03MSVC: Fix cmake warnings with MSVC updatesRay Molenkamp
CMake caches the location of the CRT runtime in the MSVC_REDIST_DIR variable, and uses it to copy the required dll's during the install phase. This variable is only initialized when it does not exist. Leading to issues when compiler updates are installed and the compiler version slightly changes, cmake still looks in the old location for the runtime and warns about the files not existing. This change fixes the issue by checking if the redist dir exists and if not unsets it so InstallRequiredSystemLibraries can have another go at figuring out where they live.
2020-09-03Fix T80289: GPencil Opacity modifier not workingAntonio Vazquez
This error was introduced in the refactor of the modifier panels.
2020-09-03Fix copy/paste error in Grease Pencil Draw operator tooltipJulian Eisel
Also remove capitalization of the term "object".
2020-09-03Fix T79803: Wrong Distance To Edge 1D VoronoiOmarSquircleArt
The current 1D Voronoi implementation for the Distance to Edge option computes the distance to the cells instead. This patch fixes that and compute the distance to the edge. Reviewed By: JacquesLucke, brecht Differential Revision: https://developer.blender.org/D8634
2020-09-03Cleanup: Add/use function to disable buttons with a disabled hintJulian Eisel
We do this in a couple of places, so it's worth having the logic wrapped into a function. Also, the only way to set the disabled hint for a button from outside of `interface/` was through `UI_block_lock_set()`/`UI_block_lock_clear()`, for which the usage isn't obvious when you just try to disable a single button.
2020-09-03Revert "Fix T59358: Wrong status bar keymap for release confirms and right ↵Germano Cavalcante
click select." This reverts commit 17905e89a72dcd816efb51b7403e6c01bc3e71e8. Fix T80429: Transform Tools cannot be cancelled rB17905e89 better filtered the key items that should appear in the status bar. But it is very restrictive since canceling is still possible in other cases. # Conflicts: # source/blender/editors/transform/transform.c
2020-09-03Sculpt: Face Set Extract OperatorPablo Dobarro
This implements a Face Set Extract operator, which is similar to mask extract. This operator uses a picker to select and Face Set in the mesh and extract the geometry directly to a new object. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8599
2020-09-03UI: Expose important settings from file browser popoversHans Goudey
We have established a convention of exposing the most important settings from popovers, then aligning a popover to control more detailed settings. The file browser has powerful display / filtering settings, but they're hidden in popovers at the moment, so it's sometimes a pain to use them. The "display as" options are now exposed to the left of the display settings popover, and the "filter" toggle is exposed to the left of the filter settings popover. This convention is familiar and intuitive for users and makes interaction faster. Note that the "show hidden" item in the filter popover still has an effect if filtering is disabled. This commit also: - Removes the icons in the "Sort By" enum - Uses property split for the "Sort By" enum - Very slightly increases the default width of the file browser window to make room for the new buttons. Differential Revision: https://developer.blender.org/D8719
2020-09-03Sculpt: Remove unused code in Clay StripsPablo Dobarro
This was doing a matrix inversion per vertex per stroke step and it was unused. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8791
2020-09-03Fix cloth brush not working with anchored strokePablo Dobarro
All brushes except for grab need delta for tip orientation in order to work with anchored stroke, not only snake hook, which is the one that needs it always. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8789
2020-09-03Sculpt: Sculpt Face Set gestures toolsPablo Dobarro
This implements the sculpt gesture lasso and box operators for face sets. They work the same way as the mask gesture operator and tools. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8716
2020-09-03Fix clang tidy errors in testsJacques Lucke
2020-09-03BLI: add index_range method for StringRefJacques Lucke
2020-09-03Fix T79718: Eevee OpenVDB render error when frames miss part of the gridsBrecht Van Lommel
Improved fix that handles the distinct cases of missing grids and zero size grids.
2020-09-03Fix T80332: principle volume shader not working for world in EeveeBrecht Van Lommel
The handling of missing volume grids for the principled volume shader was incomplete, different inputs need different default values.
2020-09-03UI: Reduce limits for the text size theme optionsYevgeny Makarov
It was possible to increase the text size quite a lot, making text much bigger than their containing widgets. These new limits makes the maximum size of text be closer to the widget size. Note that there needs to be some extra "wiggle room" since fonts may have quite different glyph sizes. So you can still set the font size to be slightly bigger than the widgets. Addresses T80175 and T79059.
2020-09-03Fix T63125: Gpencil: bones cannot be selected in weightpaint modePhilipp Oeser
Some underlying functionality was not ready for greasepencil: - BKE_modifiers_get_virtual_modifierlist (now introduce dedicated BKE_gpencil_modifiers_get_virtual_modifierlist) - BKE_modifiers_is_deformed_by_armature - checks in drawing code - checks in (pose) selection code A couple of changes to make this work: - `eGpencilModifierType_Armature` has to be respected (not only `eModifierType_Armature`) - `OB_MODE_WEIGHT_GPENCIL` has to be respected (not only `OB_MODE_WEIGHT_PAINT`) -- (now use new `OB_MODE_ALL_WEIGHT_PAINT`) - `gpencil_weightmode_toggle_exec` now shares functionality from `wpaint_mode_toggle_exec` -- moved to new `ED_object_posemode_set_for_weight_paint` This patch will also set the context member "weight_paint_object" for greasepencil (otherwise some appropriate pose operators wont work when in weightpaint mode) Reviewed By: campbellbarton Maniphest Tasks: T63125 Differential Revision: https://developer.blender.org/D8483
2020-09-03Fix 3D text cursor alignment without any textCampbell Barton
Part of fix for T80340.
2020-09-03Quick effects: avoid error in builds without OpenVDBPhilipp Oeser
Differential Revision: https://developer.blender.org/D8626
2020-09-03Fix T80391: Overrides: wrong check in constraint pollPhilipp Oeser
Condition was flipped, would allow actions on constraints coming from library, but prevented actions on local constraints. Mistake in rBS0b49fdd0ee0. Maniphest Tasks: T80391 Differential Revision: https://developer.blender.org/D8793
2020-09-03Fix mistake in recent font cleanupCampbell Barton
7ff7a9c8fdc0 missed incrementing the pointer used for initializing.
2020-09-03Make deps: Disabled assembly for GMP on Apple/arm64.Stefan Werner
This appears to be a configuration for which GMP has no assembly, yet the default configure script tries to build it.
2020-09-03Object: add BKE_object_obdata_to_type utility functionCampbell Barton
Move functionality to get the object type from an ID into it's own function.
2020-09-03Fix T80409: Walk rotation speed depends on view sizeCampbell Barton
Use a fixed speed for rotating the view in walk mode, Keep the current behavior for tablet input and fly mode.
2020-09-03Fix crash running remesh modifier without OpenVDBCampbell Barton
2020-09-03Fix T80340: Crash with an empty text with Text on CurveCampbell Barton
Avoid divide by zero, based on D8780 by @lichtwerk.
2020-09-03Cleanup: remove redundant Y bounds calculation for text on pathCampbell Barton
Also correct some comments.
2020-09-03Modifiers: default to exact boolean method ignoring build optionsCampbell Barton
This change doesn't impact release builds, in general avoid having defaults depend on build options since it means files from different builds won't match.
2020-09-03UI: pixel align axis navigation characters to resolve blurry textCampbell Barton
Also increase text size from 11 to 12 since the default font at 1.0 scale was a little fuzzy too. Reviewed by: @pablovazquez Ref D8781
2020-09-02Fix Cloth Snake Hook brush not using pressurePablo Dobarro
The Snake Hook deformation mode was using the same strength as grab (not supporting pressure), but this deformation mode supports pressure. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8724
2020-09-02Fix T80311: Sculpt Filters not working when using vertical splitPablo Dobarro
All filters were using prevclicx, which is in screen coordinates and mval[0], which is in region coordinates to get the filter strength. This fixes the issue in all filters. Reviewed By: Severin Maniphest Tasks: T80311 Differential Revision: https://developer.blender.org/D8776
2020-09-02UI: Use instanced panel custom data instead of list indexHans Goudey
For modifier shortcuts we added a "custom_data" field to panels. This commit uses the same system for accessing the list data that corresponds to each panel. This way the context is only used once and the modifier for each panel can be accessed more easily later. This ends up being mostly a cleanup commit with a few small changes in interface_panel.c. The large changes in the UI functions are due to the fact that the panel custom data is now passed around as a single pointer instead of being created again for every panel. The list_index variable in Panel.runtime is removed as it's now unnecessary. Differential Revision: https://developer.blender.org/D8559
2020-09-02Quiet all warnings when building BulletSebastian Parborg
2020-09-02Sync Bullet to upstreamSebastian Parborg
This syncs Bullet to the latest upstream git version as of writing this. (commit 47b0259b9700455022b5cf79b651cc1dc71dd59e).
2020-09-02Fix missing "extern_bullet" library when building rigidbodiesSebastian Parborg
2020-09-02Cleanup: use bool instead of int in various placesJacques Lucke
2020-09-02Fix segfaults when deleting objects with upstream bullet libSebastian Parborg
Blender tried to free objects twice from the bullet world sometime. First we would implicity remove all objects when recreating the bullet world and then explicity try to remove them again from the now empty world. This would wouldn't crash older bullet versions, but the recent versions will as we will try to free objects that no longer exists in the bullet world. Also clear the cache on deletion as the object order changes. Fix T77181: The cache clearing will fix this issue.
2020-09-02Cleanup: general cleanup of node.cJacques Lucke
- reduce variable scope - use bool instead of int - use LISTBASE_FOREACH
2020-09-02UI: Use property split layout for add torus operatorHans Goudey
Continuing the work from D8326, this commit adds a property split layout to the add torus operator. It also puts the properties common to all object add operators at the bottom for consistency. Differential Revision: https://developer.blender.org/D8748
2020-09-02Fix unused variable warning on Windows with WITH_INPUT_IME disabledJulian Eisel
2020-09-02Cycles: Support WITH_CYCLES_NATIVE_ONLY with MSVCRay Molenkamp
This change enables the developer option `WITH_CYCLES_NATIVE_ONLY` for MSVC. This allows a developer to just build the cycles CPU kernel for their specific system rather than all kernels, speeding up development. Other platforms have had this option for years, but MSVC lacks the compiler switch to target the host architecture hence it always build all kernels. This change uses a small helper program to detect the required flags. Only AVX/AVX2 are tested, for the following reasons - SSE2 is enabled by default and requires no flags - SSE3/4 have no specific build flags for msvc - AVX512 is not yet supported by cycles Differential Revision: https://developer.blender.org/D8775 Reviewed by: brecht, sergey
2020-09-02Cleanup: Clang-formatRay Molenkamp
2020-09-02Cleanup: Correction to previous cleanup commitJulian Eisel
I somehow undid these changes again before committing, sorry for the noise...
2020-09-02Cleanup: Correct argument names in commentJulian Eisel
Names were changed in 66b12ef4ab94, but the comment wasn't updated.
2020-09-02PY API doc: fix doc for new override option of properties.Bastien Montagne
Reported by Demeter Dzadik (@Mets) on blender.chat, thanks. Candidate to be backported to a potential 2.90.1.
2020-09-02Make rigidbody simulation handle animated objects gracefullySebastian Parborg
The animated objects was not updated for each internal substep for the rigidbody sim. This would lead to unstable simulations or very annoying clipping artifacts. Updated the code to use explicit substeps and tie it to the scene frame rate. Fix T47402: Properly updating the animated objects fixes the reported issue. Reviewed By: Brecht, Jacques Differential Revision: http://developer.blender.org/D8762