@ -434,15 +434,13 @@ public final class MatDefEditorlElement extends JPanel implements MultiViewEleme
}
}
public void notifyAddMapParam ( String type , String name ) {
public void notifyAddMapParam ( String type , String name ) {
MatDefBlock matDef = obj . getLookup ( ) . lookup ( MatDefBlock . class ) ;
MatDefBlock matDef = obj . getLookup ( ) . lookup ( MatDefBlock . class ) ;
//FIXME add a way to set fixed pipeline function and default value
MatParamBlock param = new MatParamBlock ( type , name , null , null ) ;
MatParamBlock param = new MatParamBlock ( type , name , null , null ) ;
matDef . addMatParam ( param ) ;
matDef . addMatParam ( param ) ;
}
}
public void notifyAddWorldParam ( String name ) {
public void notifyAddWorldParam ( String name ) {
MatDefBlock matDef = obj . getLookup ( ) . lookup ( MatDefBlock . class ) ;
MatDefBlock matDef = obj . getLookup ( ) . lookup ( MatDefBlock . class ) ;
//FIXME add a way to set fixed pipeline function and default value
WorldParamBlock param = new WorldParamBlock ( name ) ;
WorldParamBlock param = new WorldParamBlock ( name ) ;
getTechnique ( matDef ) . addWorldParam ( param ) ;
getTechnique ( matDef ) . addWorldParam ( param ) ;
}
}