mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix for Issue #122 for Material Sounds
This commit is contained in:
parent
a6d86a13c6
commit
dc25f17a69
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue