HOTFIX
* fixes bug where quality checker for compensations would not check properly for state surface sums
This commit is contained in:
parent
a90106b390
commit
e600b78c74
@ -30,7 +30,10 @@ class CompensationQualityChecker(AbstractQualityChecker):
|
|||||||
"""
|
"""
|
||||||
after_states = self.obj.get_surface_after_states()
|
after_states = self.obj.get_surface_after_states()
|
||||||
before_states = self.obj.get_surface_before_states()
|
before_states = self.obj.get_surface_before_states()
|
||||||
if after_states != before_states:
|
sum_after_states_surface = self.obj.get_surface_after_states()
|
||||||
|
sum_before_states_surface = self.obj.get_surface_before_states()
|
||||||
|
|
||||||
|
if sum_after_states_surface != sum_before_states_surface:
|
||||||
self.messages.append(
|
self.messages.append(
|
||||||
_("States unequal")
|
_("States unequal")
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user