~holger-seelig/titania/3.0

« back to all changes in this revision

Viewing changes to libtitania-x3d/Titania/X3D/Execution/X3DScene.cpp

  • Committer: Holger Seelig
  • Date: 2013-08-05 19:51:24 UTC
  • Revision ID: holger.seelig@yahoo.de-20130805195124-weg56pajdi69mt1j
Test implementation of parallel load of images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
       Error <INVALID_OPERATION_TIMING>,
189
189
       Error <DISPOSED>)
190
190
{
191
 
        clear ();
192
 
 
193
191
        setWorldURL (worldURL);
194
192
 
195
193
        fromStream (istream);
202
200
       Error <INVALID_OPERATION_TIMING>,
203
201
       Error <DISPOSED>)
204
202
{
205
 
        clear ();
206
 
 
207
203
        Parser (istream, this) .parseIntoScene ();
208
204
 
209
205
        setupNodes ();
300
296
}
301
297
 
302
298
void
303
 
X3DScene::clear ()
304
 
{
305
 
        metadatas     .clear ();
306
 
        exportedNodes .clear ();
307
 
        exportedNames .clear ();
308
 
 
309
 
        X3DExecutionContext::clear ();
310
 
}
311
 
 
312
 
void
313
299
X3DScene::dispose ()
314
300
{
315
301
        metadatas     .clear ();