Merge pull request #1217 from sanikoyes/Pr-canvas-shader-disable-3d
Pr-canvas-shader-disable-3d
This commit is contained in:
commit
cce0d50516
1 changed files with 4 additions and 3 deletions
|
@ -496,17 +496,18 @@ void register_scene_types() {
|
||||||
|
|
||||||
/* REGISTER RESOURCES */
|
/* REGISTER RESOURCES */
|
||||||
|
|
||||||
|
ObjectTypeDB::register_virtual_type<Shader>();
|
||||||
|
ObjectTypeDB::register_virtual_type<ShaderGraph>();
|
||||||
|
ObjectTypeDB::register_type<CanvasItemShader>();
|
||||||
|
|
||||||
#ifndef _3D_DISABLED
|
#ifndef _3D_DISABLED
|
||||||
ObjectTypeDB::register_type<Mesh>();
|
ObjectTypeDB::register_type<Mesh>();
|
||||||
ObjectTypeDB::register_virtual_type<Material>();
|
ObjectTypeDB::register_virtual_type<Material>();
|
||||||
ObjectTypeDB::register_type<FixedMaterial>();
|
ObjectTypeDB::register_type<FixedMaterial>();
|
||||||
ObjectTypeDB::register_type<ShaderMaterial>();
|
ObjectTypeDB::register_type<ShaderMaterial>();
|
||||||
ObjectTypeDB::register_type<RoomBounds>();
|
ObjectTypeDB::register_type<RoomBounds>();
|
||||||
ObjectTypeDB::register_virtual_type<Shader>();
|
|
||||||
ObjectTypeDB::register_virtual_type<ShaderGraph>();
|
|
||||||
ObjectTypeDB::register_type<MaterialShaderGraph>();
|
ObjectTypeDB::register_type<MaterialShaderGraph>();
|
||||||
ObjectTypeDB::register_type<MaterialShader>();
|
ObjectTypeDB::register_type<MaterialShader>();
|
||||||
ObjectTypeDB::register_type<CanvasItemShader>();
|
|
||||||
ObjectTypeDB::add_compatibility_type("Shader","MaterialShader");
|
ObjectTypeDB::add_compatibility_type("Shader","MaterialShader");
|
||||||
ObjectTypeDB::add_compatibility_type("ParticleSystemMaterial","FixedMaterial");
|
ObjectTypeDB::add_compatibility_type("ParticleSystemMaterial","FixedMaterial");
|
||||||
ObjectTypeDB::add_compatibility_type("UnshadedMaterial","FixedMaterial");
|
ObjectTypeDB::add_compatibility_type("UnshadedMaterial","FixedMaterial");
|
||||||
|
|
Loading…
Reference in a new issue