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
..
2017-08-16 17:22:23 +02:00
2017-08-16 17:22:23 +02:00
2017-08-16 17:22:23 +02:00
2017-07-19 17:06:03 -03:00
2017-04-08 00:11:42 +02:00
2017-07-15 08:32:34 -03:00
2017-06-28 17:01:35 -03:00
2017-08-10 07:17:50 +02:00
2017-05-17 18:45:56 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-06-09 15:54:02 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-06-04 02:09:17 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-06-04 02:09:17 +02:00
2017-04-08 00:11:42 +02:00
2017-08-21 19:36:40 +02:00
2017-08-16 17:22:23 +02:00
2017-06-04 02:09:17 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-06-04 02:09:17 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-07-19 02:03:34 +07:00
2017-08-16 17:22:23 +02:00
2017-08-17 19:51:13 -03:00
2017-04-28 21:19:25 +02:00
2017-08-17 19:51:13 -03:00
2017-08-16 17:22:23 +02:00
2017-08-14 14:48:35 +03:00
2017-08-16 17:22:23 +02:00
2017-08-16 17:22:23 +02:00
2017-06-15 21:35:20 -03:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-08-17 18:33:59 -03:00
2017-08-16 17:22:23 +02:00
2017-08-10 07:17:51 +02:00
2017-06-07 18:20:04 -03:00
2017-08-10 07:17:50 +02:00
2017-06-15 21:35:20 -03:00
2017-08-10 07:17:50 +02:00
2017-08-16 17:22:23 +02:00
2017-08-10 07:17:50 +02:00
2017-06-15 21:35:20 -03:00
2017-08-18 08:26:41 -03:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-06-04 02:09:17 +02:00
2017-04-08 00:11:42 +02:00
2017-08-16 17:22:23 +02:00
2017-07-23 18:50:25 -03:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-08-16 17:22:23 +02:00
2017-08-16 17:22:23 +02:00
2017-06-28 17:01:35 -03:00
2017-04-28 21:19:25 +02:00
2017-06-04 02:09:17 +02:00
2017-04-08 00:11:42 +02:00
2017-08-10 07:17:50 +02:00
2017-06-15 21:35:20 -03:00
2017-08-10 07:17:50 +02:00
2017-04-08 00:11:42 +02:00
2017-08-10 07:17:50 +02:00
2017-08-16 17:22:23 +02:00
2017-06-04 02:09:17 +02:00
2017-04-08 00:11:42 +02:00
2017-06-26 22:58:46 -03:00
2017-06-15 21:35:20 -03:00
2017-08-18 19:16:32 -03:00
2017-08-18 19:16:32 -03:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-08-19 17:56:48 +02:00
2017-08-16 18:16:23 +02:00
2017-08-16 17:22:23 +02:00
2017-08-16 17:22:23 +02:00
2017-08-10 07:17:50 +02:00
2017-07-30 22:53:40 +02:00
2017-08-15 20:11:36 +02:00
2017-08-16 17:22:23 +02:00
2017-08-10 07:17:51 +02:00
2017-08-16 17:22:23 +02:00
2017-04-08 00:11:42 +02:00
2017-04-08 00:11:42 +02:00
2017-08-10 07:17:50 +02:00
2017-07-19 17:06:03 -03:00
2017-08-10 07:17:50 +02:00
2017-07-15 08:32:34 -03:00