Make envelopes unsynchronized by default and explain the setting better (fixes #479)

This commit is contained in:
def 2016-05-14 00:42:40 +02:00
parent b0b2774695
commit ff747953b4
2 changed files with 2 additions and 2 deletions

View file

@ -4393,7 +4393,7 @@ void CEditor::RenderEnvelopeEditor(CUIRect View)
ToolBar.VSplitLeft(15.0f, &Button, &ToolBar); ToolBar.VSplitLeft(15.0f, &Button, &ToolBar);
ToolBar.VSplitLeft(12.0f, &Button, &ToolBar); ToolBar.VSplitLeft(12.0f, &Button, &ToolBar);
static int s_SyncButton; static int s_SyncButton;
if(DoButton_Editor(&s_SyncButton, pEnvelope->m_Synchronized?"X":"", 0, &Button, 0, "Enable envelope synchronization between clients")) if(DoButton_Editor(&s_SyncButton, pEnvelope->m_Synchronized?"X":"", 0, &Button, 0, "Synchronize envelope animation to game time (restarts when you touch the start line)"))
pEnvelope->m_Synchronized = !pEnvelope->m_Synchronized; pEnvelope->m_Synchronized = !pEnvelope->m_Synchronized;
ToolBar.VSplitLeft(4.0f, &Button, &ToolBar); ToolBar.VSplitLeft(4.0f, &Button, &ToolBar);

View file

@ -61,7 +61,7 @@ public:
m_aName[0] = 0; m_aName[0] = 0;
m_Bottom = 0; m_Bottom = 0;
m_Top = 0; m_Top = 0;
m_Synchronized = true; m_Synchronized = false;
} }
void Resort() void Resort()