diff --git a/direct/src/extensions/NodePath-extensions.py b/direct/src/extensions/NodePath-extensions.py index e13cb8b4ae..aad9954682 100644 --- a/direct/src/extensions/NodePath-extensions.py +++ b/direct/src/extensions/NodePath-extensions.py @@ -822,6 +822,9 @@ def setAlphaScale(self, alpha): self.setColorScale(1, 1, 1, alpha) + def setAllColorScale(self, color): + self.setColorScale(color, color, color, 1) + def showCS(self, mask = None): """showCS(self, mask) Shows the collision solids at or below this node. If mask is