From e8e24906033c6cd5ce9f9173df96858b5b337ce1 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Thu, 20 Jan 2005 22:56:12 +0000 Subject: [PATCH] added ScalarTypes --- direct/src/showbase/PythonUtil.py | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index 239383c6a6..3132adf0ef 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -12,6 +12,7 @@ if __debug__: from direct.directutil import Verify +ScalarTypes = (types.FloatType, types.IntType, types.LongType) # NOTE: ifAbsentPut has been replaced with Python's dictionary's builtin setdefault # before: