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-11-06Cleanup: use ELEM macroCampbell Barton
2020-11-06Cleanup: follow our code style for float literalsCampbell Barton
2020-11-06Cleanup: transform.h comments, use doxy sectionsCampbell Barton
2020-11-06Cleanup: sort structs, filesCampbell Barton
2020-11-06Cleanup: clang-formatCampbell Barton
2020-11-06Cleanup: unused variableCampbell Barton
2020-11-06Merge branch 'blender-v2.91-release'Pablo Dobarro
2020-11-06Fix T81915: Draw Face Sets not working with deformed sculpt meshPablo Dobarro
The draw face sets brush uses the poly center when used in meshes to increase its precision when working in low poly geometry. For this to work with deformed meshes, the deformed coordinates from the PBVH should be used instead. Reviewed By: sergey Maniphest Tasks: T81915 Differential Revision: https://developer.blender.org/D9424
2020-11-06Fix memory leaks in sculpt mode trimming toolsPablo Dobarro
BKE_mesh_free() seems to not free the meshes correctly, so using BKE_id_free() instead. The looptri array was also not freed. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9426
2020-11-06Fix T82400: Dyntopo detail size edit operator visual glitchPablo Dobarro
Just a missing immUnbindProgram Reviewed By: sergey Maniphest Tasks: T82400 Differential Revision: https://developer.blender.org/D9459
2020-11-06Fix Dyntopo detail size preview orientation not matching the cursorPablo Dobarro
Used the sampled cursor normal when available instead of the raycast face normal. This makes the preview match the previous orientation of the cursor. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9460
2020-11-06Move "Camera Parent Lock" from preferences to Object RelationsHans Goudey
"Camera Parent Lock" can be useful when rigging cameras, but it is not intuitive, and has also generated a lot of confusion (bug reports). This is because it breaks the fundamental parent <-> child relationship conventions in Blender, and there is no indication that it's intended without diving into the preferences. This commit moves the setting to the object level, and exposes it in the relations panel in the property editor. It is exposed for every object type because any object type can be "View Locked" in the 3D view. The property description is also updated to reflect this change and be more specific without getting too long. In the future this could become a more general feature of the transform system, but for now it is limited to "Lock Camera to View". Differential Revision: https://developer.blender.org/D9239
2020-11-06Fix T82164: Knife tool draws huge vertices after using bgl.glPointSizeGermano Cavalcante
Since it is possible to have multiple draw callbacks, (some of which use bgl and others gpu), check and force the reset of the drawing status at the end of each callback. Differential Revision: https://developer.blender.org/D9476
2020-11-05Merge branch 'blender-v2.91-release'Robert Guetzkow
2020-11-05Fix T82423: Replace duplicate name in keymapRobert Guetzkow
The two entries `TFM_MODAL_AUTOCONSTRAINT` and `TFM_MODAL_AUTOCONSTRAINTPLANE` had the same name displayed in the UI. The latter is now includes "plane" in it's name. Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D9474
2020-11-05Spelling: Predefined, Look Up, No OneHarley Acheson
Fixes 18 misspellings of 'predefined', 'Look Up', 'Lookup', and 'No One'. Differential Revision: https://developer.blender.org/D9466 Reviewed by Hans Goudey
2020-11-05VSE: cache performance optimizationRichard Antalik
Map frame for cached raw images to strip input media frame range. This means that static images or extended frame range of movies will only generate one cache entry. timeline_frame is stored in cache key as a reference - on what frame was this entry created, so we don't have to reverse lookup frame range. Since each media frame corresponds to one cache frame with same frame index key, there is no need to invalidate raw cache when changing time remapping properties like use_reverse_frames or strobe No changes are needed for disk cache, since invalidating raw entry assumes all data will be invalidated. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9462
2020-11-05Rename extern rendering and proxy functionsRichard Antalik
Replace BKE_sequencer wirh SEQ_render or SEQ_proxy prefixes. In cases where function is very generic, only SEQ prefix is used. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9439
2020-11-05Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-05Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-05Transform: support individual origins for "To Sphere"Campbell Barton
2020-11-05Fix T65205: "To Sphere" radius too large with proportional editingCampbell Barton
The radius is now calculated based on the vertices being transformed by proportional editing, updated when the falloff changes.
2020-11-05UI: Fix Support for Anonymous Menu SeparatorsHarley Acheson
Re-enables support for menus to have items without identifier or name that can be used to separate sections. Differential Revision: https://developer.blender.org/D9463 Reviewed by Hans Goudey
2020-11-05Cleanup: Use const for function argumentsHans Goudey
2020-11-05Fix T82417: Panels draw below others while animating after dragHans Goudey
This adds a new runtime flag for panels that is set during the entire drag and animation operation. The flag is set recursively so that sub-panels know to draw on top too. Note that this also replaces most of the fixes in 1960b8a361ee and 8e08d80e52d6 (D7462) with a more "built-in" solution.
2020-11-05Cleanup: Simplify panel collapse handler logicHans Goudey
2020-11-05Cleanup: Remove unused Panel.snap from DNA and handler codeHans Goudey
This was a remnant of floating panels from the horizontal layout in pre 2.5 horizontal panels.
2020-11-05Cleanup: Remove unused drag scaling code for panelsHans Goudey
This is done more universally now, and this implementation of this is no longer used.
2020-11-05Cleanup: Make panel function staticHans Goudey
These functions were not used elsewhere, and the handling for the panel tabs should be kept local to this file where possible. Also remove another unused function and removed an unecessary "_ex" function.
2020-11-05Cleanup: Move function to proper fileHans Goudey
This lower level drawing function didn't make sense in the panel code, especially when it is used in multiple other places.
2020-11-05Fix T80313: Fix clipped text in splash screen on hiDPI monitorsJulian Eisel
The current layout gave too little space for the full "Search" string inside the button. Fix this by making sure radio-buttons have their text center aligned by default in pop-ups too, like they do anywhere else. This does affect a few other cases, e.g. the "RGB"/"HSV"/"Hex" radio-toggles for color pickers. But this should be fine, I don't think they were ever intentionally using left-aligned text (while similar buttons outside of pop-ups didn't).
2020-11-05Cleanup: Improve property search related comments panel codeHans Goudey
The comments related to property search changes should be generally more correct and more helpful.
2020-11-04UI: Replace uses of "loc/rot" with full wordsNathan Craddock
Use "Rotation" in place of "Rot" for the rotation header text. Cleanup various RNA titles and tooltips. Differential Revision: https://developer.blender.org/D9457
2020-11-04Cleanup: Remove incorrect commentHans Goudey
This function for replacing a button pointer in button groups is needed by the block update from old code, so it cannot be removed like its layout equivalent.
2020-11-04Merge branch 'blender-v2.91-release'Hans Goudey
2020-11-04Remove incorrect assert in button group codeHans Goudey
Even after the last commit to fix this assert, it still fails in the case where a button was added before there was a button group added to the block. Another fix for this would be to always create a button group in UI_block_begin, but this assert has no particular purpose, so it's simpler to just remove it.
2020-11-04Transform: Disable snap to plane-face intersectionGermano Cavalcante
This feature was added in D5608. But in practice this confuses more than it helps. This fixes T82386.
2020-11-04Annotations: Set as visible when use the annotation toolAntonio Vazquez
If the annotation draw operator is used, enable the annotations in the current area. Before this change, some editors had the annotation flag set to OFF, but this could be solved with a versioning code, but this did not solve the root problem. The user can disable annotation visibility in the overlay or side panel, depending on the editor. If the user uses the annotation tool and this flag is OFF, the annotation is not visible, and this is not correct. With this patch, every time the user uses the tool, the annotation visibility flag is set to ON to ensure the annotation is visible. This solves the problem of T82273, T79578 and T80294 Maniphest Tasks: T82273 Differential Revision: https://developer.blender.org/D9409
2020-11-04Fix assert on mouseover of blocks not using the layout systemHans Goudey
When there was an active button in the "old" block from the last redraw, this code tried to replace its pointer in the new block's button groups. But in cases like the outliner or file browser, there are no groups because the block doesn't use the layout system at all. This commit just tweaks the assert to check whether there are any button groups.
2020-11-04Fix assert on mouseover of blocks not using the layout systemHans Goudey
When there was an active button in the "old" block from the last redraw, this code tried to replace its pointer in the new block's button groups. But in cases like the outliner or file browser, there are no groups because the block doesn't use the layout system at all. This commit just tweaks the assert to check whether there are any button groups.
2020-11-04Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-04Fix T65449: Rip wire edges show error even when it worksCampbell Barton
Thanks to @zeddb for finding the root cause.
2020-11-04UI: set the message for disabled vertex weight operatorsCampbell Barton
2020-11-04Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-04Fix T60517: "Fix Deforms" crashes for meshes without vgroup dataCampbell Barton
2020-11-04Merge branch 'blender-v2.91-release'Pablo Dobarro
2020-11-04Fix T81799: Enable use self in trimming tool booleansPablo Dobarro
This enables self intersections in the sculpt trimming tools boolean operations. This should fix wrong booleans results after using the operator to add new disconnected geometry with the join mode. Reviewed By: sergey Maniphest Tasks: T81799 Differential Revision: https://developer.blender.org/D9423
2020-11-04Fix T81842: Cloth brush not creating simulation areas for each tiling ↵Pablo Dobarro
symmetry pass The cloth brush fixed simulation areas are created using the initial_location variable in the StrokeCache. This variable was not being updated by tiling symmetry, so all symmetry passes were using the same simulation area location. Reviewed By: sergey Maniphest Tasks: T81842 Differential Revision: https://developer.blender.org/D9421
2020-11-04Fix mask extract and slice not preserving mesh symmetry optionsPablo Dobarro
When extracting new objects from a mesh in sculpt mode, it makes sense to keep the current symmetry options and settings in the new mesh. In previous versions symmetry options were stored in the tool settings, so this bug was not that obvious. This also preserves the remember settings in the new object, which is also the desired behaviour. Reviewed By: sergey, mont29 Differential Revision: https://developer.blender.org/D9417
2020-11-04Fix mask slice to new object preserving the maskPablo Dobarro
If the new object contains the mask it always needs to be cleared before starting sculpting on it. This fix was also committed before in the mask extract operator. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9416