godot/editor
Hein-Pieter van Braam-Stewart 0b4dec63a9 Object::script may not be a valid Ref<Script>
It appears that Object::script may be a valid ScriptInstance but not be
castable to Ref<Script>. There were only 5 places in the code that made
this assumption. This commit fixes that.

(cherry picked from commit 20b0046945)
2019-07-03 17:02:13 +02:00
..
collada Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
doc Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
fileserver Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
icons Corrected art depo link in editor icons readme. 2018-11-01 11:39:29 +01:00
import Check for absolute paths in OBJ loader 2019-07-03 14:23:11 +02:00
plugins Fix many errors found by PVS-Studio 2019-07-03 15:39:12 +02:00
translations Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
animation_editor.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
animation_editor.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
array_property_edit.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
array_property_edit.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
code_editor.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
code_editor.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
connections_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
connections_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
create_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
create_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
dependency_editor.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
dependency_editor.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
dictionary_property_edit.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
dictionary_property_edit.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_about.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_about.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_asset_installer.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_asset_installer.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_audio_buses.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_audio_buses.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_autoload_settings.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_autoload_settings.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_data.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_data.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_dir_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_dir_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_export.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_export.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_file_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_file_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_file_system.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_file_system.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_fonts.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_fonts.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_help.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_help.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_initialize_ssl.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_initialize_ssl.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_log.cpp Fixed uninitialized log member due to THEME_CHANGED notification 2019-07-03 16:11:03 +02:00
editor_log.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_name_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_name_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_node.cpp Export: Properly reload preset when opening dialog 2019-07-03 13:23:10 +02:00
editor_node.h Export: Properly reload preset when opening dialog 2019-07-03 13:23:10 +02:00
editor_path.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_path.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_plugin.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_plugin.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_plugin_settings.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_plugin_settings.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_profiler.cpp Fix profiler not updating on realtime 2019-07-03 12:33:25 +02:00
editor_profiler.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_resource_preview.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_resource_preview.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_run.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_run.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_run_native.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_run_native.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_run_script.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_run_script.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_scale.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_scale.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_settings.cpp Fix creating editor data, config and cache paths 2019-07-03 16:18:34 +02:00
editor_settings.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_sub_scene.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_sub_scene.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
editor_themes.cpp #21661: fixed GraphNode title offset 2019-07-03 14:27:49 +02:00
editor_themes.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
export_template_manager.cpp Export: Properly reload preset when opening dialog 2019-07-03 13:23:10 +02:00
export_template_manager.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
file_type_cache.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
file_type_cache.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
filesystem_dock.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
filesystem_dock.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
groups_editor.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
groups_editor.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
import_dock.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
import_dock.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
multi_node_edit.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
multi_node_edit.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
node_dock.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
node_dock.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
output_strings.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
output_strings.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
pane_drag.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
pane_drag.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
progress_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
progress_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
project_export.cpp Export dialog: Fix error color and link alignment 2019-07-03 13:56:28 +02:00
project_export.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
project_manager.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
project_manager.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
project_settings_editor.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
project_settings_editor.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
property_editor.cpp Object::script may not be a valid Ref<Script> 2019-07-03 17:02:13 +02:00
property_editor.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
property_selector.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
property_selector.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
pvrtc_compress.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
pvrtc_compress.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
quick_open.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
quick_open.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
register_exporters.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
reparent_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
reparent_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
run_settings_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
run_settings_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
scene_tree_dock.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
scene_tree_dock.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
scene_tree_editor.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
scene_tree_editor.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_create_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_create_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_editor_debugger.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_editor_debugger.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
SCsub BuildSystem: Fix font list 2019-07-03 10:48:19 +02:00
settings_config_dialog.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
settings_config_dialog.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
spatial_editor_gizmos.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
spatial_editor_gizmos.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00