AntonSynytsia / MSPhysics

A NewtonDynamics wrapper for SketchUp.
http://sketchucation.com/forums/viewtopic.php?f=323&t=56852#p516427
MIT License
55 stars 20 forks source link

MSPhysics Control Panel blocking view of simulation #11

Closed MrPrezident closed 5 years ago

MrPrezident commented 5 years ago

Every time I hit play, the "MSPhysics Control Panel" pops up right in the middle of the screen blocking my view of the simulation. There is nothing actually on the control panel, so I really don't need that to pop up, and there doesn't seem to be any way to disable it or move it out of the way until after the simulation has already started, in which case it is too late, because the initial part of the simulation is the critical part. Even if I move the control panel out of the way, it will just pop up back in the middle of the screen again when I restart the simulation.

MrPrezident commented 5 years ago

FYI this is on Mac.

AntonSynytsia commented 5 years ago

Thanks for the report! I didn't had the chance to test MSPhysics on Mac. Until a new version is developed, you can turn off the control panel manually by disabling it. Comment out the following lines in simulation.rb (line 3317):

if !MSPhysics::ControlPanel.open? && !AMS::IS_PLATFORM_WINDOWS
  MSPhysics::ControlPanel.open(true)
end
MrPrezident commented 5 years ago

Thanks!