Fix error when you paste entities over another entity and you try to rotate at the same time while pressing alt/shift key

This was SVN commit r16497.
This commit is contained in:
trompetin17 2015-04-04 21:45:11 +00:00
parent 43508ce3a0
commit a6a2914882

View File

@ -213,6 +213,8 @@ public:
POST_MESSAGE(ObjectPreview, (_T(""), GetScenarioEditor().GetObjectSettings().GetSettings(), Position(), false, Position(), 0, 0, true)); POST_MESSAGE(ObjectPreview, (_T(""), GetScenarioEditor().GetObjectSettings().GetSettings(), Position(), false, Position(), 0, 0, true));
else else
{ {
ScenarioEditor::GetCommandProc().FinaliseLastCommand();
//Create new Objects and delete preview objects //Create new Objects and delete preview objects
POST_MESSAGE(ObjectPreviewToEntity, ()); POST_MESSAGE(ObjectPreviewToEntity, ());