lizhao21st / jsc3d

Automatically exported from code.google.com/p/jsc3d
0 stars 0 forks source link

Disable zooming #132

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I'm wondering if there is any way to completely disable zooming on an 
object in jsc3d? 

What version of the product are you using? On what operating system?
I am using this version: http://jsc3d.googlecode.com/svn/trunk/jsc3d/jsc3d.js

Original issue reported on code.google.com by nando1...@gmail.com on 1 Dec 2014 at 9:54

GoogleCodeExporter commented 9 years ago
To specify an exclusive mouse usage, use this method: 
http://jsc3d.googlecode.com/svn/trunk/jsc3d/docs/symbols/JSC3D.Viewer.html#setMo
useUsage.

Or if just want to disable zooming without locking mouse usage, you could 
modify the source file, commenting these lines in jsc3d.js: #733, #772, #972 
and it will be ok.

Original comment by Humu2...@gmail.com on 2 Dec 2014 at 3:22