[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30763] trunk/blender/source/blender: * Added a new RNA subtype, PROP_IMAGEPATH.

Nicholas Bishop nicholasbishop at gmail.com
Tue Jul 27 01:32:53 CEST 2010

> For the file selector filtering you could check the name of the path
> given and see base the filter options based on that. Kindof a hack but
> will work when browsing for an existing image path.

In this case its usually not dealing with an existing image path.

> probably better to have a datatype enum (like a sub-sub-type :/ ),
> this way operator's which have a filepath property could set it to be
> any type could use existing defines for this IMAGEFILE, BLENDERFILE,
> TEXTFILE etc..

Would it be preferable to solve this without any use of RNA? E.g. make
a new UI template for use with any filepaths, and give that template a
filter property?


More information about the Bf-committers mailing list