godot/scene
Hein-Pieter van Braam 67b9d6eef2 Fix color_ramp indexing negative elements
The 'pos' variable passed to get_color() and get_offset() can be
negative if the color ramp itself is empty. This causes a lookup in an
empty position in the color Vector which leads to a crash.

We add a check so we never do a lookup in the color Vector if the
gradient is empty.

This fixes #10501
2017-08-21 19:36:40 +02:00
..
2d Merge pull request #10319 from neikeq/pr-engine-editor-hint 2017-08-20 12:55:46 -03:00
3d Merge pull request #10319 from neikeq/pr-engine-editor-hint 2017-08-20 12:55:46 -03:00
animation Merge pull request #10319 from neikeq/pr-engine-editor-hint 2017-08-20 12:55:46 -03:00
audio Removes editor_hint from SceneTree 2017-08-19 01:29:45 +02:00
gui Merge pull request #10319 from neikeq/pr-engine-editor-hint 2017-08-20 12:55:46 -03:00
io
main Fixed segfault when hovering over scene tree elements and showing tooltips. 2017-08-20 22:28:07 -04:00
resources Fix color_ramp indexing negative elements 2017-08-21 19:36:40 +02:00
register_scene_types.cpp
register_scene_types.h
scene_string_names.cpp
scene_string_names.h
SCsub