Manual Content: Flexpanel needs note that reusing structs when creating nodes will modify the original struct rather than the flexpanel #8708
Labels
docs-bug
GameMaker Manual Bugs
documentation
Improvements or additions to documentation are required by this issue
project
This issue has a sample project attached
Milestone
Description
If you create a flexpanel node from a variable that contains a struct, then edit the node, the original struct will have those changes.
The new node seems to use the struct to store its data so all nodes will use the same.
Steps To Reproduce
Debug sample
Notice that the 3 panels say "something else 3"
Pause debugger
Inspect "template_struct"
Notice that the data.text value is "something else 3"
Which version of GameMaker are you reporting this issue for?
IDE v2024.1100.0.711 Runtime v2024.1100.0.726
Which operating system(s) are you seeing the problem on?
Windows 10.0.22631.0
Which platform(s) are you seeing the problem on?
Windows
7b2df5ed-f41d-403a-be6d-a473c57f2ded
The text was updated successfully, but these errors were encountered: