Add render texture proxy

This commit is contained in:
Bill 2021-07-30 14:31:55 -04:00
parent bc066e2916
commit 02e11d3dda
3 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,4 @@
import { RenderTexture } from '@pixi/core';
export class NitroRenderTexture extends RenderTexture
{}

View File

@ -5,6 +5,7 @@ export * from './NitroContainer';
export * from './NitroFilter'; export * from './NitroFilter';
export * from './NitroPoint'; export * from './NitroPoint';
export * from './NitroRectangle'; export * from './NitroRectangle';
export * from './NitroRenderTexture';
export * from './NitroSprite'; export * from './NitroSprite';
export * from './NitroTexture'; export * from './NitroTexture';
export * from './NitroTimer'; export * from './NitroTimer';

View File

@ -25,8 +25,9 @@ export class FurnitureExternalImageVisualization extends FurnitureDynamicThumbna
if(!jsonString || jsonString === '') return null; if(!jsonString || jsonString === '') return null;
if(this.object.type.indexOf('') >= 0) if(this.object.type.indexOf('') >= 0)
{
this._typePrefix = (this.object.type.indexOf('') >= 0) ? '' : 'postcards/selfie/'; this._typePrefix = (this.object.type.indexOf('') >= 0) ? '' : 'postcards/selfie/';
}
const json = JSON.parse(jsonString); const json = JSON.parse(jsonString);