mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Add render texture proxy
This commit is contained in:
parent
bc066e2916
commit
02e11d3dda
4
src/core/utils/NitroRenderTexture.ts
Normal file
4
src/core/utils/NitroRenderTexture.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import { RenderTexture } from '@pixi/core';
|
||||
|
||||
export class NitroRenderTexture extends RenderTexture
|
||||
{}
|
@ -5,6 +5,7 @@ export * from './NitroContainer';
|
||||
export * from './NitroFilter';
|
||||
export * from './NitroPoint';
|
||||
export * from './NitroRectangle';
|
||||
export * from './NitroRenderTexture';
|
||||
export * from './NitroSprite';
|
||||
export * from './NitroTexture';
|
||||
export * from './NitroTimer';
|
||||
|
@ -25,8 +25,9 @@ export class FurnitureExternalImageVisualization extends FurnitureDynamicThumbna
|
||||
if(!jsonString || jsonString === '') return null;
|
||||
|
||||
if(this.object.type.indexOf('') >= 0)
|
||||
|
||||
{
|
||||
this._typePrefix = (this.object.type.indexOf('') >= 0) ? '' : 'postcards/selfie/';
|
||||
}
|
||||
|
||||
const json = JSON.parse(jsonString);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user