AB4D Forum
MouseCameraController sub classing error - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9)
+--- Thread: MouseCameraController sub classing error (/showthread.php?tid=21)



MouseCameraController sub classing error - richardpruitt96 - 11-27-2009

I found an error while trying to subclass the MouseCameraController. If I subclass it then when it loads it throws an exception as it is trying to load a cursor from the current assembly, which is currently not "Ab3d.PowerToys". The .Net Framework throws an argument null exception and the constructor of the MouseCameraController class fails.

For example:

namespace MySample{
public class testCameraContoller: Ab3d.Controls.MouseCameraController
{
public testCameraContoller()
{
}
}}

Can you please correct this in the final release of the PowerToys...

Thanks.