> 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?

-Nicholas
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to