From 4a8675c120868fcc4e724a6e4bc30aed6a15220d Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 9 May 2016 12:43:52 +0000 Subject: [PATCH] DXF: regenerate after importing. Without this, some freshly imported entities appear with incorrect styles. --- src/solvespace.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/solvespace.cpp b/src/solvespace.cpp index 439803f..b89044d 100644 --- a/src/solvespace.cpp +++ b/src/solvespace.cpp @@ -552,6 +552,9 @@ void SolveSpaceUI::MenuFile(int id) { } else if(Extension(importFile) == "dwg") { ImportDwg(importFile); } else oops(); + + SS.GenerateAll(SolveSpaceUI::GENERATE_UNTIL_ACTIVE); + SS.ScheduleShowTW(); break; }