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

Blender 2.6 Bug Tracker: Browse

[#26094] Going to Bone Roll menu brings up python error

Date:
2011-02-15 11:44
Priority:
3
State:
Closed
Submitted by:
Jonathan Smith (jaydez)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Going to Bone Roll menu brings up python error
Detailed description
r34680
Ubuntu Linux 10.04

Open Blender from a terminal

Default Blender setup
Delete the default cube (you don't need to do this to replicate..)
Add a bone
Enter edit-mode on the bone
Go to Armature>Bone Roll in the 3D View header
Check the terminal and you will find this error:

Traceback (most recent call last):
File "/home/jonathan/programming/blender-src/install/linux2/2.56/scripts/ui/space_view3d.py", line 1941, in draw
layout.operator("armature.calculate_roll", text="Recalculate with Z-Axis Up").type = 'GLOBALUP'
TypeError: bpy_struct: item.attr = val: enum "GLOBALUP" not found in ('X', 'Y', 'Z', 'ACTIVE', 'VIEW', 'CURSOR')

location:<unknown location>:-1

location:<unknown location>:-1

Doesn't seem to affect anything since I can use the Recalculate with Z-Axis Up operator that is in the menu, although I'm not sure if it is working correctly. Maybe the .type = 'GLOBALUP' is not needed?

Followup

Message
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-02-16 03:39campbellbarton
close_dateNone2011-02-16 03:39campbellbarton
assigned_tonone2011-02-16 03:39campbellbarton
StatusNew2011-02-16 03:39campbellbarton