|
@@ -1180,6 +1180,13 @@ void lapost_Node(laBaseNode *bn){
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+extern laRackPage* DEBUG_READ_RACK_PAGE;
|
|
|
+void lapost_NodeRack(laNodeRack *rr){
|
|
|
+ if(!rr->ParentPage){
|
|
|
+ memAssignRef(rr,&rr->ParentPage,DEBUG_READ_RACK_PAGE);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
void la_AddValuesNodeEnum(laProp* p){
|
|
|
laAddEnumItemAs(p,"FLOAT","Float","Float value",LA_VALUES_NODE_FLOAT,0);
|
|
|
laAddEnumItemAs(p,"INT","Int","Int value",LA_VALUES_NODE_INT,0);
|
|
@@ -1208,7 +1215,7 @@ void la_RegisterInputMapperOperators(){
|
|
|
laCreateOperatorType("LA_remove_input_mapping_page", "Remove Page", "Remove a input mapper page",OPCHK_RemoveInputMappingPage,0,0,OPINV_RemoveInputMappingPage,OPMOD_FinishOnData,L'🗴',0)
|
|
|
->UiDefine=laui_RemoveInputMappingPage;
|
|
|
|
|
|
- pc=laAddPropertyContainer("la_node_rack", "Input Rack", "Input rack for putting input mapping nodes",0,0,sizeof(laNodeRack),0,0,1);
|
|
|
+ pc=laAddPropertyContainer("la_node_rack", "Input Rack", "Input rack for putting input mapping nodes",0,0,sizeof(laNodeRack),lapost_NodeRack,0,1);
|
|
|
laAddStringProperty(pc,"name","Name","Name of this rack",0,0,0,0,1,offsetof(laNodeRack,Name),0,0,0,0,LA_AS_IDENTIFIER);
|
|
|
p=laAddSubGroup(pc,"nodes","Nodes","Nodes under this rack","la_base_node",laget_BaseNodeType,0,0,-1,0,0,0,0,0,0,offsetof(laNodeRack,Nodes),0);
|
|
|
laSubGroupExtraFunctions(p,0,0,laget_NodeGetTheme,laget_BaseNodeGap,0);
|