Fix for Issue #122 for Material Sounds

This commit is contained in:
DavidWyand-GG 2012-11-08 14:59:22 -05:00
parent a6d86a13c6
commit dc25f17a69
4 changed files with 4 additions and 4 deletions

View file

@ -814,7 +814,7 @@ function MaterialEditorGui::guiSync( %this, %material )
MaterialEditorPropertiesWindow-->showFootprintsCheckbox.setValue((%material).showFootprints);
MaterialEditorPropertiesWindow-->showDustCheckbox.setValue((%material).showDust);
MaterialEditorGui.updateSoundPopup("Footstep", (%material).footstepSoundId, (%material).customFootstepSound);
MaterialEditorGui.updateSoundPopup("Impact", (%material).footstepSoundId, (%material).customFootstepSound);
MaterialEditorGui.updateSoundPopup("Impact", (%material).impactSoundId, (%material).customImpactSound);
//layer specific controls are located here
%layer = MaterialEditorGui.currentLayer;

View file

@ -814,7 +814,7 @@ function MaterialEditorGui::guiSync( %this, %material )
MaterialEditorPropertiesWindow-->showFootprintsCheckbox.setValue((%material).showFootprints);
MaterialEditorPropertiesWindow-->showDustCheckbox.setValue((%material).showDust);
MaterialEditorGui.updateSoundPopup("Footstep", (%material).footstepSoundId, (%material).customFootstepSound);
MaterialEditorGui.updateSoundPopup("Impact", (%material).footstepSoundId, (%material).customFootstepSound);
MaterialEditorGui.updateSoundPopup("Impact", (%material).impactSoundId, (%material).customImpactSound);
//layer specific controls are located here
%layer = MaterialEditorGui.currentLayer;

View file

@ -814,7 +814,7 @@ function MaterialEditorGui::guiSync( %this, %material )
MaterialEditorPropertiesWindow-->showFootprintsCheckbox.setValue((%material).showFootprints);
MaterialEditorPropertiesWindow-->showDustCheckbox.setValue((%material).showDust);
MaterialEditorGui.updateSoundPopup("Footstep", (%material).footstepSoundId, (%material).customFootstepSound);
MaterialEditorGui.updateSoundPopup("Impact", (%material).footstepSoundId, (%material).customFootstepSound);
MaterialEditorGui.updateSoundPopup("Impact", (%material).impactSoundId, (%material).customImpactSound);
//layer specific controls are located here
%layer = MaterialEditorGui.currentLayer;

View file

@ -814,7 +814,7 @@ function MaterialEditorGui::guiSync( %this, %material )
MaterialEditorPropertiesWindow-->showFootprintsCheckbox.setValue((%material).showFootprints);
MaterialEditorPropertiesWindow-->showDustCheckbox.setValue((%material).showDust);
MaterialEditorGui.updateSoundPopup("Footstep", (%material).footstepSoundId, (%material).customFootstepSound);
MaterialEditorGui.updateSoundPopup("Impact", (%material).footstepSoundId, (%material).customFootstepSound);
MaterialEditorGui.updateSoundPopup("Impact", (%material).impactSoundId, (%material).customImpactSound);
//layer specific controls are located here
%layer = MaterialEditorGui.currentLayer;