Tested in: 2.70.5 (06a05e4)
- Default Cube
- Editmode
- select an edge
- start Edge Crease modal operation (Shift+E).
- Set it to e.g. 0.7 and confirm.
- Redo panel shows "Edge Crease 1.0", which is obviously wrong.
- If you slide the value property, the edge crease indicator (red lines) disappear in 3D View, even if set to 1.0 again in Redo panel.
In addition, it doesn't work if called with python. It seems like execute() is broken / not supported, which would explain both problems:
Default Cube, Editmode, run below script:
import bpy
def main(context):
for ob in context.scene.objects:
print(ob)
class SimpleOperator(bpy.types.Operator):
"""Tooltip"""
bl_idname = "object.simple_operator"
bl_label = "Simple Object Operator"
@classmethod
def poll(cls, context):
return context.active_object is not None
def execute(self, context):
bpy.ops.transform.edge_crease(value=1)
return {'FINISHED'}
def register():
bpy.utils.register_class(SimpleOperator)
def unregister():
bpy.utils.unregister_class(SimpleOperator)
if __name__ == "__main__":
register()
# test call
bpy.ops.object.simple_operator()