Fix #120302: Crash Using Eyedropper on Color Ramp #120323

Closed
Harley Acheson wants to merge 1 commits from Harley/blender:Fix120302 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

Fix crash when using hotkey to open eyedropper over a color ramp. This
is accessing data that is never assigned and therefore always null.


@HooglyBoogly - Really not sure what has happened here. This Colorband_RNAUpdateCb is no longer used. Ignoring it seems to cause no bad behavior, as in it works by pressing "E" the same way as selecting "Eye Dropper" from the menu.

Fix crash when using hotkey to open eyedropper over a color ramp. This is accessing data that is never assigned and therefore always null. --- @HooglyBoogly - Really not sure what has happened here. This `Colorband_RNAUpdateCb` is no longer used. Ignoring it seems to cause no bad behavior, as in it works by pressing "E" the same way as selecting "Eye Dropper" from the menu.
Harley Acheson added 1 commit 2024-04-05 20:37:39 +02:00
8defaee392 Fix #120302: Crash Using Eyedropper on Color Ramp
Fix crash when using hotkey to open eyedropper over a color ramp. This
is accessing data that is never assigned and therefore always null.
Harley Acheson added this to the User Interface project 2024-04-05 20:37:52 +02:00
Harley Acheson requested review from Hans Goudey 2024-04-05 20:37:59 +02:00
Member

Ignoring it seems to cause no bad behavior, as in it works by pressing "E" the same way as selecting "Eye Dropper" from the menu.

It doesn't, the menu option live updates as you drag the cursor, E now only updates when you release the mouse

> Ignoring it seems to cause no bad behavior, as in it works by pressing "E" the same way as selecting "Eye Dropper" from the menu. It doesn't, the menu option live updates as you drag the cursor, `E` now only updates when you release the mouse
Author
Member

@LazyDodo - It doesn't, the menu option live updates as you drag the cursor, E now only updates when you release the mouse

Ouch, you are right.

> @LazyDodo - It doesn't, the menu option live updates as you drag the cursor, `E` now only updates when you release the mouse Ouch, you are right.
Member

Eek, I missed this when doing that refactor, thanks for taking a look. I think the proper fix is to find the active button and retrieve the information from it again.

Eek, I missed this when doing that refactor, thanks for taking a look. I think the proper fix is to find the active button and retrieve the information from it again.
Member
504992cb0e4aff5b56a6ef2229c7834472de52df
Hans Goudey closed this pull request 2024-04-17 18:53:44 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
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
3 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#120323
No description provided.