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
2021-04-22Fix missing includeGermano Cavalcante
2021-04-22Merge branch 'blender-v2.93-release'Germano Cavalcante
2021-04-22Fix T87615: No snapping to objects instanced by Geometry nodesGermano Cavalcante
The code of the snapping system to interact the objects in the scene only considers instances what comes from "DUPLI" objects. This commit adds instances coming from Geometry nodes. Differential Revision: https://developer.blender.org/D11020
2021-04-22Animation: add "LocRotScaleCProp" keying setSybren A. Stüvel
Add a keying set that includes location, rotation, scale, and custom properties. The keying set is intentionally not based on the "Whole Character" keying set. Instead, it is generic enough to be used in both object and pose animation, making it possible to quickly switch between animating characters and props without switching keying sets. This is, according to @rikkert, what the Blender Studio animators need 99.9% of the time.
2021-04-21Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-21Fix T87677: Add primitive tools produce wrong sized objects after changing ↵Philipp Oeser
values in 'Adjust Last Operation' Always use the defaults here (radius, depth etc), since desired bounds have been set interactively, it does not make sense to use a different value from a previous command. The Cube tool has already seen a fix for this in rB26e5718e29a7, but Cone/UVSphere/Cylinder/IcoSphere havent. Maniphest Tasks: T87677 Differential Revision: https://developer.blender.org/D11038
2021-04-21Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-21Fix T87640: Grease Pencil layer visibility/locking not synchronized from ↵Philipp Oeser
Dope Sheet to Properties Properties Editor is a bit more picky (compared to the Outliner for example) when it comes to listening to grease pencil notifiers -- it requires the action to be set. So when adding the notifier in the dopesheet from the channels (done in `achannel_setting_flush_widget_cb`), now add the `NA_EDITED` action. Maniphest Tasks: T87640 Differential Revision: https://developer.blender.org/D11025
2021-04-20Cleanup: commentsCampbell Barton
- Restore comment removed by accident in 8c5c55b8c9c0cb5d4b8c296f5a8ee501aabc1ead - Use doxygen syntax.
2021-04-20Fix T87637: Dragging button value cancel not workingFalk David
Dragging a number button, then holding the value and pressing escape would not reset the value correctly. This was because eb06ccc32462 assumed that `data->value` and `data->startvalue` were set during dragging which they are not. The fix moves the if statement into the section where we check if a number was entered (number edit) making sure that we only cancel if the button was in "string enter" mode and that the value entered was the same as before. Reviewed By: HooglyBoogly, Severin Maniphest Tasks: T87637 Differential Revision: https://developer.blender.org/D11021
2021-04-20Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-20Fix T86809: Action Editor header not display the right action in certain ↵Philipp Oeser
scenarios If a new action is created (e.g. by inserting keyframes), the header was not garuanteed to display the right action. Notifiers were fine here, redraw took place, the editors action was just not set soon enough for the drawing. Now make sure this is set correctly by ensuring the animation context is right (same as the other editor regions do before drawing). Maniphest Tasks: T86809 Differential Revision: https://developer.blender.org/D10796
2021-04-20Geometry Nodes: support geometry nodes modifier on volume objectsJacques Lucke
Differential Revision: https://developer.blender.org/D11011
2021-04-20Cleanup: uiBut.flag had an internal flag out of the documented rangeCampbell Barton
Increase range of internal flags & order UI_SEARCH_FILTER_NO_MATCH within this range, so public button flags aren't accidentally added that overlap with internal flags.
2021-04-20PyAPI: support Operator.poll functions 'disabled' hintCampbell Barton
Python scripts can now define the reason it's poll function fails using: `Operator.poll_message_set(message, ...)` This supports both regular text as well as delaying message creation using a callback which should be used in situations where constructing detailed messages is too much overhead for a poll function. Ref D11001
2021-04-20Cleanup: add CTX_wm_operator_poll_msg_clearCampbell Barton
Call this function instead of `CTX_wm_operator_poll_msg_set(C, NULL)`
2021-04-19Cleanup: Clang tidy, clang formatHans Goudey
2021-04-19Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-19Fix T87567: Crash adding item in empty attribute searchHans Goudey
The function applying the search used the dummy search info for when the item doesn't exist even when there was no UI data associated with the node at all. A fix is to only add the search menu when there is attribute info stored for the node. This is something I wanted to do anyway, since it makes it look more purposeful when there are no attribute info for a node, less like a bug. Differential Revision: https://developer.blender.org/D11016
2021-04-19Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-19Fix T85223: Some modifier panels can dissapear in old filesHans Goudey
The problem is that each uiBlock needs to be assigned a unique name, but when there can be multiple modifiers of the same type, we use the panel sort order for the unique part of the string. However, the most recent test file has 1200+ panels in the property editor, so 4 characters isn't enough for a unique string. That's not a situation I expected, but it makes sense, because we don't remove legacy panels with unused types when loading old files. So they tend to accumulate a bunch of unused panels. That's why this works fine with a new property editor, it doesn't all of the extra old panels. These panels must be stored for the expansion status and order, but arguably we could cull unused panels on save. However, simply increasing the length of the unique panel string is a valid fix in this situation. In the future, we can look into removing unused panels when saving.
2021-04-19Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-19Fix T87392: Copy modifier to selected does not do anythingHans Goudey
This was caused by a stupid copy & paste error in rB9f323e9bf79fbf4157a.
2021-04-19GPencil: Add Layer Mask ordering buttonsAntonio Vazquez
Now the list of masks can be ordered as is done in Layers. This can be used to organize list and in the future refquired for new masking options.
2021-04-19Changes missed from 4402c2324b81efad8d09a016a7e6838395711158Campbell Barton
2021-04-19Cleanup: use 'wmOperator.ptr' in draw functionsCampbell Barton
Draw functions used RNA_pointer_create to create the pointer, however this already exists in the operator.
2021-04-19GPencil: Add multiframe support to Reproject operatorAntonio Vazquez
Before only active frame was supported Related to T87425
2021-04-19Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-19Fix creating operator properties without an owner_idCampbell Barton
Any dynamic enum access would not use the callback. Always set the owner_id to avoid this causing problems. Oversight in 919558854d624f5db40acfa9f5674ac8c94873b6
2021-04-19Fix T87448: Avoid uiBut update if value was sameFalk David
Previously, clicking into a number field, changing nothing and then clicking outside the field again would trigger an update (RNA prop would be set to the same value again). This could potentially cause an expensive operation (like a modifer) to run again, even if all the parameters were identical. The fix prevents this by treating unchanging values in the field as a cancel operation. Reviewed By: Severin Maniphest Tasks: T87448 Differential Revision: https://developer.blender.org/D10976
2021-04-19Fix incorrect compositor denoise node message about SSE on macOS ArmBrecht Van Lommel
Ref T78710
2021-04-19Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-19Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-19Fix spin-gizmo not allowing click events to select verticesCampbell Barton
2021-04-19Fix spin-gizmo button tool-tip placementCampbell Barton
gizmo_button2d_bounds result wasn't valid when the gizmo was part of a 3D gizmo group. Regression in cf6d17a6aa421e0038fc1f8e60e3f1f708887c3e
2021-04-19Cleanup: Rename variables to indicate what is evaluatedGermano Cavalcante
`ob` --> `ob_eval` `me` --> `me_eval` `em` --> `em_eval`
2021-04-19Fix typo in previous commitGermano Cavalcante
`has_loose_edge` -> `has_loose_vert`
2021-04-19Transform Snap Object: Improve code that detects updatesGermano Cavalcante
The previous code had unclear hacks to avoid updating while transforming, it was also duplicated in two functions causing an inconsistent initialization of the looptris bvhtree (which could even generate unpredictable snapping results). Now, detection update and inicializatiom of common members are contained in `snap_object_data_mesh_get` and `snap_object_data_editmesh_get`. Also, the "Hack to avoid updating while transforming" is more evident.
2021-04-19Cleanup: Use utility to init userdata in 'transfrom_snap_object.c'Germano Cavalcante
This deduplicates the code making it easier to edit.
2021-04-19Merge branch 'blender-v2.93-release'Germano Cavalcante
2021-04-19Fix snap mixed with vertices ignored for meshes with vertices onlyGermano Cavalcante
The logic assumed that there were only 3 basic snapping modes.
2021-04-18Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-18Fix compile warningHans Goudey
The order of the two parameters was incorrect.
2021-04-18Cleanup: make formatJacques Lucke
2021-04-18Cleanup: clang tidy readability-else-after-returnJacques Lucke
2021-04-17Measure Tool: Snap to Cage GeometryGermano Cavalcante
For Measure tool, it is more useful to snap to what is really visible. So use the cage instead of the geometry that may be hidden with Bmesh.
2021-04-17Snap Gizmo Refactor: Implement options for the gizmo behaviorGermano Cavalcante
The Snap Gizmo now has options for occlusion, selection filter and edit geometry. It will be useful to implement in current tools.
2021-04-17Fix recent snap refactorGermano Cavalcante
It is important to check if editmesh eval cage is also bmesh.
2021-04-17Transform Snap Refactor: Use enum for cage snap optionsGermano Cavalcante
This allows the addition of the `SNAP_GEOM_CAGE` option. Currently unused.
2021-04-17Fix wrong logic used in 'ED_view3d_depth_read_cached'Germano Cavalcante
It is important to limit the pixels read on `BLI_array_iter_spiral_square`. Fortunately `ED_view3d_depth_read_cached` was not being called with a `margin` parameter. Wrong logic introduced in rB44c76e4ce310.