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 duplicateRefCountedinstances. Furthermore, changing the states to extendResourcestill would not work, because many of the states use another class which extendsRefCounted-- and anything that isRefCountedcannot be exported and won't be duplicated when theResourceis duplicated.
docket: