Fixed the text creator to work with new MeshGroups code for AMF.

Move more stuff from View3DWidget into separate files.
Renamed View3DWidget.
This commit is contained in:
larsbrubaker 2014-10-16 17:52:21 -07:00
parent f9d4d526e6
commit 55923d8f2a
16 changed files with 253 additions and 119 deletions

View file

@ -37,7 +37,7 @@ using MatterHackers.PolygonMesh;
namespace MatterHackers.MatterControl.PartPreviewWindow
{
public partial class View3DTransformPart
public partial class View3DWidget
{
void UngroupSelectedMeshGroup()
{
@ -69,7 +69,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
BackgroundWorker backgroundWorker = (BackgroundWorker)sender;
PushMeshGroupDataToAsynchLists(TranceInfoOpperation.DO_COPY);
PushMeshGroupDataToAsynchLists(TraceInfoOpperation.DO_COPY);
int indexBeingReplaced = MeshGroups.IndexOf(SelectedMeshGroup);
asynchMeshGroups[indexBeingReplaced].Transform(asynchMeshGroupTransforms[indexBeingReplaced].TotalTransform);