fix 2 bugs

This commit is contained in:
yyc12345 2020-04-09 22:41:41 +08:00
parent e36ddaff48
commit 613dfa49bd
2 changed files with 3 additions and 3 deletions

View File

@ -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_obj = ds_Owner->GetID();
helper->_db_pLink->input_type = pLinkInputOutputType_POUT; helper->_db_pLink->input_type = pLinkInputOutputType_POUT;
//WARNING: untested doe to GetClassID() may have chance to return Attributes or CKDataArray accoring to document //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 //bb
helper->_db_pLink->input_index = ((CKBehavior*)ds_Owner)->GetOutputParameterPosition((CKParameterOut*)directSource); helper->_db_pLink->input_index = ((CKBehavior*)ds_Owner)->GetOutputParameterPosition((CKParameterOut*)directSource);

View File

@ -9,8 +9,8 @@ GRAPH_BB_SPAN = 25
BB_POFFSET = 20 BB_POFFSET = 20
BB_BOFFSET = 10 BB_BOFFSET = 10
BB_PSPAN = 10 BB_PSPAN = 20
BB_BSPAN = 10 BB_BSPAN = 20
BB_PBSIZE = 6 BB_PBSIZE = 6
CELL_WIDTH = 15 CELL_WIDTH = 15