PyAPI.
moved bpy into bpy.data and bpy will be eventually replace the root level 'Blender' module. currently we have bpy.library bpy.config and bpy.data
This commit is contained in:
@@ -643,7 +643,7 @@ def redux(ob, REDUX=0.5, BOUNDRY_WEIGHT=2.0, REMOVE_DOUBLES=False, FACE_AREA_WEI
|
||||
# Example usage
|
||||
def main():
|
||||
Blender.Window.EditMode(0)
|
||||
scn= bpy.scenes.active
|
||||
scn= bpy.data.scenes.active
|
||||
active_ob= scn.objects.active
|
||||
t= Blender.sys.time()
|
||||
redux(active_ob, 0.5)
|
||||
|
||||
Reference in New Issue
Block a user