mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
Updates ImageAsset usage to utilize AssetRef, and standardizes the setter/getter functions and naming conventions, as well as the ability to use and bind named targets.
This commit is contained in:
parent
a858d8624e
commit
34e3f78a22
82 changed files with 1451 additions and 951 deletions
|
|
@ -108,7 +108,7 @@ function PE_ParticleEditor::loadNewParticle( %this, %particle )
|
|||
%this.currParticle = %current;
|
||||
|
||||
error("PE_ParticleEditor::loadNewParticle() - Loading particle: " @ %current.getName());
|
||||
error("Particle TextureName: " @ %current.getTexture());
|
||||
error("Particle TextureName: " @ %current.getTextureAsset());
|
||||
|
||||
error("ReloadingParticle...");
|
||||
%current.reload();
|
||||
|
|
@ -116,8 +116,8 @@ function PE_ParticleEditor::loadNewParticle( %this, %particle )
|
|||
PE_ParticleEditor_NotDirtyParticle.assignFieldsFrom( %current );
|
||||
PE_ParticleEditor_NotDirtyParticle.originalName = %current.getName();
|
||||
|
||||
error("Post duplicate Particle TextureName: " @ %current.getTexture());
|
||||
error("Post duplicate PE_ParticleEditor_NotDirtyParticle TextureName: " @ PE_ParticleEditor_NotDirtyParticle.getTexture());
|
||||
error("Post duplicate Particle TextureName: " @ %current.getTextureAsset());
|
||||
error("Post duplicate PE_ParticleEditor_NotDirtyParticle TextureName: " @ PE_ParticleEditor_NotDirtyParticle.getTextureAsset());
|
||||
|
||||
%this.guiSync();
|
||||
%this.setNotDirty();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue