no signal stream 107:
- I'm running out time! 2D Con is in 21 days!
- While writing the code for resetting the camera,
I realized that doing so is not going to be as
trivial as I would have liked. The camera is
implemented like a state machine, with states that
extend
RefCounted
. Originally, I was just going to store the original state of the camera by duplicating the intial state. However, you cannot duplicateRefCounted
instances. Furthermore, changing the states to extendResource
still would not work, because many of the states use another class which extendsRefCounted
-- and anything that isRefCounted
cannot be exported and won't be duplicated when theResource
is duplicated.
docket: