CADSTAR: Parse missing NOTPICKABLE node
This commit is contained in:
parent
7d9ee76f64
commit
213d2fe977
|
@ -2209,6 +2209,10 @@ void CADSTAR_ARCHIVE_PARSER::ATTRCOL::Parse( XNODE* aNode, PARSER_CONTEXT* aCont
|
|||
{
|
||||
IsVisible = false;
|
||||
}
|
||||
else if( cNodeName == wxT( "NOTPICKABLE" ) )
|
||||
{
|
||||
IsPickable = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
THROW_UNKNOWN_NODE_IO_ERROR( cNodeName, aNode->GetName() );
|
||||
|
@ -2261,6 +2265,10 @@ void CADSTAR_ARCHIVE_PARSER::PARTNAMECOL::Parse( XNODE* aNode, PARSER_CONTEXT* a
|
|||
{
|
||||
IsVisible = false;
|
||||
}
|
||||
else if( cNodeName == wxT( "NOTPICKABLE" ) )
|
||||
{
|
||||
IsPickable = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
THROW_UNKNOWN_NODE_IO_ERROR( cNodeName, aNode->GetName() );
|
||||
|
|
|
@ -1230,6 +1230,7 @@ public:
|
|||
ATTRIBUTE_ID AttributeID;
|
||||
COLOR_ID Color;
|
||||
bool IsVisible = true;
|
||||
bool IsPickable = true;
|
||||
|
||||
void Parse( XNODE* aNode, PARSER_CONTEXT* aContext ) override;
|
||||
};
|
||||
|
@ -1248,6 +1249,7 @@ public:
|
|||
{
|
||||
COLOR_ID Color;
|
||||
bool IsVisible = true;
|
||||
bool IsPickable = true;
|
||||
|
||||
void Parse( XNODE* aNode, PARSER_CONTEXT* aContext ) override;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue