Fix typo pratially breaking node shader wrapper (used by IO add-ons).

Reported with patch as D5140 by andreas atteneder (@atti), thanks!
This commit is contained in:
andreas atteneder 2019-06-26 17:55:33 +02:00 committed by Bastien Montagne
parent 6e016a451e
commit 28f472472b
1 changed files with 2 additions and 2 deletions

View File

@ -758,7 +758,7 @@ class ShaderImageTextureWrapper():
def use_min_get(self):
return self.node_mapping.use_min if self_mapping.node is not None else False
return self.node_mapping.use_min if self.node_mapping is not None else False
@_set_check
def use_min_set(self, use_min):
@ -768,7 +768,7 @@ class ShaderImageTextureWrapper():
def use_max_get(self):
return self.node_mapping.use_max if self_mapping.node is not None else False
return self.node_mapping.use_max if self.node_mapping is not None else False
@_set_check
def use_max_set(self, use_max):