Fixed a bug where the tilt angle could not be set to 0
This commit is contained in:
parent
b93b8ee613
commit
7d061da0f9
1 changed files with 2 additions and 1 deletions
|
|
@ -1013,7 +1013,8 @@ sub getTiltAngle {
|
|||
my $self = shift;
|
||||
my $angle = shift;
|
||||
|
||||
return $self->{_pieProperties}->{tiltAngle} || 55;
|
||||
return 55 unless (defined $self->{_pieProperties}->{tiltAngle});
|
||||
return $self->{_pieProperties}->{tiltAngle};
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue