Filter out null properties
This commit is contained in:
parent
03b9d21594
commit
96574587c0
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
};
|
||||
|
||||
// Shown known editors for any matching properties
|
||||
foreach (var member in members)
|
||||
foreach (var member in members.Where(m => m.Value != null))
|
||||
{
|
||||
if (ApplicationController.Instance.GetEditorsForType(member.Type)?.FirstOrDefault() is IObject3DEditor editor)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue