From 70b3a3a4421eff88d85def8d16ca10fb71831242 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 13 Sep 2017 11:09:56 +0100 Subject: [PATCH] Fixed of shadow --- src/osgText/Text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 97e7c2c70..e930386c2 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -864,7 +864,7 @@ void Text::computeBackdropPositions() { float horizontal_shift_direction; float vertical_shift_direction; - switch(backdrop_index) + switch(backdrop_index-1) { case DROP_SHADOW_BOTTOM_RIGHT: {