Snap_Utilities_Line not reacting to mouse position after typing when axis is locked #105137
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105137
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.33
Blender Version
Broken: version: blender-4.1.0-alpha+main.4effcd33a3f9-windows.amd64-release
4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash:
9be62e85b727
Worked: No
Addon Information
Name: Snap_Utilities_Line (6, 7, 1)
Author: Germano Cavalcante
Short description of error
If it's okay, can you make it so the positive value moves towards to mouse after locking the axis and selecting the direction with the mouse? It would be great to be able to easily lock the axis and then type in lengths but then choose the positive or negative direction with the mouse position. Currently when you pick the first direction the line is stuck an ignores the mouse position. It doesn't go the other way when the axis is locked but mouse is moved. It should be able to move with the mouse in the positive and negative direction after the length is typed in but enter is not pressed. Not just point in the original direction.
Exact steps for others to reproduce the error
Start drawing a line.
Lock the z axis with the z key.
Type in 2 and check the direction.
After typing in the length move the mouse in the opposite direction. The line doesn't flip to the other side.
Thank you for your suggestion. However, we discourage feature requests in this channel to maintain efficiency. For user feedback and feature requests, please use other channels: User Feedback and Feature Requests.
While I appreciate your input, as the addon's author, I'm not currently inclined to implement these minor improvements. Nevertheless, I'm open to reviewing patches from contributors: Contributing Code.
For more information on why this isn't considered a bug, please visit: Not a Bug.
It was more complex than I expected, but a solution was implemented in
368fe93ffd
I just tried Blender 4.1.0 Alpha 1dfb41bc7550 SHA 19 Jan 09:52 x64. Thank you so much for the two amazing updates.
The code worked really well when the axis is locked but not when unlocked.
Maybe an if statement would be good, saying something like do what the code is doing is now if the x, y or z axis is locked but then having something slightly different when it's unlocked.
The broken bit: Click somewhere without the axis being locked and type in a distance like 2. Then move the mouse around. The line will flip 180 degrees when the mouse moves. It points perfectly in the positive or negative direction but does not spin around the first point, at the set length, 360 degrees. It is almost perfect though.
A attached a video just to show the 180 flip with a positive and negative number. Which is good, but it just needs to be able to spin freely or to the snap points, like increments.
I don't consider this a bug.
I can’t say much other than thank you as you made it work when the axis is locked, as the title for the bug says, and it is heaps better than before. But it only half works now as it can't move normally. Just flip back and forward 180 degrees. If I use ChatGTP and try and figure out some code to fix this, can the case be left open till I figure out how to fix it or can I create a new issue report? I'll try hard to figure out how to code and submit a push request. The line tool is finally almost working perfectly.