~holger-seelig/titania/4.0

« back to all changes in this revision

Viewing changes to libtitania-x3d/Titania/X3D/Basic/X3DBaseNode.cpp

  • Committer: Holger Seelig
  • Date: 2018-01-28 23:23:37 UTC
  • Revision ID: holger.seelig@yahoo.de-20180128232337-4fpqk73fb9v54n78
Use isInitializable in functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
349
349
        {
350
350
                try
351
351
                {
352
 
                        if (lhs -> getAccessType () & initializeOnly)
353
 
                        {
354
 
                                const auto rhs = node -> getField (lhs -> getName ());
355
 
        
356
 
                                if (not compare or not lhs -> equals (*rhs))
357
 
                                        *lhs = *rhs;
358
 
                        }
 
352
                        if (not lhs -> isInitializable ())
 
353
                                continue;
 
354
 
 
355
                        const auto rhs = node -> getField (lhs -> getName ());
 
356
 
 
357
                        if (not compare or not lhs -> equals (*rhs))
 
358
                                *lhs = *rhs;
359
359
                }
360
360
                catch (const X3DError & error)
361
361
                { }