[Bf-committers] Translate to 2.57

Campbell Barton ideasman42 at gmail.com
Sun May 1 06:45:49 CEST 2011


>From a quick look at the script there are 2 changes needed.

Change:
bpy.types.Scene.FloatProperty(attr = "ASKETCH_stroke_size", name =
"Size", description = "Size of the stroke", default = 0.5, min = 0,
max = 10)

To:
bpy.types.Scene.ASKETCH_stroke_size = bpy.props.FloatProperty(name =
"Size", description = "Size of the stroke", default = 0.5, min = 0,
max = 10)



Change:
bpy.types.register(OBJECT_OT_ASKETCH_metaballs_rename)

To:
bpy.utils.register_class(OBJECT_OT_ASKETCH_metaballs_rename)


More information about the Bf-committers mailing list