Properties: remove assertion that no longer makes sense
This commit is contained in:
parent
c6540575b5
commit
e5b376721d
|
@ -218,9 +218,12 @@ void PROPERTIES_PANEL::rebuildProperties( const SELECTION& aSelection )
|
|||
for( wxPropertyGridIterator it = m_grid->GetIterator(); !it.AtEnd(); it.Next() )
|
||||
{
|
||||
wxPGProperty* pgProp = it.GetProperty();
|
||||
|
||||
PROPERTY_BASE* property = propMgr.GetProperty( TYPE_HASH( *firstItem ), pgProp->GetName() );
|
||||
wxCHECK2( property, continue );
|
||||
|
||||
// Switching item types? Property may no longer be valid
|
||||
if( !property )
|
||||
continue;
|
||||
|
||||
wxVariant commonVal;
|
||||
|
||||
extractValueAndWritability( aSelection, property, commonVal, writeable );
|
||||
|
|
Loading…
Reference in New Issue