virtualx-engine/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 Style: Apply clang-format on all files 2017-07-30 22:53:40 +02:00
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 Added ARVRAnchor support and a few small enhancements 2017-08-03 18:58:05 +10:00
register_scene_types.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
scene_string_names.cpp Fixed some string names and animation playback options, closes #9446 2017-08-06 22:51:56 -03:00
scene_string_names.h Fixed some string names and animation playback options, closes #9446 2017-08-06 22:51:56 -03:00
SCsub Move other lone thirdparty files to thirdparty/misc 2017-04-28 21:19:25 +02:00