On Oct 3, 2011, at 7:28 PM, Jonne Nauha wrote:
> Scripting API has changed a little bit but nothing too big. Eg. raycasting 
> has been moved to scene.ogre.RayCast(..) from renderer.Raycast(..) and some 
> other functions have been possibly moved/renamed. This will be mostly trivial 
> search and replace checking for your scripts. If you

BTW renderer.Raycast wasn't moved for this release -- the preferred way 
changing to be scene.ogre (or scene.physics iirc) instead of 'renderer' for 
scene queries (like raycast) was introduced already in the 2.0.0 (and i think 
in the 2preview) release.

the plain renderer.Raycast is still there in renderer, though, for backwards 
compatility .. a lot of even very old scripts use that. so it is there both in 
2.0 and 2.1 (current), as basically the same that was in 1.0 (and almost back 
to naali 0.1 :)

the thing we encountered in one app was using the new (tundra2) selection 
layers in raycast, from the old renderer func -- which had been cleaned away 
(for 2.1) as the preferred way is the IRenderer gotten via scene(.ogre) now.

we (in that playsign project) were probably the only ones with the code like 
that, and was good for us to switch to the new preferred way anyways, so i 
didn't put dupes back to the old renderer place (where Lasse had had them 
originally) and figured that it was no issue for the release (no one would 
encounter it).

was travelling all of today, at home on a mac now - but when tested things on 
linux and windows at work on Friday, seemed pretty good. let's see how it goes, 
does Antti finally get rid of the crazy wacom-tablet-blackscreen thing etc.

~Toni

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Reply via email to