mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
Integrates object creator logic into the AB
Adds lookup logic to Datablock AB entries to try and find class icons for the preview Adds 2 new datablock class create methods
This commit is contained in:
parent
692f19855c
commit
b7a2c30337
6 changed files with 192 additions and 78 deletions
|
|
@ -1254,3 +1254,23 @@ function RibbonData::create( %datablock )
|
|||
|
||||
return %obj;
|
||||
}
|
||||
|
||||
function ParticleEmitterData::create( %datablock )
|
||||
{
|
||||
%obj = new ParticleEmitter()
|
||||
{
|
||||
dataBlock = %datablock;
|
||||
parentGroup = EWCreatorWindow.objectGroup;
|
||||
};
|
||||
return %obj;
|
||||
}
|
||||
|
||||
function PrecipitationData::create(%datablock)
|
||||
{
|
||||
%obj = new Precipitation()
|
||||
{
|
||||
dataBlock = %datablock;
|
||||
parentGroup = EWCreatorWindow.objectGroup;
|
||||
};
|
||||
return %obj;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue