]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/modellib.hxx
- better error message when submodel loading failed
[simgear.git] / simgear / scene / model / modellib.hxx
index 18e304ea6dc6850b0c24895d61105181a3c7d2f3..73866f206fe5460b589bcb7a13e3ac758b338659 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <simgear/structure/ssgSharedPtr.hxx>
 #include <simgear/props/props.hxx>
+#include "model.hxx"
 
 SG_USING_STD(map);
 SG_USING_STD(string);
@@ -36,7 +37,9 @@ public:
     virtual ssgEntity *load_model( const string &fg_root,
                                    const string &path,
                                    SGPropertyNode *prop_root,
-                                   double sim_time_sec );
+                                   double sim_time_sec,
+                                   bool cache_object,
+                                   SGModelData *data = 0 );
 protected:
 
     map<string,ssgSharedPtr<ssgEntity> > _table;