Task - #166 - Refactor SimulationObjectInstance - Template Reference

Project: Antilia (alpha) Priority:
X
 Blocking
Type:
Refactor
Status:
New
Reported By:
jeff 
Assigned To:
jeff 
Created On: September 25, 2020 Resolved On: -

Is This Bug Affecting You?


Users Reporting This Issue: 1

I am Affected!
 
Add a Comment

Currently the SimulationObjectIntance class holds a static list of all templates, which is pre-populated on loading. This is not the typical way ToiEngine handles references within resources, and is causing some ugly code in places like the editor where the templates are not loaded in advance.

Refactor this to work in a more standard way. We can still cache the templates for both the client and server, but we should be doing that in a manner similar to how we cache other resources (such as shaders).


Highlights
Comments Only
All Activity

Friday, September 25, 2020

jeff 
 
Priority changed from
X
 Blocking to
X
 Blocking
Reason:This is blocking progress on rebasing SimulationObjectInstance onto SceneObject.
jeff 
 
Priority changed from
4
 Low to
X
 Blocking
jeff 
 

New Task Created!

Currently the SimulationObjectIntance class holds a static list of all templates, which is pre-populated on loading. This is not the typical way ToiEngine handles references within resources, and is causing some ugly code in places like the editor where the templates are not loaded in advance. Refactor this to work in a more standard way. We can still cache the templates for both the client and server, but we should be doing that in a manner similar to how we cache other resources (such as shaders).
Page:
Page: 1