Fixed previous checkin.

This commit is contained in:
bubnikv 2016-12-14 15:42:38 +01:00
parent c79e1cc89b
commit ff0a8956ee
2 changed files with 4 additions and 4 deletions

View file

@ -793,7 +793,7 @@ sub InitGL {
my $shader;
$shader = $self->{shader} = new Slic3r::GUI::GLShader
if (defined($ENV{'SLIC3R_EXPERIMENTAL'} && defined($ENV{'SLIC3R_EXPERIMENTAL'} == 1);
if (defined($ENV{'SLIC3R_EXPERIMENTAL'}) && $ENV{'SLIC3R_EXPERIMENTAL'} == 1);
if ($self->{shader}) {
my $info = $shader->Load($self->_fragment_shader, $self->_vertex_shader);
print $info if $info;