Run on .Net 3.5
jjbravo wrote at 2012-06-29 01:30:
Hi,
First, great toolkit, thank you!
I have a project which can only run .net 3.5, I've tried compiling the toolkit under 3.5 and with exception for the surface stuff, it compiles. It also shows 3D models ok, the only thing I can't get to work for what I'm doing on this project is the movement of the camera with the mouse and the ZoomToExtend function.
Can anyone point me in the direction of where in the code I can look for this to see if I can resolve this?
Thanks,
John
objo wrote at 2012-07-07 01:34:
Sorry, I am not sure which difference between 3.5 and 4.0 that causes this behaviour (could it be the command bindings?), and I don't have time to debug in 3.5 right now.
I used mouse events before, but switched to commands to make it more flexible. Can you check if the MouseGestureHandler.Execute method is called when trying to rotate the view? If commands will not work, you could revert to overriding CameraController.OnMouseRight/MiddleButtonDown as before, something like this:
protected override void OnMouseRightButtonDown(MouseButtonEventArgs e) { base.OnMouseRightButtonDown(e); if (e.Handled) return; this.rotateHandler.Execute(this, null); e.Handled = true; }
If you find the problem and it can be solved with some conditional compiling directives I can check it into the repository!
Customer support service by UserEcho