godot/core
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
..
bind Fix error explanation in core_bind Thread::_start_func 2019-07-03 10:59:11 +02:00
helper Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
io Fix FileAccessCompressed::get_8 returning 0 for the last byte of a file 2019-07-03 14:22:06 +02:00
math Remove faces in in QuickHull::build() that we don't need anymore 2019-07-03 13:58:27 +02:00
os Fixed OS.has_feature not using custom feature tags. 2019-07-03 13:21:56 +02:00
allocators.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
array.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
array.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
class_db.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
class_db.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
color.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
color.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
color_names.inc Add missing map.h include in color defs 2017-01-15 12:51:47 +01:00
command_queue_mt.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
command_queue_mt.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
compressed_translation.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
compressed_translation.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
core_string_names.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
core_string_names.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
dictionary.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
dictionary.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
dvector.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
dvector.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
engine.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
engine.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
error_list.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
error_macros.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
error_macros.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
func_ref.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
func_ref.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
global_constants.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
global_constants.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
hash_map.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
hashfuncs.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
image.cpp Image: Fix decompressing ETC2 2019-07-03 16:11:46 +02:00
image.h Prevent upscaled SVG from exceeding Image bounds 2019-07-03 16:05:39 +02:00
input_map.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
input_map.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
int_types.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
list.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
make_binders.py Added all missing VisualServer bindings 2018-02-19 22:13:44 +01:00
map.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
message_queue.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
message_queue.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
method_bind.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
method_bind.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
method_ptrcall.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
node_path.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
node_path.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
oa_hash_map.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
object.cpp Object::script may not be a valid Ref<Script> 2019-07-03 17:02:13 +02:00
object.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
ordered_hash_map.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
packed_data_container.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
packed_data_container.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
pair.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
path_remap.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
path_remap.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
pool_allocator.cpp Fix PoolAllocator::resize for too large p_new_size 2019-07-03 12:33:24 +02:00
pool_allocator.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
print_string.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
print_string.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
project_settings.cpp Fixed OS.has_feature not using custom feature tags. 2019-07-03 13:21:56 +02:00
project_settings.h Fixed OS.has_feature not using custom feature tags. 2019-07-03 13:21:56 +02:00
ref_ptr.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
ref_ptr.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
reference.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
reference.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
register_core_types.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
register_core_types.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
resource.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
resource.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
rid.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
rid.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
ring_buffer.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
safe_refcount.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
safe_refcount.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_debugger_local.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_debugger_local.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_debugger_remote.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_debugger_remote.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_language.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
script_language.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
SCsub add NoCache wrapper to Command 2018-06-22 14:42:14 +02:00
self_list.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
set.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
simple_type.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
sort.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
string_buffer.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
string_buffer.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
string_builder.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
string_builder.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
string_db.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
string_db.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
translation.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
translation.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
type_info.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
typedefs.h fix nameclash with MSVC 2019-07-03 13:23:41 +02:00
ucaps.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
undo_redo.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
undo_redo.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
ustring.cpp Fix formatting -0.0 by %+f displays +-0.0 2019-07-03 14:53:16 +02:00
ustring.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
variant.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
variant.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
variant_call.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
variant_construct_string.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
variant_op.cpp Fix many errors found by PVS-Studio 2019-07-03 15:39:12 +02:00
variant_parser.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
variant_parser.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
vector.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
version.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
vmap.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
vset.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00