Setting custom properties min max range in python works weird #41431
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#41431
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
win 7 64bit geforce780GTX 6GB
Blender Version
Broken: 2.71 hash: 9337574
Short description of error
When an ID-property is created in python, its range is <-10k; +10k> (by dragging the value left right), but clicking the edit button of that property reveals <0.0;1.0>.
Setting the min max values in RNA_UI key dictionary causes the value to be draggable to -10k, +10k, but after release the value sets to min or max if it is out of range. The only solution for me is to click the propertys ui edit button and click OK. Thats what i would expect.
Am I missing something or is this really weird?
Thanks and best regards.
Exact steps for others to reproduce the error
Open test.blend and run script, drag the value in UI.
Uncomment script line, run script and test again. Lastly click edit property and OK.
Changed status to: 'Open'
Added subscriber: @jerryno
Added subscribers: @ideasman42, @Sergey
@ideasman42, mind having a look?
This issue was referenced by blender/blender@7728ffa16c
Changed status from 'Open' to: 'Resolved'
Closed by commit blender/blender@7728ffa16c.