From 99db9e480eecd541b880b633d0378df121bc8553 Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Thu, 29 Sep 2005 01:26:06 +0000 Subject: [PATCH] bigger range on debug messages --- direct/src/showbase/PythonUtil.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index 3cea91d27f..84a15f4208 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -130,8 +130,9 @@ def traceFunctionCall(frame): r+='=' if dict.has_key(name): v=str(dict[name]) - if len(v)>200: - r+="" + if len(v)>2000: + # r+="" + r += (str(dict[name])[:2000] + "...") else: r+=str(dict[name]) else: r+="*** undefined ***"