forked from 0ad/0ad
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:
parent
43508ce3a0
commit
a6a2914882
@ -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, ());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user