Several performance improvements, mainly in loading and instancing scenes and resources.
A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
This commit is contained in:
@ -2054,8 +2054,8 @@ void Collada::_parse_animation(XMLParser& parser) {
|
||||
}
|
||||
|
||||
if (target.find("/")!=-1) { //transform component
|
||||
track.target=target.get_slice("/",0);
|
||||
track.param=target.get_slice("/",1);
|
||||
track.target=target.get_slicec('/',0);
|
||||
track.param=target.get_slicec('/',1);
|
||||
if (track.param.find(".")!=-1)
|
||||
track.component=track.param.get_slice(".",1).to_upper();
|
||||
track.param=track.param.get_slice(".",0);
|
||||
|
||||
Reference in New Issue
Block a user