This test requires we call initialize.
This commit is contained in:
parent
0e2b319348
commit
e7327cbce5
1 changed files with 3 additions and 0 deletions
|
|
@ -121,6 +121,9 @@ namespace MatterHackers.PolygonMesh.UnitTests
|
|||
new ViewControls3D(new MatterControl.TextImageButtonFactory()),
|
||||
View3DWidget.OpenMode.Editing);
|
||||
|
||||
// because we are using it without adding it into a parent we need to initialize it
|
||||
view3DWidget.Initialize();
|
||||
|
||||
var scene = view3DWidget.Scene;
|
||||
scene.Children.Add(new Object3D
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue