Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 19, 2018, 3:20:41 PM (7 years ago)
Author:
varyo
Message:

Commented out two asserts and one registerVariable, fixing client side texture issues

Location:
code/branches/Masterserver_FS18/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Masterserver_FS18/src/libraries/network/packet/Gamestate.cc

    r11858 r11889  
    222222          orxout(user_error, context::packets) << "Possible reason for this error: Client created a synchronized object without the Server's approval." << endl;
    223223          orxout(user_error, context::packets) << "Objects class: " << synchronisable->getIdentifier()->getName() << endl;
    224           assert(false);
     224          //assert(false);
    225225        }
    226226      }
  • code/branches/Masterserver_FS18/src/orxonox/graphics/Model.cc

    r11783 r11889  
    104104        registerVariable(this->meshSrc_,    VariableDirection::ToClient, new NetworkCallback<Model>(this, &Model::changedMesh));
    105105        registerVariable(this->renderQueueGroup_,    VariableDirection::ToClient, new NetworkCallback<Model>(this, &Model::changedRenderQueueGroup));
    106         registerVariable(this->materialName_,    VariableDirection::ToClient, new NetworkCallback<Model>(this, &Model::changedMaterial));
     106        //Commented out, since this causes texture load failures on client side
     107        //registerVariable(this->materialName_,    VariableDirection::ToClient, new NetworkCallback<Model>(this, &Model::changedMaterial));
    107108        registerVariable(this->bCastShadows_, VariableDirection::ToClient, new NetworkCallback<Model>(this, &Model::changedShadows));
    108109    }
Note: See TracChangeset for help on using the changeset viewer.