JirkaDellOro / FUDGE

Furtwangen University Didactic Game Editor
https://jirkadelloro.github.io/FUDGE
MIT License
33 stars 27 forks source link

Editor: Multiple graph panels remove graph render from each other #311

Closed plojo closed 2 years ago

plojo commented 2 years ago

When dragging the same graph into a second graph panel the graph render from the first panel will stop displaying anything (only noticeable after triggering a redraw in first render graph).

JirkaDellOro commented 2 years ago

Hm... thinking about it, I guess it's not a side-effect of the changes to the event-pump, but of an earlier one. In order to illuminate a graph that does not contain lights, the graph gets inserted into the view as a child of a parent node that has some light to be switched on and off. Opening another view will switch the parent of the graph, since it can't have multiple parents.

I have to think about how I can illuminate differently... :-(

JirkaDellOro commented 2 years ago

Ok, I came up with a different solution and implemented it in devJirka. Please merge and test.

plojo commented 2 years ago

Ok seems to work so far, keeping an eye on it.

JirkaDellOro commented 2 years ago

Neue Erkenntnisse? Sonst würde ich integrieren.

plojo commented 2 years ago

Habe keine Fehler mehr bemerkt.