|
Sweet Home 3D Forum » List all forums » » Forum: 3D problems » » » Thread: Pan tool in 3D and 2D view? » » » » Post: Re: Pan tool in 3D and 2D view? |
Print at Dec 19, 2025, 2:07:24 PM |
| Posted by Daniels118 at Jan 19, 2022, 1:28:26 PM |
|
Re: Pan tool in 3D and 2D view? Yippee! This explains everything. It's likely you have a very fast PC, probabily with an UHD screen or the cursor speed set very high. This cause mouseDragged events at high frequency, leading to 2 problems with the code you seen in View3DEnhancerImpl.java:363-370: - concurrency with the delayed code execution (the first IllegalAccessException); - generation of too many concurrent threads (OutOfMemoryError). You're right about the fact this branch of code is useless when the camera is in visitor mode, however this problem could potentially occurr even in aerial view mode. So, beside excluding the code execution in visitor mode, I'll try to implement that function in a different way which won't involve starting new threads. Please let me thank you for your valuable help in disclosing bugs and help me solve them ![]() |
|
|
Current timezone is GMT Dec 19, 2025, 2:07:24 PM |