Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26545] Crash when changing values for properties after changing max-min

Date:
2011-03-19 09:43
Priority:
3
State:
Closed
Submitted by:
yain vieyra (chaos)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Interface
Status:
Fixed / Closed
Relates to:
[#26510]
Duplicates:
Patches:
 
Summary:
Crash when changing values for properties after changing max-min
Detailed description
This bug can have relation with #26510
Take this steps:
1) With the default cube selected, create a single driver for any property like Location X.
2) Go to the Object Panel, and in the Custom Properties Tab, create a new Property.
3) Copy the property's data path.
4) Apply the data path to the previously created driver. Type > Averaged Value. Path to Cube and Single Property. Then, paste the data path in the Path field.
5) In the 3D view press N to display the tab, and go to Properties.
6) Change the value.
7) In the Custom Properties Tab, press the edit button and change the max amount. Press ok.
8) Back to the tab in 3d view, change the property value again going to maximum and minimum possible. Blender crashes.
9) If blender didn't crashed, repeat steps 6 to 8.

Sometimes when moving the Property value, the max or min value takes the Property value in that time unnecessarily, making crazy ranges to appear.

Blender 2.5x up to date r35622M

System:
Ubuntu 10.10 64bits
Quadcore AMD 3.2Ghz
4 GB RAM
Nvidia GeForce GT240

Followup

Message
  • Date: 2011-03-19 14:24
  • Sender: Ton Roosendaal
  • I would prefer you to add a .blend file example that requires the minimal amount of steps to redo crashes, this to ensure we have 100% certain the same case. The reporting guidelines are very clear about this.

    But it seems to be the same bug as 26510 yes. That one has been fixed though...
  • Date: 2011-03-19 16:47
  • Sender: yain vieyra
  • Here's a blend file bug.blend
    Just:
    1) Change the max or min value
    2) Press OK
    3) Change the property value in the 3D window

    Sometimes when fast enough changing the max and property value in 3dview, blender crashes. This isn't noticeable when changing the value from the Object Panel. It relates to 3D view some way.
    Note that I am using a build (r35622M) with 26510 fixed, so, maybe is another thing.
  • Date: 2011-03-20 02:09
  • Sender: Campbell Barton
  • This is the same problem as the previous bug but happens in a different place.
    The problem is that a different panel is holding a pointer reference to the ID property.

    The problem is any panel could potentially have an ID-Property displayed so to be safe it should redraw the entire UI.

    However this only fixes it for the property editor. any script can remove ID-Properties which are displayed in the UI so I think this should be solved by having the UI check the ID property is valid its self.

    Will look into it this week.
  • Date: 2011-03-20 02:32
  • Sender: yain vieyra
  • can the UI be updated when a new value is released? that would be fast enough to avoid that bug, I think.
  • Date: 2011-03-24 12:41
  • Sender: Campbell Barton
  • redraw all areas on editing properties.
    r35747.
 

Attached Files:

Name Date Download
bug.blend 2011-03-19 16:47 Download

Changes:

Field Old Value Date By
status_idOpen2011-03-24 12:41campbellbarton
close_dateNone2011-03-24 12:41campbellbarton
StatusInvestigate2011-03-24 12:41campbellbarton
File Added15446: bug.blend2011-03-19 16:47chaos
assigned_tonone2011-03-19 14:24ton
StatusNew2011-03-19 14:24ton