Changeset View
Changeset View
Standalone View
Standalone View
add_curve_sapling/__init__.py
| Context not available. | |||||
| directory = os.path.dirname(script_file) | directory = os.path.dirname(script_file) | ||||
| localDir = os.path.join(directory, "presets") | localDir = os.path.join(directory, "presets") | ||||
| return (localDir, userDir) | return localDir, userDir | ||||
| class ExportData(bpy.types.Operator): | class ExportData(bpy.types.Operator): | ||||
| """This operator handles writing presets to file""" | """This operator handles writing presets to file""" | ||||
| Context not available. | |||||
| description='Whether animation is added to the leaves', | description='Whether animation is added to the leaves', | ||||
| default=False, update=update_tree) | default=False, update=update_tree) | ||||
| frameRate = FloatProperty(name='Animation Speed', | frameRate = FloatProperty(name='Animation Speed', | ||||
| description=('Adjust speed of animation, relative to scene frame rate'), | description='Adjust speed of animation, relative to scene frame rate', | ||||
| min=0.001, | min=0.001, | ||||
| default=1, update=update_tree) | default=1, update=update_tree) | ||||
| loopFrames = IntProperty(name='Loop Frames', | loopFrames = IntProperty(name='Loop Frames', | ||||
| Context not available. | |||||