Before I log a bug report, I want to make sure I'm not doing something
stupid.
Here is what I do.

- New Scene
- Create a null
- Create a custom property on that null with a boolean parameter
- Set a key on the parameter ( value = False )
- Now create a new animation layer
- Set the param to True and Key
- Move to another frame and key again
BAM ! The parameter is set to False without asking !

Am I doing anything wrong there ?


You can also reproduce the bug with this script :

Application.NewScene("", "")
Application.GetPrim("Null", "", "", "")
Application.AddProp("Custom_parameter_list", "", "", "CustomPSet", "")
Application.SIAddCustomParameter("null", "Param", "siBool", 0, 0, 1, "",
2053, 0, 1, "", "")
Application.SelectObj("null.CustomPSet", "", "")
Application.SetValue("null.CustomPSet.Param", True, "")
Application.SetValue("null.CustomPSet.Param", False, "")
Application.SaveKey("null.CustomPSet.Param", 1, "", "", "", "", "")
Application.AddAnimationLayer("Scene_Root", "", 1)
Application.SetValue("null.CustomPSet.Param", True, "")
Application.SaveKey("null.CustomPSet.Param", 1, "", "", "", "", "")
Application.SetValue("PlayControl.Key", 10, "")
Application.SetValue("PlayControl.Current", 10, "")
Application.SaveKey("null.CustomPSet.Param", 10, "", "", "", "", "")

Reply via email to