Blender Git Commits

Blender Git "soc-2021-knife-tools" branch commits.

Page: 2 / 4

August 12, 2021, 13:08 (GMT)
Knife: Cycle through edges for local angle snapping

This patch adds the ability to press 'R' to cycle through edges to snap relative to when in local angle snapping mode.
The current edge is highlighted yellow and visible angle measurements are always drawn to that edge if enabled.
August 12, 2021, 11:09 (GMT)
Fix: Knife local angle snapping broken on rotated objects

World space calculations that were added for the Knife BVH support broke local angle snapping on rotated objects.
August 11, 2021, 15:51 (GMT)
Fix: Local angle snapping with cuts started from edge or vertex

Cuts that were started on an edge or vertex were not be able to use local angle snapping even though they should have been.
August 11, 2021, 12:12 (GMT)
Merge branch 'master' into soc-2021-knife-tools
August 11, 2021, 11:23 (GMT)
Knife: Enum for measurements and angle snapping mode in tool settings

Adds two new enums to the knife tool settings to select between angle snapping modes and measurement modes.
In the top bar these are displayed inside the popover.
August 10, 2021, 19:18 (GMT)
Knife: Added show measurements RNA toggle

Adds an RNA setting to enable visible distance and angle measurements by default for the knife tool.
Fixes compiler warnings as well.
August 10, 2021, 14:33 (GMT)
Merge branch 'master' into soc-2021-knife-tools
August 10, 2021, 12:11 (GMT)
Knife: Custom Knife BVH for multiple BMesh

Adds a custom Knife BVH which works with multiple BMesh's to replace the old BMBVH.
Currently, the new BVH is used in a functionally equivalent way to the old BMBVH but avoids re-allocating BVH's in multi-object edit mode.

This makes the current code slightly more complex, but will be incredibly useful when converting the knife tool code from object to world space, something that will need to be done to implement a better multi-object edit mode and further improvements to the tool.
August 3, 2021, 13:23 (GMT)
Cleanup: Added clarifying comment
August 3, 2021, 11:57 (GMT)
Knife: Added new knife modal keymaps to industry compatible
July 27, 2021, 17:59 (GMT)
Knife: Moved 'D' modal key to 'S'

Currently D is used for visual distance and angle measurements but this may be more suited to distance snapping in the future.
Thefore, I am moving it to 'S' and freeing up 'D'.
July 26, 2021, 10:09 (GMT)
Fix: Knife Project crash in multi-object edit mode

The commit which added multi-object edit mode support for the knife tool (bd6587cb524b24f3f43c4dde2a5eab845f54d82c) broke knife project in multi-object edit mode.
July 24, 2021, 20:18 (GMT)
Merge branch 'master' into soc-2021-knife-tools
July 24, 2021, 20:09 (GMT)
Knife: Added support for multi-object edit mode

Now you can create cuts on all objects in multi object edit mode.
- If a cut is started on a given object it can interact with that same object.
- The current object to be cut is switched based on the nearest edge to the mouse cursor, only when the tool mode is idle.
- When a cut is started in empty space it will interact with the last object the mouse was nearest before the cut was started.

Further improvements could include starting a cut in empty space interacting with the current object the mouse is nearest and allocating BMBVH's for each object on tool init instead of every time an object switch occurs.
July 21, 2021, 12:33 (GMT)
Cleanup: Fixed compiler warnings
July 19, 2021, 13:42 (GMT)
Knife: Better vertex handling for visible measurements

Visual angle measurements for the knife tool did not work well with vertices.
There were lots of buggy cases which this patch solves.
It also cleans up some of the old visual distance and angle measurements code.
July 19, 2021, 11:54 (GMT)
Cleanup: Added comment to clarify limitation of undo implementation
July 18, 2021, 12:55 (GMT)
Merge branch 'master' into soc-2021-knife-tools
July 18, 2021, 12:53 (GMT)
Knife: Fixed undo when cut is on edge

Fixed undo with cut segments along mesh edges and cut segments not over a mesh.
Cut segments along a mesh edge also no longer show as they are redundant.
July 18, 2021, 10:06 (GMT)
Knife: Moved midpoint snapping to SHIFT and ignore snapping to CTRL

Midpoint snapping was originally CTRL but when undo was added as CTRL-Z this caused some strange behaviour.
Therefore midpoint snapping was moved to ALT but this broke when alt-tabbing.
By moving midpoint snapping to SHIFT and ignore snapping to CTRL there are no more problems.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021