Fixing passed in color when selected object is default
This commit is contained in:
parent
4a48f2e3e8
commit
16af8dcdb2
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
var selection = scene.SelectedItem;
|
||||
if (selection != null)
|
||||
{
|
||||
setColor?.Invoke(selection.Color);
|
||||
setColor?.Invoke(selection.WorldColor());
|
||||
scene.SelectionChanged -= SelectionChanged;
|
||||
cancellationToken?.Cancel();
|
||||
scene.SelectedItem = startingSelection;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue