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

Blender 2.6 Bug Tracker: Browse

[#25776] Crash when operator's bl_idname has more than one dot

Date:
2011-01-23 18:20
Priority:
3
State:
Closed
Submitted by:
Tom Edwards (artfunkel)
Assigned to:
Campbell Barton (campbellbarton)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Crash when operator's bl_idname has more than one dot
Detailed description
Giving any operator three or more levels results in it being treated twice. For example, changing "mesh.primitive_gem_add" to "mesh.primitive_gem.add" results in
MESH_OT_PRIMITIVE_GEM_OT_add. This crashes Blender whenever the operator appears in the UI and prevents it from being accessed directly.

The problem is WM_operator_bl_idname(), which searches for '.' characters and formats the string regardless of whether it's been processed once already. (Or, arguably, that idnames with multiple dots make it that far at all...)

Followup

Message
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-01-24 06:16campbellbarton
close_dateNone2011-01-24 06:16campbellbarton
assigned_tonone2011-01-24 06:16campbellbarton
StatusNew2011-01-24 06:16campbellbarton