Browse Source

added ScalarTypes

Darren Ranalli 21 years ago
parent
commit
e8e2490603
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/showbase/PythonUtil.py

+ 1 - 0
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: