Add support for ".dae" (and others) to filepicker load filter.

* Brought llfilepicker.{cpp,h} up to speed with V3 by adding
  FFLOAD_MODEL, FFLOAD_COLLADA, FFLOAD_SCRIPT, FFLOAD_DICTIONARY
  However, note that we used FFLOAD_LSL, so I renamed their
  FFLOAD_SCRIPT to FFLOAD_LSL and kept our way of filtering.
* Fixed the filter token that is sent to the plugin for
  collada (from "dae" to "collada").
This commit is contained in:
Aleric Inglewood
2013-01-07 20:00:54 +01:00
parent 79763aacf7
commit 5e7acb9f3a
5 changed files with 124 additions and 19 deletions

View File

@@ -60,10 +60,14 @@ public:
FFLOAD_XML = 6,
FFLOAD_SLOBJECT = 7,
FFLOAD_RAW = 8,
FFLOAD_MODEL = 9,
FFLOAD_COLLADA = 10,
FFLOAD_LSL = 11,
FFLOAD_DICTIONARY = 12,
// <edit>
FFLOAD_INVGZ = 9,
FFLOAD_AO = 10,
FFLOAD_BLACKLIST = 11
FFLOAD_INVGZ = 13,
FFLOAD_AO = 14,
FFLOAD_BLACKLIST = 15
// </edit>
};
@@ -84,12 +88,12 @@ public:
FFSAVE_J2C = 12,
FFSAVE_PNG = 13,
FFSAVE_JPEG = 14,
FFSAVE_LSL = 15,
// <edit>
FFSAVE_ANIMATN = 15,
FFSAVE_OGG = 16,
FFSAVE_NOTECARD = 17,
FFSAVE_GESTURE = 18,
FFSAVE_LSL = 19,
FFSAVE_ANIMATN = 16,
FFSAVE_OGG = 17,
FFSAVE_NOTECARD = 18,
FFSAVE_GESTURE = 19,
// good grief
FFSAVE_SHAPE = 20,
FFSAVE_SKIN = 21,