rfdiazpr / sketchyphysics

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

Joint does not work? #89

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start SketchUp Pro 8
2. Use the Join Connector Tool
3. Hold SHIFT to select two items

What is the expected output? What do you see instead?
The tool doesn't work: The items aren't connected. Also the cursor isn't black 
as usual, it is white.

What version of the product are you using? On what operating system?
SketchyPhysics 3.2 on Google SketchUp Pro 8, Windows Vista Home Premium,

Original issue reported on code.google.com by yonicstu...@gmail.com on 15 Oct 2011 at 3:36

GoogleCodeExporter commented 8 years ago
*Sorry, on step 3, I hold CTRL, not SHIFT.

Original comment by yonicstu...@gmail.com on 15 Oct 2011 at 3:45

GoogleCodeExporter commented 8 years ago
I had the same problem inside of wine, for me the problem was coming from SP 
not resolving key states correctly. I fixed mine by editing line 55 of 
"SketchyPhysics3/input.rb" from 

return (($win32GetKeyStateFunc.call(key)>>16)!=0)

to

return (($win32GetKeyStateFunc.call(key))!=0)

I would presume this is a problem with the new version of wine, so I dont know 
if this will do you any good inside a real windows api, but it might be worth a 
try

Original comment by evil0sh...@gmail.com on 21 Jul 2012 at 8:17

GoogleCodeExporter commented 8 years ago
Thanks for your help, but I found a better answer.
Edit line 55 so it looks like this:

return (($win32GetKeyStateFunc.call(key)>>VK_LCONTROL)!=0)

I've tried your code, but after that I wasn't able to make hinges nor sliders.

Original comment by yonicstu...@gmail.com on 28 Oct 2012 at 3:53