exposed -bug

if I expose inputChannel then, close editor > deselect object > select obj > open editor, and change type of channel from there, sometimes i get this error in the modifiers’s UI (or at least this is how i can reproduce it))


exposed_face.png

also, curve operator can be exposed only if something else is exposed

I have seen this, but could not find the exact steps that caused the corruption.
Will try to figure out why it is happening, but I have the impression it is the Max Custom Attributes doing that…

Thanks, we actually found that bug the next day and fixed it internally. I will post the latest version of the MagmaFlow Editor script in the Builds forum.
EDIT: Here you go: viewtopic.php?f=134&t=7390&p=30408#p30408

The curve it’s working fine now

I got this MS only once cuased by the UI error, it might be useful to you… MS_error_Exposed.txt (5.47 KB)

(not vital, but the addPreset macroScript is not changing the iteration mode, it’s using the last picked)

Not exactly true. It does not change the mode if you load presets saved before Beta 4.
The latest version of the script saves the iteration mode in the preset, so newly saved presets will restore their state (or at least they should).
It also saves the other settings like “Remove Degenerate Faces” and “Clamp Selection” and should restore when a preset is loaded.

If you have a preset that you saved with the very latest scripts that does not change the iteration mode when loaded, please upload it here and I will take a look.

Sometimes when I change a parameter inside magma that is exposed it throws this error

-- Error occurred in spn_valueInt.changed(); filename: C:\Program Files\Thinkbox\Genome MX\Scripts\Genome_MagmaFlow.ms; position: 117530; line: 2835
--  Frame:
--   theMod: #(ReferenceTarget:ParamBlock2, Genome_Modifier:GNM_FaceSelByIndex, Genome_Modifier:GNM_Bend)
--   val: 5
--   currentID: 3
-- Error occurred in anonymous codeblock; filename: C:\Program Files\Thinkbox\Genome MX\Scripts\Genome_MagmaFlow.ms; position: 117530; line: 2835
>> MAXScript Rollout Handler Exception:
-- Unknown property: "KCM_CA" in ReferenceTarget:ParamBlock2 <<

changing values is a bit slower when magma is open vs closed, is this normal?

Thanks for the bug report, will try to figure it out. I have a hunch what is causing it… (EDIT: Fixed, it was a bad bug! Thanks again!)
As for the speed, yes, changing a parameter with the Editor open is slower because the changed value has to be updated on the corresponding node.