Hello, In an addon with preferences, is there a way of displaying the project's current scene fps inside a box as default, instead of some fixed number?
This is the image of the preferences box<http://florestavermelha.files.wordpress.com/2014/02/revolver.jpg> . The current code is this: prop_fps = FloatProperty( name="FPS (Beware!)", description="Transcoded videos will have this FPS - \ this *MUST* be the same as your project", default=24.00 ) The idea would be to show the result of this: render = bpy.context.scene.render fps = round((render.fps / render.fps_base), 3) Just in case, full code is here<https://github.com/szaszak/blender_velvets/blob/master/velvet_revolver.py>, addon is already functional. thanks for the help!
_______________________________________________ Bf-python mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-python
