Overlay does not function when extending a template from a different project

Mar 31, 2014 at 11:57 AM
Good day,

I have two projects in a WPF solution, P1 is the main .exe assembly including the Helix3DViewport and an object that extends a base class in P2. The base class in P2 sets up an interface and contains a function that among other things sets a text overlay via Overlay.SetPosition3D and updates it on interaction. If this base class is situated in P1, the overlay works perfectly, but if the base class is moved to the other project, the overlay simply applies the text to the bottom left corner of the overlay canvas. Could there be a workaround for this, as I really need the base class to be in a class library rather than in P1?

Thank you in advance,
Apr 29, 2014 at 8:33 AM
This was difficult, can you create a small example that we can use to debug?
Apr 29, 2014 at 11:41 PM
Terribly sorry I forgot, I found that I added the overlay static class manually (copied and pasted the code as it was not in the library for some reason). Adding this class to both projects solved the issue. I find it weird that I received no error though.