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-03-02Merge branch 'master' into temp-image-buffer-rasterizertemp-image-buffer-rasterizerJeroen Bakker
2022-03-02Added empty line at end of file.Jeroen Bakker
2022-03-02Added blending modes.Jeroen Bakker
2022-03-02Split rasterizer target to support other drawing targets.Jeroen Bakker
2022-03-02BLI: add scoped-defer utility to add RAII-like behavior to C typesJacques Lucke
This utility is useful when using C types that own some resource in a C++ file. It mainly helps in functions that have multiple return statements, but also simplifies code by moving construction and destruction closer together. Differential Revision: https://developer.blender.org/D14215
2022-03-02Add Object Tool: use the drag-start location for initial placementCampbell Barton
2022-03-02Fix T95963: change thresholds in complex solidifyHenrik Dick
This fix contains two parts. There was one critical mistake where order of two indices was wrong when removing constraint planes from the array. The other changes are improvements to the used thresholds to keep everything numerically stable. Differential Revision: http://developer.blender.org/D14183
2022-03-02Fix modal item open/close in the outliner since removing tweak eventsCampbell Barton
Correct check for left-mouse event which assumed the alternative was a tweak event. Also remove print added by accident.
2022-03-02Fix releasing modifier keys suppressing drag eventsCampbell Barton
Always use event.prev_click_type since this is never set on key-release, which could still interrupt dragging (box selecting for example).
2022-03-02Cleanup: misleading code from aa71414dfca7f301e101cce3e72551e7529290Campbell Barton
This branch was previously run when the action had been handled, since action checks were removed it was running. This assignment does nothing but shouldn't be kept.
2022-03-02Merge branch 'blender-v3.1-release'Sergey Sharybin
2022-03-02Fix T94609: geometry nodes always re-evaluated with image texture nodesBrecht Van Lommel
previously_visible_components_mask was not preserved for Image ID nodes, which meant it was always detected as newly visible and tagged to be updated, which in turn caused the geometry nodes using it to be always updated also. Reviewed By: sergey, JacquesLucke Maniphest Tasks: T94609 Differential Revision: https://developer.blender.org/D14217
2022-03-02Fix T96116: Image editor not updated when adding new tile.Jeroen Bakker
2022-03-02Reverted default constructor.Jeroen Bakker
2022-03-02Fix incorrect buffer operations.Jeroen Bakker
2022-03-02Docs: document the use_axis_view argumeht to view_roll_angleCampbell Barton
Also remove event print left in by accident.
2022-03-02Cleanup: rename direction enum as it's part of the key-map itemCampbell Barton
Also improve doc-strings for key-map item constants.
2022-03-02Cleanup: remove all tweak events from key-map presetsCampbell Barton
2022-03-02Event System: remove tweak events in favor of click-dragCampbell Barton
Supporting two kinds of dragging is redundant, remove tweak events as they only supported 3 mouse buttons and added complexity from using the 'value' to store directions. Support only click-drag events (KM_CLICK_DRAG) which can be used with any keyboard or mouse button. Details: - A "direction" member has been added to keymap items and events which can be used when the event value is set to KM_CLICK_DRAG. - Keymap items are version patched. - Loading older key-maps are also updated. - Currently the key-maps stored in ./release/scripts/presets/keyconfig/ still reference tweak events & need updating. For now they are updated on load. Note that in general this wont impact add-ons as modal operators don't receive tweak events. Reviewed By: brecht Ref D14214
2022-03-02Event System: match click-drag & tweak event handling for transformCampbell Barton
2022-03-02Event System: support "Release Confirms" for click-drag eventsCampbell Barton
2022-03-02Fix click-drag events for dragging markersCampbell Barton
Clicking and dragging markers accumulates flags from multiple operators in a way that can't be interpreted when combine. Follow tweak behavior for cancelling click-drag events.
2022-03-02Fix ignored click-drag events when operators pass-through & finishedCampbell Barton
Replacing tweak key-map items with click-drag caused selection in the graph/sequencer/node editors to ignore drag events (all uses of WM_generic_select_modal). Operators that return OPERATOR_PASS_THROUGH | OPERATOR_FINISHED result in the event loop considering the event as being handled. This stopped WM_CLICK_DRAG events from being generated which is not the case for tweak events. As click-drag is intended to be compatible with tweak events, accept drag events when WM_HANDLER_BREAK isn't set or when wm_action_not_handled returns true.
2022-03-02Cleanup: use back-slash for doxygen commands, color after parametersCampbell Barton
2022-03-02Merge remote-tracking branch 'origin/blender-v3.1-release'Kévin Dietrich
2022-03-02Fix T94952: normals maps don't render correctly with GPU subdivisionKévin Dietrich
A simple case of missing the tangent VBO. The tangents are computed from the coarse mesh, and interpolated on the GPU for the final mesh. Code for initializing the tangents, and the vertex format for the VBO was factored out of the coarse extraction routine, to be shared with the subdivision routine.
2022-03-02Cmake: Re-enable Amaranth add-onAaron Carlisle
This add-on now conforms to the distribution requirements, see: T95442.
2022-03-02Cmake: Re-enable Amaranth add-onAaron Carlisle
This add-on now conforms to the distribution requirements, see: T95442.
2022-03-02Cleanup: Refactor seeking codeRichard Antalik
Improve readability and reduce indentation levels. No functional changes. Reviewed By: zeddb Differential Revision: https://developer.blender.org/D14075
2022-03-02Fix potential crash during proxy buildingRichard Antalik
Last step of proxy building caused crash due to thread race contition when acessing ed->seqbase. Looking at code, it seems that calling IMB_close_anim_proxies on original strips is unnecessary so this code was removed to resolve this issue. Locking seqbase data may be possible, but it's not very practical as many functions access this data on demand which can easily cause program to freeze. Reviewed By: sergey Differential Revision: https://developer.blender.org/D14210
2022-03-02Merge branch 'blender-v3.1-release'Germano Cavalcante
2022-03-02Fix T95608: Mac issues with drag drop on multi-monitorGermano Cavalcante
Mousemove events are sent to windows. In Windows OS, almost all mousemove events are sent to the window whose mouse cursor is over. On MacOS, the window with mousemove events is always the active window. It doesn't matter if the mouse cursor is inside or outside the window. So, in order for non-active windows to also have events, `WM_window_find_under_cursor` is called to find those windows and send the same events. The problem is that to find the window, `WM_window_find_under_cursor` only has the mouse coordinates available, it doesn't differentiate which monitor these coordinates came from. So the mouse on one monitor may incorrectly send events to a window on another monitor. The solution used is to use a native API on Mac to detect the window under the cursor. For Windows and Linux nothing has changed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D14197
2022-03-01Merge branch 'blender-v3.1-release'Germano Cavalcante
2022-03-01Fix wrong object mode checking in snap codeGermano Cavalcante
The value of `OB_MODE_OBJECT` is 0, this makes it unsuitable as a bitflag. Issue pointed out at https://pvs-studio.com/en/blog/posts/cpp/0922/ Thanks to Andrey Karpov
2022-03-01Fix T92980: missing Cycles video texture update with persistent dataBrecht Van Lommel
2022-03-01GPencil: Improve subdivision modifierHenrik Dick
The subdivision modifier for Grease Pencil handles closed strokes correctly now and does converge to the same shape as the mesh subdivision surface. Differential Revision: http://developer.blender.org/D14218
2022-03-01Geometry Nodes: Port most curve primitives to new data-blockHans Goudey
Create `Curves` directly, instead of using the conversion from `CurveEval`. This means that the `tilt` and `radius` attributes don't need to be allocated. The old behavior is kept by using the right defaults in the conversion to `CurveEval` later on. The Bezier segment primitive isn't ported yet, because functions to provide easy access to built-in attributes used for Bezier curves haven't been added yet. Differential Revision: https://developer.blender.org/D14212
2022-03-01Cmake: Re-enable tiny cad add-onAaron Carlisle
This add-on now conforms to the distribution requirements, see: T95442.
2022-03-01Cmake: Re-enable tiny cad add-onAaron Carlisle
This add-on now conforms to the distribution requirements, see: T95442.
2022-03-01Curves: Move curves primitive to object add codeHans Goudey
Currently, any time a Curves data-block is created, the `curves_random` function runs, filling it with 500 random curves, also adding a radius attribute. This is just left over from the prototype in the initial commit that added the type. This commit moves the code that creates the random data to the curve editors module, like the other primitives are organized. Differential Revision: https://developer.blender.org/D14211
2022-03-01Cycles: Hide MetalRT checkbox for AMD GPUsMichael Jones
This patch hides the MetalRT checkbox for AMD GPUs, pending fixes for MetalRT argument encoding on AMD. Reviewed By: brecht Differential Revision: https://developer.blender.org/D14175
2022-03-01Improved rasterizing quality.Jeroen Bakker
2022-03-01Merge branch 'blender-v3.1-release'Campbell Barton
2022-03-01Fix T96035: Some tool settings do not workCampbell Barton
Oversight in 74611e3555684a22e9a07bd0992a444b571b8083 missed updating property access to use the tool identifier to lookup the property group.
2022-03-01Merge branch 'blender-v3.1-release'Sergey Sharybin
2022-03-01Fix T95997: Crash when entering edit modeSergey Sharybin
The issue was uncovered by the 0f89bcdbebf5, but the root cause goes into a much earlier design violation happened in the code: the modifier evaluation function is modifying input mesh, which is not something what is ever expected. Bring code closer to the older state where such modification is only done for the object in edit mode. --- From own tests works seems to work fine, but extra eyes and testing is needed. Differential Revision: https://developer.blender.org/D14191
2022-03-01Fix incorrect drag-event threshold when releasing modifiers earlyCampbell Barton
db4313610cab18933c1b1b1348720ea241b9d91e added support for modifier keys to be released while dragging. The key release events set wmEvent.prev_type which is used select the drag threshold, causing the wrong threshold to be used. Add wmEvent.prev_click_type which is only set when the drag begins.
2022-03-01Fix T96097: Image editor tile drawing not working.Jeroen Bakker
The image engine is depth aware when using tile drawing the depth is only updated for the central image what lead to showing the background on top of other areas. Also makes sure that switching the tile drawing would lead to an update of the texture slots.
2022-03-01Merge branch 'blender-v3.1-release'Jacques Lucke
2022-03-01Fix: dangling internal links after removing socketsJacques Lucke
This is a follow up for rBd5e73fa13dd275fb9c76b1e41142ab086dd2e6be. The issue was found with the file in T95997.