Revision: 6135 http://sourceforge.net/p/smartbody/code/6135 Author: arishapiro Date: 2015-07-07 01:27:59 +0000 (Tue, 07 Jul 2015) Log Message: ----------- Added scene.getLastScriptDirectory() which returns the folder that contains the last script run from scene.run() which will allow for local loading of assets like:
scene.run("myfile.py") # whatever directory this is in scene.setMediaPath(scene.getLastScriptDirectory()) Fixed cameras so that camera.setPosition() functions the same as camera.setEye() (although camers.setHpr() will not change the orientation of the camera) Modified Paths: -------------- trunk/core/smartbody/SmartBody/src/sb/SBPythonScene.cpp trunk/core/smartbody/SmartBody/src/sb/SBScene.cpp trunk/core/smartbody/SmartBody/src/sb/SBScene.h trunk/core/smartbody/SmartBody/src/sr/sr_camera.cpp trunk/core/smartbody/SmartBody/src/sr/sr_camera.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn