|
|
@ -402,7 +402,7 @@ class PlasmaReverbRegion(PlasmaModifierProperties): |
|
|
|
eax_listener.softRegion = bo.plasma_modifiers.softvolume.get_key(exporter, so) |
|
|
|
eax_listener.softRegion = bo.plasma_modifiers.softvolume.get_key(exporter, so) |
|
|
|
if self.preset == "CUSTOM": |
|
|
|
if self.preset == "CUSTOM": |
|
|
|
# Someone's feeling exceedingly confident today... |
|
|
|
# Someone's feeling exceedingly confident today... |
|
|
|
props = EaxReverbProperties() |
|
|
|
props = EAXReverbProperties() |
|
|
|
props.environment = 26 |
|
|
|
props.environment = 26 |
|
|
|
props.environmentSize = self.environment_size |
|
|
|
props.environmentSize = self.environment_size |
|
|
|
props.environmentDiffusion = self.environment_diffusion |
|
|
|
props.environmentDiffusion = self.environment_diffusion |
|
|
@ -425,13 +425,13 @@ class PlasmaReverbRegion(PlasmaModifierProperties): |
|
|
|
props.lfReference = self.lf_reference |
|
|
|
props.lfReference = self.lf_reference |
|
|
|
flags = 0 |
|
|
|
flags = 0 |
|
|
|
for flag in self.flags: |
|
|
|
for flag in self.flags: |
|
|
|
flags |= getattr(EaxReverbProperties, flag) |
|
|
|
flags |= getattr(EAXReverbProperties, flag) |
|
|
|
props.flags = flags |
|
|
|
props.flags = flags |
|
|
|
eax_listener.listenerProps = props |
|
|
|
eax_listener.listenerProps = props |
|
|
|
elif self.preset == "MORE": |
|
|
|
elif self.preset == "MORE": |
|
|
|
eax_listener.listenerProps = getattr(EaxReverbProperties, "REVERB_PRESET_" + self.preset_more) |
|
|
|
eax_listener.listenerProps = getattr(EAXReverbProperties, "REVERB_PRESET_" + self.preset_more) |
|
|
|
else: |
|
|
|
else: |
|
|
|
eax_listener.listenerProps = getattr(EaxReverbProperties, "REVERB_PRESET_" + self.preset) |
|
|
|
eax_listener.listenerProps = getattr(EAXReverbProperties, "REVERB_PRESET_" + self.preset) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PlasmaSoftVolume(idprops.IDPropMixin, PlasmaModifierProperties): |
|
|
|
class PlasmaSoftVolume(idprops.IDPropMixin, PlasmaModifierProperties): |
|
|
|