Gizmo.modal(): current value '20514' matches no enum in 'Event', '(null)', 'type' #73727
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#73727
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?
Blender Version
Broken: all versions up to this point
Short description of error
Whenever a Shift or a Ctrl key is pressed/released during a modal gizmo operation, event.type returns an empty string and the following warning is printed to the console:
Note: this warning is not printed if the script does not try to access event.type from a gizmo's modal() method.
Exact steps for others to reproduce the error
Added subscriber: @dairin0d
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm.
Looks like value 20514 is type
EVT_MODAL_MAP
, not sure whyRNA_property_enum_identifier
is not picking that up, checking...Added subscribers: @JulianEisel, @ideasman42
Hm, not too familiar with
wmEvent.type
, but it looks like not all event types (defined in wm_event_types.h) are in the enum (iterating withRNA_enum_from_value
).This might be for @ideasman42 or @JulianEisel to have a look at...
This issue was referenced by blender/blender@f874f6817d
Changed status from 'Confirmed' to: 'Resolved'