From: <si...@us...> - 2011-02-16 18:45:37
|
Revision: 2979 http://ogreaddons.svn.sourceforge.net/ogreaddons/?rev=2979&view=rev Author: sinbad Date: 2011-02-16 18:45:31 +0000 (Wed, 16 Feb 2011) Log Message: ----------- Fix Sketchup exporter on Mac OS X; should use '/' path separator in Ruby (works in Win32 too) and don't reset dialog variable as block is only modal on Windows. Modified Paths: -------------- trunk/sketchupexporter/ogre_export.rb Modified: trunk/sketchupexporter/ogre_export.rb =================================================================== --- trunk/sketchupexporter/ogre_export.rb 2010-11-23 01:48:19 UTC (rev 2978) +++ trunk/sketchupexporter/ogre_export.rb 2011-02-16 18:45:31 UTC (rev 2979) @@ -44,7 +44,7 @@ if p[-1,1] == "\\" or p[-1,1] == "/" p+f else - p+"\\"+f + p+"/"+f end end @@ -74,7 +74,6 @@ @@optionsDialog.add_action_callback("on_export") {|d,p| grabDialogData; saveConfig; export; d.close} @@optionsDialog.add_action_callback("on_cancel") {|d,p| d.close} } - @@optionsDialog = nil end def getDialogCheckbox(checkbox) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |