Ignore:
Timestamp:
08/27/13 14:28:20 (12 years ago)
Author:
Mathieu Morlighem
Message:

NEW: removed node inputs:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Penta.cpp

    r15974 r15976  
    20282028                base_inputs[0]=(Input*)material->inputs->GetInput(enum_type);
    20292029        }
    2030         else if (object_type==NodeEnum){
    2031                 num_inputs=3; //only the three upper nodes
    2032                 base_inputs=xNew<Input*>(num_inputs);
    2033                 for(i=0;i<num_inputs;i++){
    2034                         base_inputs[i]=(Input*)this->nodes[i]->inputs->GetInput(enum_type);
    2035                 }
    2036         }
    20372030        else{
    20382031                _error_("object of type " << EnumToStringx(object_type) << " not supported yet");
     
    20612054                        else if(object_type==MaterialsEnum){
    20622055                                penta->material->inputs->AddInput((Input*)copy);
    2063                         }
    2064                         else if(object_type==NodeEnum){
    2065                                 penta->nodes[i+3]->inputs->AddInput((Input*)copy); //change only the three upper nodes
    20662056                        }
    20672057                        else{
Note: See TracChangeset for help on using the changeset viewer.