mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-16 20:17:30 +08:00
Fix Goto ambient emitter button
This commit is contained in:
parent
af32c5ab32
commit
713cc87df4
@ -504,7 +504,7 @@ namespace CodeWalker.Project.Panels
|
|||||||
{
|
{
|
||||||
if (CurrentEmitter == null) return;
|
if (CurrentEmitter == null) return;
|
||||||
if (ProjectForm.WorldForm == null) return;
|
if (ProjectForm.WorldForm == null) return;
|
||||||
ProjectForm.WorldForm.GoToPosition(CurrentEmitter.Position, CurrentEmitter.AudioZone.PositioningZoneSize);
|
ProjectForm.WorldForm.GoToPosition(CurrentEmitter.Position, CurrentEmitter.AudioEmitter.Position);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddToProjectButton_Click(object sender, EventArgs e)
|
private void AddToProjectButton_Click(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user