Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#26385] operator edit_properties return error
Date:
2011-03-06 21:27
Priority:
3
State:
Closed
Submitted by:
Eugenio Pignataro (
oscurart
)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
operator edit_properties return error
Detailed description
WIN 32 VISTA & UBUNTU 64
1- Add 1 custom property to object called prop.
2- Manually edit their values and accept.
3- Copy from log the command. bpy.ops.wm.properties_edit(description="", min=0, max=2, data_path="object", value="1.0", property="prop")
4- Paste the same command in the console, hit enter ...
Traceback (most recent call last):
File "/media/FILES/BLENDERS/blender-dev/install/linux2/2.56/scripts/op/wm.py", line 733, in execute
prop_old = self._last_prop[0]
File "/media/FILES/BLENDERS/blender-dev/install/linux2/2.56/scripts/modules/bpy_types.py", line 621, in __getattribute__
return super().__getattribute__(attr)
AttributeError: 'WM_OT_properties_edit' object has no attribute '_last_prop'
location:/media/FILES/BLENDERS/blender-dev/install/linux2/2.56/scripts/modules/bpy/ops.py:179
Followup
Message
Date
: 2011-03-22 00:53
Sender
:
Campbell Barton
give a warning rather then raising an error.
r35678.
Attached Files:
No Files Currently Attached
Changes:
Field
Old Value
Date
By
status_id
Open
2011-03-22 00:53
campbellbarton
close_date
None
2011-03-22 00:53
campbellbarton
Status
Investigate
2011-03-22 00:53
campbellbarton
assigned_to
none
2011-03-07 00:55
campbellbarton
Status
New
2011-03-07 00:55
campbellbarton