Browse Source

SvgTexture not in 3D

scgm0 3 months ago
parent
commit
42ff52a079
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/register_scene_types.cpp

+ 1 - 1
scene/register_scene_types.cpp

@@ -936,7 +936,6 @@ void register_scene_types() {
 #ifndef _3D_DISABLED
 #ifndef _3D_DISABLED
 	GDREGISTER_CLASS(AudioStreamPlayer3D);
 	GDREGISTER_CLASS(AudioStreamPlayer3D);
 	GDREGISTER_VIRTUAL_CLASS(PrimitiveMesh);
 	GDREGISTER_VIRTUAL_CLASS(PrimitiveMesh);
-	GDREGISTER_CLASS(SVGTexture);
 	GDREGISTER_CLASS(BoxMesh);
 	GDREGISTER_CLASS(BoxMesh);
 	GDREGISTER_CLASS(CapsuleMesh);
 	GDREGISTER_CLASS(CapsuleMesh);
 	GDREGISTER_CLASS(CylinderMesh);
 	GDREGISTER_CLASS(CylinderMesh);
@@ -1021,6 +1020,7 @@ void register_scene_types() {
 	GDREGISTER_CLASS(PlaceholderTexture2DArray);
 	GDREGISTER_CLASS(PlaceholderTexture2DArray);
 	GDREGISTER_CLASS(PlaceholderCubemap);
 	GDREGISTER_CLASS(PlaceholderCubemap);
 	GDREGISTER_CLASS(PlaceholderCubemapArray);
 	GDREGISTER_CLASS(PlaceholderCubemapArray);
+	GDREGISTER_CLASS(SVGTexture);
 
 
 	// These classes are part of renderer_rd
 	// These classes are part of renderer_rd
 	GDREGISTER_CLASS(Texture2DRD);
 	GDREGISTER_CLASS(Texture2DRD);