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;
|
||||
};
|
||||
|
@ -1246,8 +1247,9 @@ public:
|
|||
|
||||
struct PARTNAMECOL : PARSER
|
||||
{
|
||||
COLOR_ID Color;
|
||||
bool IsVisible = true;
|
||||
COLOR_ID Color;
|
||||
bool IsVisible = true;
|
||||
bool IsPickable = true;
|
||||
|
||||
void Parse( XNODE* aNode, PARSER_CONTEXT* aContext ) override;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue