Align to Transform Orientation Axis Property Doesn't Work #90313

Closed
opened 2021-07-29 21:30:46 +02:00 by Jonathan Lampel · 11 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8

Short description of error
Changing the Axis property of Align to Transform Orientation does nothing. It should either determine which of the target axes the object's Z is aligned with or which of the object's axes is aligned with the target's Z.

Exact steps for others to reproduce the error

  1. Add a Suzanne or any other model that shows what direction it's pointing
  2. Rotate the object so it's not aligned with the world
  3. Use Align to Transform Orientation
  4. Set the Orientation to Global (or anything else it's not aligned with) in the redo panel
  5. Change the Axis to X or Y in the redo panel
**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` **Short description of error** Changing the Axis property of Align to Transform Orientation does nothing. It should either determine which of the target axes the object's Z is aligned with or which of the object's axes is aligned with the target's Z. **Exact steps for others to reproduce the error** 1. Add a Suzanne or any other model that shows what direction it's pointing 2. Rotate the object so it's not aligned with the world 3. Use Align to Transform Orientation 4. Set the Orientation to Global (or anything else it's not aligned with) in the redo panel 4. Change the Axis to X or Y in the redo panel

Added subscriber: @JonathanLampel-4

Added subscriber: @JonathanLampel-4
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

Added subscriber: @APEC

Added subscriber: @APEC

Just tested, it seems changing axis do nothing, only align by Z for any orientation.
Also changing Values do nothing, always resets to 0.
Orient_by_X_or_Y.mp4

Just tested, it seems changing axis do nothing, only align by Z for any orientation. Also changing Values do nothing, always resets to 0. [Orient_by_X_or_Y.mp4](https://archive.blender.org/developer/F10247256/Orient_by_X_or_Y.mp4)
Member

Added subscribers: @mano-wii, @lichtwerk

Added subscribers: @mano-wii, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

From first glance, it looks like Orientation Axis is not used here. (@mano-wii : correct me if I am wrong).
If it is indeed unused, maybe we can hide it from the Adjust Last Operation panel?

From first glance, it looks like `Orientation Axis` is not used here. (@mano-wii : correct me if I am wrong). If it is indeed unused, maybe we can hide it from the `Adjust Last Operation` panel?

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Align does not have its own operator. It is a "submode" of the generic transform operator.
In the transform operator, the Orientation Axis is purposely kept visible as it is commonly used in other modes.
Maybe we could use the poll_property callback to display properties depending on the mode.
But this needs to be studied.

`Align` does not have its own operator. It is a "submode" of the generic transform operator. In the transform operator, the `Orientation Axis` is purposely kept visible as it is commonly used in other modes. Maybe we could use the `poll_property` callback to display properties depending on the `mode`. But this needs to be studied.

This issue was referenced by 4e1a1821e0

This issue was referenced by 4e1a1821e04aa54d536f49018156e0f9cf95cf7e

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Germano Cavalcante self-assigned this 2021-08-03 16:32:49 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#90313
No description provided.