Crop node gizmo doesn't work #94784
Labels
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
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#94784
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?
The crop nodes gizmo displays as expected in 3.0 but can't be interacted with.
This is a regression in
482806c816
(should have been picked up in patch review).With the attached file
compo.blend
2.93 and prior to
482806c816
work as expected.Added subscriber: @ideasman42
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
CC @ZedDB
The bisection didn't catch the correct commit actually.
My commit broke it, yes. but we reverted part of it later so that the code started working again.
The commit that breaks this is actually
cbca71a7cf
There is a mistake where the
rctf
that is passed toBLI_rctf_isect
had its max and min values swapped.The older code explicitly stated which variables it would set, however the raw order is not the same.
So the clean up changes set the xmin AND xmax to zero instead of xmin and ymin.
I think this is the correct fix:
Can you guys confirm?
Added subscriber: @HooglyBoogly
That seems to work for me, sorry for the typo.
This works, although I'm increasingly of the opinion that we should avoid positional arguments when initializing struct members especially when moving C code to C++, it's bitten us a few times, is less readable - and can potentially backfire if struct members are ever recorded.
@ideasman42 how would you like it to be initialized?
Until MSVC supports C99's struct initialization - this is the closest match AFAICS.
{}
are important, to zero members not assigned later (in the case ofrctf
it's not so important but as a convention I think we should stick to this as it's caused multiple bugs when moving from C to C++ (Unless leaving other members uninitialized is intended, in that case it can be left out).const
but I don't think there are better alternatives.This issue was referenced by
5703efab88
Changed status from 'Confirmed' to: 'Resolved'
@ZedDB: for 3.0.1 corrective release,
5703efab88
doesnt apply (cbca71a7cf
is not in 3.0)What was reverted partially? What should go into 3.0.1? Are we sure this is actually broken in blender-v3.0-release? (I cannot reproduce there... neither in 3.0 release for some reason, pretty sure I could repro initially though)
@lichtwerk my bad, the clean up commit from Hans is indeed not in the 3.0 branch.
So disregard this fix.