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
2022-06-27Fix T99178: Console warning using search (F3) in grease pencil draw modeAntonio Vazquez
The preview data was not available in this context and need to be checked to avoid the warning.
2022-06-25Fix T98975: Broken vertex paint mode operatorsHans Goudey
All of the operators in vertex paint mode didn't work properly with the new color attribute system. They only worked on byte color type attributes on the face corner domain. Since there are four possible combinations of domains and types now, it mostly ended up being simpler to convert the code to C++ and use the geometry component API for retrieving attributes, interpolating between domains, etc. The code changes ended up being fairly large, but the result should be simpler now. Differential Revision: https://developer.blender.org/D15261
2022-06-22Fix T98904: GPencil sculpt brushes break after you delete a brushAntonio Vazquez
There were two problems here: 1) Console warnings due to brush was None. 2) It was impossible to recreate a brush. This patch fixes both issues and it is now possible to recreate any brush. Differential Revision: https://developer.blender.org/D15213 Reviewed by: @dflelinto
2022-06-22GPencil: Avoid console warnings when no Sculpt brush selectedAntonio Vazquez
If the brush is deleted, the panel must not be filled. To recreate the missing Brush is necessary to use `Reset All` This fix part of T98904
2022-06-08Licenses: Attribution document for Blender 3.2v3.2.0Dalai Felinto
A few libraries were updated, a few were added, and a few were missing from the previous license document.
2022-06-08Update freedesktop release infos for 3.2.Thomas Dinges
2022-06-01Fix T98370: Shift+RMB Select nodes doesn't work with the tweak toolCampbell Barton
The tweak tool was toggling node selection twice, as the selection key-map is already accounted for in the node key-map there is no need to duplicate the actions in the tweak tool.
2022-05-31Fix T98364: Remove improper OPTYPE_UNDO flagsJoseph Eagar
Removed OPTYPE_UNDO flags from the swap brush colors and sample color operators. These types of operators are not supposed to be undoable in the first place. Also memfile undo is too buggy for it.
2022-05-30Fix T98368: Shading artifacts on paint/mask anchored sculpt brushesJoseph Eagar
I'm not sure what is causing this. Vertex normals get corrupted for paint and mask sculpt brushes but not the normal geometric ones. Since we don't actually need to recalculate normals here to begin with I've just disabled it. The code now calls the appropriate node mark update function based on the sculpt tool.
2022-05-26Fix Blender 2.7x keymap faulure to select & drag multiple nodesCampbell Barton
A follow up on the fix for T98145 for the 2.7x keymap.
2022-05-26Fix T94857: 'Gizmo Operator' from python templates spins when draggedCampbell Barton
Callbacks used in the gizmo operator template don't support updating while being dragged, set the EXCLUDE_MODAL flag so the offsets aren't accumulated. Also fix the offset being applied twice to the move gizmo.
2022-05-23Fix T96878: When interface translation is enabled, grease pencil layer name ↵Bastien Montagne
is translated in menu. Those type of entries have to be tagged as not translatable...
2022-05-23Fix T98258: Duplicated last vertex after GPencil sample.YimingWu
Also fixed an unreported issue of incorrect interpolation of thickness. Reviewed By: Aleš Jelovčan (frogstomp), Antonio Vazquez (antoniov) Differential Revision: https://developer.blender.org/D15005
2022-05-23Fix float representation for Python API docsCampbell Barton
float_as_string(1000000) resulted in 1e+06.0 which isn't valid notation.
2022-05-20Fix T98145: IC keymap can't select & move multiple nodesCampbell Barton
Regression from [0] which changed operator properties without updating this keymap. [0]: 4c3e91e5f565b81dd79b5d42f55be5b93662d410
2022-05-18Fix T88792: WindowManager.clipboard missing in Python API docsCampbell Barton
Support RNA types using the Py/C-API PyGetSetDef defined properties. Currently `WindowManager.clipboard` is the only instance of this.
2022-05-16Fix: Node editor "Group" panel displays for embedded node treesHans Goudey
Embedded node trees are not groups, since their inputs and outputs are not exposed anywhere. So these panels should not be displayed.
2022-05-15Fix T81715: Unprojected radius mode messes up sculpt texture radiusJoseph Eagar
We really need to fix how unprojected radius (scene unit) works. What happened is the paint code updates the brush's normal radius with the current unprojected pixel radius, which was then used by texture brush tiled mode. To fix this I just cached the pixel radius at stroke start in UnifiedPaintSettings->start_pixel_radius.
2022-05-13Fix: Incorrect order in geometry nodes add menuHans Goudey
2022-05-10Fix T96520 Node editor: Tweak fails with unselected nodesCampbell Barton
Use the same method for node selection and dragging that is used in the 3D viewport and UV editor. Instead of relying on a modal operator - use the keymap to handle click/drag events. Details: Failure to transform unselected nodes was caused by [0] & [1] however detecting drag relied on specific behavior which I don't think we should be depending on. This error happened when selection was defined both in the key-map for the tool and for the node-editor. - The left mouse button would activate selection in both the tool and "Node Editor" keymap. - The first selection would return `FINISHED | PASS_THROUGH` when selecting a previously unselected node. - The same PRESS would trigger a second selection would return `RUNNING_MODAL | PASS_THROUGH`, (starting a NODE_OT_select as a modal operator). - In 3.1 (with tweak events) the modal operator would then exit and fall-back to the tweak event which would transform the selected nodes. - In 3.2 (as of [0]) the PRESS that starts the modal operator is considered "handled" and prevents drag event from being detected. The correct behavior in this case isn't obvious: If a modal operator starts on pressing a button, using that same the release to generate drag/click events is disputable. Even in the case or 3.1 it was inconsistent as tweak events were generated but click events weren't. Note: after investigating this bug it turns out a similar issue already existed in 2.91 and all releases afterwards. While the bug is more obscure, it's also caused by the tweak event being interrupted as described here, this commit resolves T81824 as well. [0]: 4d0f846b936c9101ecb76a6db962aac2d74a460a [1]: 4986f718482b061082936f1f6aa13929741093a2 Reviewed By: Severin Ref D14499
2022-05-10DrawManager: Hide lock acquire behind experimental feature.Jeroen Bakker
The acquire locking of the draw manager introduced other issues. The current implementation was a hacky solution as we know that the final solution is something totally different {T98016}. Related issues: * {T97988} * {T97600}
2022-05-10D14887: Fix artifacts in hue filterRamil Roosileht
The hue color filter now wraps correctly. Fixes T97768. Reviewed By: Julien Kaspar & Joseph Eagar Differential Revision: https://developer.blender.org/D14887 Ref D14887
2022-05-09Tweak i18n messages extraction script to avoid unwanted messages.Bastien Montagne
Code would add a bit too often the identifier of an RNA class to translated messages, this is only needed if there is no valid label available for it.
2022-05-09Fix T97915: Regression: Blender doesn't translate viewpoint menu items.Bastien Montagne
Another mistake in rBdb3f5ae48aca.
2022-05-03Cleanup: auto-formatCampbell Barton
2022-05-03Cleanup: use context.temp_overrideCampbell Barton
Remove use of deprecated operator context passing. Also minor clarification in the context.temp_override docs.
2022-05-02Blender 3.2 splashscreenThomas Dinges
Credits: Oksana Dobrovolska
2022-05-02Curves: support spherical delete brushJacques Lucke
Differential Revision: https://developer.blender.org/D14797
2022-04-30XR: Add object extras, object types visibility session optionsPeter Kim
This allows object extras such as image-empties to be shown in the VR viewport/headset display. Being able to see reference images in VR can be useful for architectural walkthroughs and 3D modeling applications. Since users may not want to see all object extras (lights, cameras, etc.), per-object-type visibility settings are also added as session options. By slightly refactoring the definition of the 3D View object types visibility panel (note: no functional changes), the VR Scene Inspection add-on can show a similar panel without duplicating code. When VR selection is possible in the future, the object type select options can also be enabled. Reviewed By: Severin Differential Revision: https://developer.blender.org/D14220
2022-04-29T95386: Add Discontinuity (Euler) filter to Dope Sheet.Demeter Dzadik
Add the Discontinuity (Euler) Filter operator to the Dope Sheet->Key menu, so it's not only available from the Graph Editor->Key menu. On request of @pablico, see T95386. This required changing a poll function which is used by a bunch of other operators, which seemed scary at first, but my thinking is that if an operator can execute in the Graph Editor, then it should also be able to execute in the Dope Sheet. I think the only reason this wouldn't be true is if we were storing animation data in the UI itself, which of course we don't. So I hope this is okay. Reviewed By: sybren Differential Revision: https://developer.blender.org/D14015
2022-04-29Cleanup: use 'use_' prefix for RNA booleanCampbell Barton
2022-04-28UI: Fix consistency issues with attribute tooltips and iconsEthan-Hall
This patch modifies tooltips of attributes and UV maps to resolve inconsistencies. It also restores the vertex color icon that went missing from the UI lists when color attributes replaced vertex colors. Fixes T97614 Differential Revision: https://developer.blender.org/D14768
2022-04-28VSE: Add option to limit timeline view heightRichard Antalik
When height is limited, it is defined by space occupied by strips, but at least channels 1 to 7 will be always visible. This allows it to easily overview timeline content by zooming out to maximum extent in Y axis and panning in X axis. More channels can be "created" on demand by moving strip to higher channel. When strip is removed and highest channel becomes empty, view will stay as is until it is moved down. Then new highest point is remembered and it is not possible to pan upwards until strip is moved to higher channel. Limiting takes into account height of scrubbing and markers area as well as scrollers. This means that when zoomed out to maximum extent, no strips are obstructed by fixed UI element. Fixes T57976 Reviewed By: Severin Differential Revision: https://developer.blender.org/D14263
2022-04-28Geometry Nodes: Add default attribute name to field inputs/outputsHans Goudey
Geometry node group inputs and outputs get a new property that controls the attribute name used for that field input/output when assigning the node group to a modifier for the first time. If the default name is assigned to an input, the default "Use attribute name" is true . In order to properly detect when a node group is first assigned, the modifier now clears its properties when clearing the node group. Ref T96707 Differential Revision: https://developer.blender.org/D14761
2022-04-27Fix T97235: PBVH draw cache invalidation bugJoseph Eagar
The PBVH draw cache wasn't being invalidated in all cases. It is now invalidated whenever a PBVH node's draw buffers are freed.
2022-04-26Geometry Nodes: Move named attribute nodes out of experimentalHans Goudey
Remove the experimental option for named attributes nodes show they are always available. Ref T91742
2022-04-26Animation: Sensible frame range for motion pathsColin Marmond
Motion paths can now be initialised to more sensible frame ranges, rather than simply 1-250: - Scene Frame Range - Selected Keyframes - All Keyframes Reviewed By: sybren, looch, dfelinto, pablico Maniphest Tasks: T93047 Differential Revision: https://developer.blender.org/D13687
2022-04-26Cleanup: line length for Python scriptsCampbell Barton
2022-04-26Cleanup: autopep8Campbell Barton
2022-04-25Sculpt: Remove hardcoded setting ofJoseph Eagar
auto-iteration property in mask filter Note: Auto-iteration is still set manually for increase/decrease contrast. These should probably become their own operators.
2022-04-25Fix T97423: Make mask filter less confusingJoseph Eagar
by showing redo panel. The A hotkey has "auto iteration" enabled by default, which calculates the number of times to run the filter using a heuristic based on vertex count. To make clear to the user what is going on the redo panel is now shown for the mask filter operator. NOTE: I discovered the source of the bug where sculpt operators' redo panels were greyed out. The name fed to SCULPT_undo_push_begin must match the operator name. I've added a comment in sculpt_intern explaining this.
2022-04-25NLA: Add Bake Action to the NLA edit menuBrad Clark
Add Bake Action to the NLA edit menu to aid discoverablity and allow people to understand that Bake Action is part of working with the NLA. Part of the NLA road map improvement project for the Animation Module. This was a community request to add access to the Bake without needing to turn on developer tools in the preferences and then use search in the NLA for bake. It seems this was always intended, as the operator is called `nla.bake`. Reviewed By: sybren Differential Revision: https://developer.blender.org/D14575
2022-04-22Fix various typos and other UI messages issues.Bastien Montagne
2022-04-22Fix T97429: Translateable Unit Names Missing in the File.Bastien Montagne
Added some regex magic in i18n py module to also extract UI names from all of our units definitions. Those enum values are fully dynamically generated, so they cannot be extracted from RNA introspection.
2022-04-22Change vertex paint icon color (fix)Ramil Roosileht
Apply standard green tool color to vertex paint tools, to keep icon color palette more consistent https://developer.blender.org/D14694
2022-04-22Reorder sculpt toolsRamil Roosileht
Changed tool order as proposed in [[ https://developer.blender.org/T97206 | T97206 ]] {F12987559} Reviewed By: JulienKaspar, jbakker Maniphest Tasks: T97206 Differential Revision: https://developer.blender.org/D14612
2022-04-21Fix: Use alphabetical order in geometry nodes add menuHans Goudey
2022-04-21Cleanup: don't use allocation variables in OpenColorIO configBrecht Van Lommel
These are only needed for the legacy GPU renderer, which we don't use.
2022-04-21Color Management: add ACEScg to the default configurationBrecht Van Lommel
For more easily reading and writing ACEScg EXR files.
2022-04-21Curves: show sculpt tool settings in panelsJacques Lucke
Ref T97444. Differential Revision: https://developer.blender.org/D14700