Revision 71ed6f3 by Philipp Oeser 1 hour 46 min ago |
Fix T84658: Anisotropic BSDF - most modes not using Screen Space Reflection Anisotropic is not really supported in Eevee, but since code looks like it is just intended to make it behave like glossy, it should function like it too. Seems like the internal calling from `node_bsdf_glossy` from `node_bsdf_anisotropic` has swapped arguments. Also: ssr_id is available for SH_NODE_BSDF_ANISOTROPIC as well (see `ntree_tag_bsdf_cb`), so why not use it? Maniphest Tasks: T84658 Differential Revision: https://developer.blender.org/D10547 |
Revision bfc70a6 by Campbell Barton 3 hours 38 min ago |
Fix T86116: Failure to detect click events with modifier held Click detection logic relied on the event queue not accumulating events as newly added events at the end of the queue adjusted `wm->eventstate->prev{val/type}` which was then compared with events at the front of the queue. This made Ctrl-Click fail to detect the click as releasing Ctrl set the previous value before the previous event was handled. In practice this only happened in heavy scenes, updating 10 fps or lower. It also made automated tests fail that accumulate events before handling them. |
Revision 8da58dc by Campbell Barton 3 hours 56 min ago |
WM: prevent model keymap handling overwriting previous event values `wmEvent.prevtype` & `wmEvent.prevval` were overwritten when used in modal keymaps. Now they are restored to their original values. |
Revision d8b3521 by Campbell Barton 3 hours 56 min ago |
WM: set previous values for events in the event queue This makes event's prevval and prevtype usable for events in the queue. Previously they were unused, except as a hack for modal keymap handling. This is needed to fix T86116, where the `wm->eventstate->prev{val/type}` are set to values from events that have not been processed. |
Revision 6de41be by Campbell Barton 3 hours 56 min ago |
Cleanup: move logic to copy the previous event state to a function |
Revision 72d1545 by Campbell Barton 8 hours 29 min ago |
Cleanup: minor change to click detection checks Change order of checks for more convenient click-detection debugging. |
Revision 1638af1 by Campbell Barton 8 hours 50 min ago |
WM: don't set event prevval/prevtype on cursor motion Currently the intended behavior regarding prevval/prevtype isn't handled consistently. However, including cursor motion causes events in `wm->queue` and `wm->eventstate` to behave differently, where `wm->eventstate` ignores motion (necessary for click detection). This makes checks from `wm->eventstate` to events in the queue fail. This reverts 39919e35326c732141bfd2d740b19000b6bc1d51, using the `event.type` instead of it's previous type. This works as it includes mouse button release events. |
Revision fc08fe8 by Campbell Barton 9 hours 50 min ago |
Cleanup: spelling |
Revision fbba239 by Howard Trickey 17 hours 17 min ago |
Fix T86082 Bevel messed up UVs on some multisegment bevels. When polygons around a bevel are rebuilt, sometimes UVs are merged around a new vertex in the case of the face opposite a single edge being beveled on a 3-edge vertex. This should not have been done if any of the edges at that vertex were a seam. |
Revision f3d60c6 by Howard Trickey 1 day and 9 hours ago |
Fix T85948 Exact boolean crash with some nonplanar ngons. Triangulating ngons could fail with the method that was being used: projecting along the dominant normal axis and then using CDT. It could fail if the ngon has self crossings or might be so after the described projection. Switched to using projection along the normal itself, and also to using polyfill which produces some kind of triangulation no matter what in such circumstances. This will also likely be faster if there are a lot of ngons in the meshes, since the exact arithmetic CDT was being used before, and now float arithmetic is used. |
Revision 92743cc by Germano Cavalcante 1 day and 13 hours ago |
Fix T85886: Rotate Tool and Adjust Last Operation - angles inverted The constraint was not set when redoing. This commit also removes `postInputRotation`. I really couldn't see a use for it. |
Revision 28f0a4b by Bastien Montagne 1 day and 21 hours ago |
Fix (unreported) broken OCIO from install_deps. Looks like they removed static libs by default in OCIO 2.0, for some historical reasons `install_deps` was enforcing using only static libs for this one, now removed it so that Blender buil can use usual so's. |
Revision aad2f15 by Bastien Montagne 1 day and 21 hours ago |
Revision 4b16cb1 by Falk David 1 day and 21 hours ago |
Fix T85987: Selection when GP is parented When a GP object was parented to e.g. a bone, box selection as well as point selection were broken in that the selection from the user would not correlate with what was actually being selected. The issue was that box and point selection did not use the active evaluated stroke data. The fix uses the correct data. Reviewed By: antoniov Maniphest Tasks: T85987 Differential Revision: https://developer.blender.org/D10555 |
Revision e3c11b3 by Campbell Barton 1 day and 22 hours ago |
Fix error converting simulated events press/release to clicks Move logic that sets previous event state into WM_event_add_simulate. |
Revision 9cfb320 by Campbell Barton February 27, 2021, 05:30 (GMT) |
RNA: add Region.data member to access RegionView3D Without this, the RegionView3D could only be accessed from `context.region_data`, not the region. |
February 26, 2021, 21:23 (GMT) |
Geometry Nodes: Add "Location" output to Attribute Proximity node This patch adds an output field to the Attribute Proximity node and renames the existing string socket from "Result" to "Distance". - The "Distance" output contains distance to the closest position on the Target geometry. - The new "Location" output contains the coordinates of the closest position on the Target geometry. A basic use case for this data is a simple shrinkwrap operation. Differential Revision: https://developer.blender.org/D10415 |
Revision e00a871 by Sebastián Barschkis February 26, 2021, 20:35 (GMT) |
CMake/deps: Adjust OSL shader directory The location of the shaders changed with OSL 1.11.10. This commit is therefore in addition to D10212. @sybren With the latest SVN libraries, I am fairly certain there is a "OSL not found" in the CMake output. Can you check on Linux? @LazyDodo Since you haven't pushed the new OSL libs yet, this should not be a problem on Windows. So this will only be needed whenever those land. Reviewed By: LazyDodo Differential Revision: https://developer.blender.org/D10552 |
Revision 5c6cd5f by Kévin Dietrich February 26, 2021, 19:57 (GMT) |
Cleanup: unused class member |
Revision c0d8a14 by Pablo Dobarro February 26, 2021, 18:27 (GMT) |
Fix crash with dyntopo on tools that use cached vertex info Tools can cache data related to the mesh topology for later use. This data is indexed by vertex index, so it will be invalid after dyntopo changes the topology during the stroke. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10550 |
|