From 613dfa49bdc29eb9a6426d3ed20b4fccc7c47ff0 Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Thu, 9 Apr 2020 22:41:41 +0800 Subject: [PATCH] fix 2 bugs --- SuperScriptMaterializer/script_export.cpp | 2 +- SuperScriptViewer/DecoratorConstValue.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SuperScriptMaterializer/script_export.cpp b/SuperScriptMaterializer/script_export.cpp index 43a2d3c..25bd843 100644 --- a/SuperScriptMaterializer/script_export.cpp +++ b/SuperScriptMaterializer/script_export.cpp @@ -52,7 +52,7 @@ inline void proc_pIn(CKParameterIn* cache, database* db, dbDataStructHelper* hel helper->_db_pLink->input_obj = ds_Owner->GetID(); helper->_db_pLink->input_type = pLinkInputOutputType_POUT; //WARNING: untested doe to GetClassID() may have chance to return Attributes or CKDataArray accoring to document - if (helper->_db_pLink->input_index = (ds_Owner->GetClassID() != CKCID_PARAMETEROPERATION)) { + if (helper->_db_pLink->input_is_bb = (ds_Owner->GetClassID() != CKCID_PARAMETEROPERATION)) { //bb helper->_db_pLink->input_index = ((CKBehavior*)ds_Owner)->GetOutputParameterPosition((CKParameterOut*)directSource); diff --git a/SuperScriptViewer/DecoratorConstValue.py b/SuperScriptViewer/DecoratorConstValue.py index b35843d..6181618 100644 --- a/SuperScriptViewer/DecoratorConstValue.py +++ b/SuperScriptViewer/DecoratorConstValue.py @@ -9,8 +9,8 @@ GRAPH_BB_SPAN = 25 BB_POFFSET = 20 BB_BOFFSET = 10 -BB_PSPAN = 10 -BB_BSPAN = 10 +BB_PSPAN = 20 +BB_BSPAN = 20 BB_PBSIZE = 6 CELL_WIDTH = 15