Skip to content

Commit ecc70c3

Browse files
committed
added SceneInterface::visibilityName = scene:visible
1 parent 6eac287 commit ecc70c3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

include/IECore/SceneInterface.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ class SceneInterface : public RunTimeTyped
9292
static const Name &rootName;
9393
/// Utility variable that can be used anytime you want to refer to the root path in the Scene.
9494
static const Path &rootPath;
95+
/// Name of the visibility attribute
96+
static const Name visibilityName;
9597

9698
/// Create an instance of a subclass which is able to open the file found at "path".
9799
/// Files can be opened for Read, Write, or Append depending on the derived classes.

src/IECore/SceneInterface.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ IE_CORE_DEFINERUNTIMETYPEDDESCRIPTION( SceneInterface )
4242

4343
const SceneInterface::Name &SceneInterface::rootName = IndexedIO::rootName;
4444
const SceneInterface::Path &SceneInterface::rootPath = IndexedIO::rootPath;
45+
const SceneInterface::Name SceneInterface::visibilityName( "scene:visible" );
4546

4647
class SceneInterface::CreatorMap : public std::map< std::pair< std::string, IndexedIO::OpenModeFlags >, CreatorFn>
4748
{

0 commit comments

Comments
 (0)