Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions trimesh/visual/material.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ def emissiveFactor(self, value):
else:
# non-None values must be a floating point
emissive = np.array(value, dtype=np.float64).reshape(3)
if emissive.min() < -_eps or emissive.max() > (1 + _eps):
raise ValueError("all factors must be between 0.0-1.0")
if emissive.min() < -_eps :
raise ValueError("all factors must be greater than 0.0")
self._data["emissiveFactor"] = emissive

@property
Expand Down
Loading