If you copy/paste actions where an object's effect parameters are being set and then replace the object with another that does not have the same effect then the events disappear. Then if you add the effect to the second object and then copy/paste the first actions again, the originally replaced second-object actions appear, along with the newly pasted event actions.
Attach a Capx
Description of Capx
There are 2 objects,Ssprite1 and Sprite2. Sprite1 has the effect "Set Color" and the effect's parameters are set on start of layout in the event sheet.
Steps to Reproduce Bug
- Copy/paste the 3 actions to set Sprite1's effect parameters.
- On the newly pasted actions, replace object Sprite1 with Sprite2, observe the actions disappear.
- Add the effect "Set Color" to Sprite2.
- Copy/paste the 3 actions again.
The first 3 pasted actions appear, with successfully completed replaced object from the first steps.
Objects without the effect should not be offered as options for replacement and, on pasting the copied events, only the most recently copied actions should appear.
Operating System and Service Pack
Construct 2 Version ID
r221 64 bit