1
0
Fork 0
godot/scene/2d
Hugo Locurcio 7a04d85ec3
Only allow valid types in Decal, Light3D projector, PointLight2D texture and CSGMesh3D mesh
If an invalid type is supplied (which can still be done from a script),
a warning is printed (along with a workaround for ViewportTexture).

This also adds support for "negative" resource hints such as
"Texture2D,-ViewportTexture" to exclude one or more subclasses
from a class hint.

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-12-17 20:41:12 +01:00
..
physics Add basic editor editing for ConvexPolygonShape2D and ConcavePolygonShape2D 2024-12-11 02:31:42 +01:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
animated_sprite_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
animated_sprite_2d.h Use `SceneStringName` in more places 2024-12-02 14:39:16 +01:00
audio_listener_2d.cpp Expose is_part_of_edited_scene() 2024-04-26 11:49:38 +02:00
audio_listener_2d.h
audio_stream_player_2d.compat.inc
audio_stream_player_2d.cpp Fix AudioStreamPlayer2D/3D's `get_playback_position` returning `0` right after calling `seek` 2024-11-27 16:02:46 +01:00
audio_stream_player_2d.h Add samples playback support 2024-06-18 11:06:31 -04:00
back_buffer_copy.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
back_buffer_copy.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
camera_2d.cpp Remove double `is_editor_hint()` check inside `NOTIFICATION_READY` for `Camera2D` node 2024-11-25 09:28:16 +03:00
camera_2d.h Fix physics tick counter 2024-07-07 19:04:05 +02:00
canvas_group.cpp
canvas_group.h
canvas_modulate.cpp Fix super call in various `get_configuration_warnings` methods 2024-09-05 16:08:35 +02:00
canvas_modulate.h
cpu_particles_2d.cpp Fix some invalid `int` property ranges 2024-11-23 19:17:29 +01:00
cpu_particles_2d.h
gpu_particles_2d.cpp Merge pull request #98747 from tetrapod00/standardize-renderer-strings 2024-12-13 16:19:37 -06:00
gpu_particles_2d.h
light_2d.cpp Only allow valid types in Decal, Light3D projector, PointLight2D texture and CSGMesh3D mesh 2024-12-17 20:41:12 +01:00
light_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
light_occluder_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
light_occluder_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
line_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
line_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
line_builder.cpp Fix various typos and code style issues 2024-11-28 17:40:42 +01:00
line_builder.h
marker_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
marker_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
mesh_instance_2d.cpp Ensure primitive meshes are created before connected to changed signal. 2024-11-26 20:51:08 -07:00
mesh_instance_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
multimesh_instance_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
multimesh_instance_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
navigation_agent_2d.cpp Despaghettify NavigationServer path queries 2024-12-11 22:29:48 +01:00
navigation_agent_2d.h Fix physics tick counter 2024-07-07 19:04:05 +02:00
navigation_link_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
navigation_link_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
navigation_obstacle_2d.cpp Fix obstacle avoidance and 3D editor ignoring transform 2024-11-16 11:30:48 +01:00
navigation_obstacle_2d.h Fix obstacle avoidance and 3D editor ignoring transform 2024-11-16 11:30:48 +01:00
navigation_region_2d.cpp Hide NavigationRegion2D debug instance instead of free it, and hide it when navigation_polygon is set to null. 2024-12-04 17:58:12 +08:00
navigation_region_2d.h Hide NavigationRegion2D debug instance instead of free it, and hide it when navigation_polygon is set to null. 2024-12-04 17:58:12 +08:00
node_2d.cpp
node_2d.h
parallax_2d.cpp Prevent jitter in Parallax2D 2024-09-23 20:36:38 +08:00
parallax_2d.h Prevent Parallax2D autoscroll reset 2024-08-28 16:38:27 -04:00
parallax_background.cpp
parallax_background.h
parallax_layer.cpp Fix super call in various `get_configuration_warnings` methods 2024-09-05 16:08:35 +02:00
parallax_layer.h
path_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
path_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
polygon_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
polygon_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
remote_transform_2d.cpp Fix super call in various `get_configuration_warnings` methods 2024-09-05 16:08:35 +02:00
remote_transform_2d.h
skeleton_2d.cpp Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
skeleton_2d.h Use local vector for skeleton 2024-10-02 20:38:40 +03:00
sprite_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
sprite_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
tile_map.compat.inc
tile_map.cpp Fix setting TileMap data compatibility format broken by #98898. 2024-11-15 01:20:30 +00:00
tile_map.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
tile_map_layer.cpp Add `TileMapLayer._update_cells` virtual callback called when the TileMapLayer's cells are updated 2024-11-11 13:29:38 +01:00
tile_map_layer.h Add `TileMapLayer._update_cells` virtual callback called when the TileMapLayer's cells are updated 2024-11-11 13:29:38 +01:00
touch_screen_button.cpp Core: Integrate `Ref::instantiate` where possible 2024-11-10 12:41:26 -06:00
touch_screen_button.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
visible_on_screen_notifier_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
visible_on_screen_notifier_2d.h Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00