Blender Git Commit Log

Git Commits -> Revision c7cdb9c

Revision c7cdb9c by Arystanbek Dyussenov (master)
June 15, 2009, 08:12 (GMT)
File selector working. For now it is accessed as
context.add_fileselect(self.__operator__).

To allow file selector, I made the following changes:

- moved property definition funcs (FloatProperty, etc.) to "bpy.props"
to make them accessible from io scripts. Previously they were only
accessible in scripts running from Text Editor.

- added the "__operator__" instance attribute to py operators. The value
is RNA operator pointer.

Note that "context.add_fileselect" changes were mistakenly committed
with my last merge.

Commit Details:

Full Hash: c7cdb9cc38aa1cbe0772041a21f0bb1640b06220
SVN Revision: 20891
Parent Commit: fd89381
Lines Changed: +32, -18

4 Modified Paths:

/release/io/export_obj.py (+6, -2) (Diff)
/source/blender/python/intern/bpy_interface.c (+1, -16) (Diff)
/source/blender/python/intern/bpy_operator_wrap.c (+8, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+17, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021