Changeset 977

Show
Ignore:
Timestamp:
10/20/07 18:35:18 (9 months ago)
Author:
cneumann
Message:

fixed: namespace problem in template files

missing files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/System/Action/RenderTraversal/OSGScreenLODBase.cpp

    r976 r977  
    188188{ 
    189189    editMField(CoverageOverrideFieldMask, _mfCoverageOverride); 
    190     _mfCoverageOverride.push_back(Real32(value)); 
     190    _mfCoverageOverride.push_back(value); 
    191191} 
    192192 
     
    208208    fieldIt += uiIndex; 
    209209 
    210     _mfCoverageOverride.insert(fieldIt, Real32(value)); 
     210    _mfCoverageOverride.insert(fieldIt, value); 
    211211} 
    212212 
     
    229229    Real32 const &pNewElem ) 
    230230{ 
    231     Int32  elemIdx = _mfCoverageOverride.findIndex(Real32(pOldElem)); 
     231    Int32  elemIdx = _mfCoverageOverride.findIndex(pOldElem); 
    232232 
    233233    if(elemIdx != -1) 
     
    260260ScreenLODBase::subCoverageOverride(Real32 const &value) 
    261261{ 
    262     Int32 iElemIdx = _mfCoverageOverride.findIndex(Real32(value)); 
     262    Int32 iElemIdx = _mfCoverageOverride.findIndex(value); 
    263263 
    264264    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/Cluster/Window/Base/OSGClusterWindowBase.cpp

    r976 r977  
    542542{ 
    543543    editMField(ServersFieldMask, _mfServers); 
    544     _mfServers.push_back(string(value)); 
     544    _mfServers.push_back(value); 
    545545} 
    546546 
     
    562562    fieldIt += uiIndex; 
    563563 
    564     _mfServers.insert(fieldIt, string(value)); 
     564    _mfServers.insert(fieldIt, value); 
    565565} 
    566566 
     
    583583    std::string const &pNewElem ) 
    584584{ 
    585     Int32  elemIdx = _mfServers.findIndex(string(pOldElem)); 
     585    Int32  elemIdx = _mfServers.findIndex(pOldElem); 
    586586 
    587587    if(elemIdx != -1) 
     
    614614ClusterWindowBase::subServers(std::string const &value) 
    615615{ 
    616     Int32 iElemIdx = _mfServers.findIndex(string(value)); 
     616    Int32 iElemIdx = _mfServers.findIndex(value); 
    617617 
    618618    if(iElemIdx != -1) 
     
    643643{ 
    644644    editMField(AutostartFieldMask, _mfAutostart); 
    645     _mfAutostart.push_back(string(value)); 
     645    _mfAutostart.push_back(value); 
    646646} 
    647647 
     
    663663    fieldIt += uiIndex; 
    664664 
    665     _mfAutostart.insert(fieldIt, string(value)); 
     665    _mfAutostart.insert(fieldIt, value); 
    666666} 
    667667 
     
    684684    std::string const &pNewElem ) 
    685685{ 
    686     Int32  elemIdx = _mfAutostart.findIndex(string(pOldElem)); 
     686    Int32  elemIdx = _mfAutostart.findIndex(pOldElem); 
    687687 
    688688    if(elemIdx != -1) 
     
    715715ClusterWindowBase::subAutostart(std::string const &value) 
    716716{ 
    717     Int32 iElemIdx = _mfAutostart.findIndex(string(value)); 
     717    Int32 iElemIdx = _mfAutostart.findIndex(value); 
    718718 
    719719    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/Cluster/Window/SortFirst/OSGSortFirstWindowBase.cpp

    r976 r977  
    281281{ 
    282282    editMField(RegionFieldMask, _mfRegion); 
    283     _mfRegion.push_back(UInt32(value)); 
     283    _mfRegion.push_back(value); 
    284284} 
    285285 
     
    301301    fieldIt += uiIndex; 
    302302 
    303     _mfRegion.insert(fieldIt, UInt32(value)); 
     303    _mfRegion.insert(fieldIt, value); 
    304304} 
    305305 
     
    322322    UInt32 const &pNewElem ) 
    323323{ 
    324     Int32  elemIdx = _mfRegion.findIndex(UInt32(pOldElem)); 
     324    Int32  elemIdx = _mfRegion.findIndex(pOldElem); 
    325325 
    326326    if(elemIdx != -1) 
     
    353353SortFirstWindowBase::subRegion(UInt32 const &value) 
    354354{ 
    355     Int32 iElemIdx = _mfRegion.findIndex(UInt32(value)); 
     355    Int32 iElemIdx = _mfRegion.findIndex(value); 
    356356 
    357357    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/Cluster/Window/SortLast/OSGSortLastWindowBase.cpp

    r976 r977  
    372372{ 
    373373    editMField(GroupLengthsFieldMask, _mfGroupLengths); 
    374     _mfGroupLengths.push_back(UInt32(value)); 
     374    _mfGroupLengths.push_back(value); 
    375375} 
    376376 
     
    392392    fieldIt += uiIndex; 
    393393 
    394     _mfGroupLengths.insert(fieldIt, UInt32(value)); 
     394    _mfGroupLengths.insert(fieldIt, value); 
    395395} 
    396396 
     
    413413    UInt32 const &pNewElem ) 
    414414{ 
    415     Int32  elemIdx = _mfGroupLengths.findIndex(UInt32(pOldElem)); 
     415    Int32  elemIdx = _mfGroupLengths.findIndex(pOldElem); 
    416416 
    417417    if(elemIdx != -1) 
     
    444444SortLastWindowBase::subGroupLengths(UInt32 const &value) 
    445445{ 
    446     Int32 iElemIdx = _mfGroupLengths.findIndex(UInt32(value)); 
     446    Int32 iElemIdx = _mfGroupLengths.findIndex(value); 
    447447 
    448448    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/Depreciated/State/OSGTextureChunkBase.cpp

    r976 r977  
    19621962{ 
    19631963    editMField(ShaderOffsetMatrixFieldMask, _mfShaderOffsetMatrix); 
    1964     _mfShaderOffsetMatrix.push_back(Real32(value)); 
     1964    _mfShaderOffsetMatrix.push_back(value); 
    19651965} 
    19661966 
     
    19821982    fieldIt += uiIndex; 
    19831983 
    1984     _mfShaderOffsetMatrix.insert(fieldIt, Real32(value)); 
     1984    _mfShaderOffsetMatrix.insert(fieldIt, value); 
    19851985} 
    19861986 
     
    20032003    Real32 const &pNewElem ) 
    20042004{ 
    2005     Int32  elemIdx = _mfShaderOffsetMatrix.findIndex(Real32(pOldElem)); 
     2005    Int32  elemIdx = _mfShaderOffsetMatrix.findIndex(pOldElem); 
    20062006 
    20072007    if(elemIdx != -1) 
     
    20342034TextureChunkBase::subShaderOffsetMatrix(Real32 const &value) 
    20352035{ 
    2036     Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(Real32(value)); 
     2036    Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(value); 
    20372037 
    20382038    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Attachments/OSGStringAttributeMapBase.cpp

    r976 r977  
    199199{ 
    200200    editMField(KeysFieldMask, _mfKeys); 
    201     _mfKeys.push_back(string(value)); 
     201    _mfKeys.push_back(value); 
    202202} 
    203203 
     
    219219    fieldIt += uiIndex; 
    220220 
    221     _mfKeys.insert(fieldIt, string(value)); 
     221    _mfKeys.insert(fieldIt, value); 
    222222} 
    223223 
     
    240240    std::string const &pNewElem ) 
    241241{ 
    242     Int32  elemIdx = _mfKeys.findIndex(string(pOldElem)); 
     242    Int32  elemIdx = _mfKeys.findIndex(pOldElem); 
    243243 
    244244    if(elemIdx != -1) 
     
    271271StringAttributeMapBase::subKeys(std::string const &value) 
    272272{ 
    273     Int32 iElemIdx = _mfKeys.findIndex(string(value)); 
     273    Int32 iElemIdx = _mfKeys.findIndex(value); 
    274274 
    275275    if(iElemIdx != -1) 
     
    300300{ 
    301301    editMField(ValuesFieldMask, _mfValues); 
    302     _mfValues.push_back(string(value)); 
     302    _mfValues.push_back(value); 
    303303} 
    304304 
     
    320320    fieldIt += uiIndex; 
    321321 
    322     _mfValues.insert(fieldIt, string(value)); 
     322    _mfValues.insert(fieldIt, value); 
    323323} 
    324324 
     
    341341    std::string const &pNewElem ) 
    342342{ 
    343     Int32  elemIdx = _mfValues.findIndex(string(pOldElem)); 
     343    Int32  elemIdx = _mfValues.findIndex(pOldElem); 
    344344 
    345345    if(elemIdx != -1) 
     
    372372StringAttributeMapBase::subValues(std::string const &value) 
    373373{ 
    374     Int32 iElemIdx = _mfValues.findIndex(string(value)); 
     374    Int32 iElemIdx = _mfValues.findIndex(value); 
    375375 
    376376    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/Image/ES/OSGImageBase.cpp

    r976 r977  
    787787{ 
    788788    editMField(PixelFieldMask, _mfPixel); 
    789     _mfPixel.push_back(UInt8(value)); 
     789    _mfPixel.push_back(value); 
    790790} 
    791791 
     
    807807    fieldIt += uiIndex; 
    808808 
    809     _mfPixel.insert(fieldIt, UInt8(value)); 
     809    _mfPixel.insert(fieldIt, value); 
    810810} 
    811811 
     
    828828    UInt8 const &pNewElem ) 
    829829{ 
    830     Int32  elemIdx = _mfPixel.findIndex(UInt8(pOldElem)); 
     830    Int32  elemIdx = _mfPixel.findIndex(pOldElem); 
    831831 
    832832    if(elemIdx != -1) 
     
    859859ImageBase::subPixel(UInt8 const &value) 
    860860{ 
    861     Int32 iElemIdx = _mfPixel.findIndex(UInt8(value)); 
     861    Int32 iElemIdx = _mfPixel.findIndex(value); 
    862862 
    863863    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/Image/WS/OSGImageBase.cpp

    r976 r977  
    876876{ 
    877877    editMField(PixelFieldMask, _mfPixel); 
    878     _mfPixel.push_back(UInt8(value)); 
     878    _mfPixel.push_back(value); 
    879879} 
    880880 
     
    896896    fieldIt += uiIndex; 
    897897 
    898     _mfPixel.insert(fieldIt, UInt8(value)); 
     898    _mfPixel.insert(fieldIt, value); 
    899899} 
    900900 
     
    917917    UInt8 const &pNewElem ) 
    918918{ 
    919     Int32  elemIdx = _mfPixel.findIndex(UInt8(pOldElem)); 
     919    Int32  elemIdx = _mfPixel.findIndex(pOldElem); 
    920920 
    921921    if(elemIdx != -1) 
     
    948948ImageBase::subPixel(UInt8 const &value) 
    949949{ 
    950     Int32 iElemIdx = _mfPixel.findIndex(UInt8(value)); 
     950    Int32 iElemIdx = _mfPixel.findIndex(value); 
    951951 
    952952    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/Material/Base/OSGChunkMaterialBase.cpp

    r976 r977  
    367367{ 
    368368    editMField(SlotsFieldMask, _mfSlots); 
    369     _mfSlots.push_back(Int32(value)); 
     369    _mfSlots.push_back(value); 
    370370} 
    371371 
     
    387387    fieldIt += uiIndex; 
    388388 
    389     _mfSlots.insert(fieldIt, Int32(value)); 
     389    _mfSlots.insert(fieldIt, value); 
    390390} 
    391391 
     
    408408    Int32 const &pNewElem ) 
    409409{ 
    410     Int32  elemIdx = _mfSlots.findIndex(Int32(pOldElem)); 
     410    Int32  elemIdx = _mfSlots.findIndex(pOldElem); 
    411411 
    412412    if(elemIdx != -1) 
     
    439439ChunkMaterialBase::subSlots(Int32 const &value) 
    440440{ 
    441     Int32 iElemIdx = _mfSlots.findIndex(Int32(value)); 
     441    Int32 iElemIdx = _mfSlots.findIndex(value); 
    442442 
    443443    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoMultiPropertyDataBase.cpp

    r976 r977  
    196196{ 
    197197    editMField(IDataFieldMask, _mfIData); 
    198     _mfIData.push_back(UInt8(value)); 
     198    _mfIData.push_back(value); 
    199199} 
    200200 
     
    216216    fieldIt += uiIndex; 
    217217 
    218     _mfIData.insert(fieldIt, UInt8(value)); 
     218    _mfIData.insert(fieldIt, value); 
    219219} 
    220220 
     
    237237    UInt8 const &pNewElem ) 
    238238{ 
    239     Int32  elemIdx = _mfIData.findIndex(UInt8(pOldElem)); 
     239    Int32  elemIdx = _mfIData.findIndex(pOldElem); 
    240240 
    241241    if(elemIdx != -1) 
     
    268268GeoMultiPropertyDataBase::subIData(UInt8 const &value) 
    269269{ 
    270     Int32 iElemIdx = _mfIData.findIndex(UInt8(value)); 
     270    Int32 iElemIdx = _mfIData.findIndex(value); 
    271271 
    272272    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Particles/OSGParticlesBase.cpp

    r976 r977  
    563563{ 
    564564    editMField(SizesFieldMask, _mfSizes); 
    565     _mfSizes.push_back(Vec3f(value)); 
     565    _mfSizes.push_back(value); 
    566566} 
    567567 
     
    583583    fieldIt += uiIndex; 
    584584 
    585     _mfSizes.insert(fieldIt, Vec3f(value)); 
     585    _mfSizes.insert(fieldIt, value); 
    586586} 
    587587 
     
    604604    Vec3f const &pNewElem ) 
    605605{ 
    606     Int32  elemIdx = _mfSizes.findIndex(Vec3f(pOldElem)); 
     606    Int32  elemIdx = _mfSizes.findIndex(pOldElem); 
    607607 
    608608    if(elemIdx != -1) 
     
    635635ParticlesBase::subSizes(Vec3f const &value) 
    636636{ 
    637     Int32 iElemIdx = _mfSizes.findIndex(Vec3f(value)); 
     637    Int32 iElemIdx = _mfSizes.findIndex(value); 
    638638 
    639639    if(iElemIdx != -1) 
     
    664664{ 
    665665    editMField(IndicesFieldMask, _mfIndices); 
    666     _mfIndices.push_back(Int32(value)); 
     666    _mfIndices.push_back(value); 
    667667} 
    668668 
     
    684684    fieldIt += uiIndex; 
    685685 
    686     _mfIndices.insert(fieldIt, Int32(value)); 
     686    _mfIndices.insert(fieldIt, value); 
    687687} 
    688688 
     
    705705    Int32 const &pNewElem ) 
    706706{ 
    707     Int32  elemIdx = _mfIndices.findIndex(Int32(pOldElem)); 
     707    Int32  elemIdx = _mfIndices.findIndex(pOldElem); 
    708708 
    709709    if(elemIdx != -1) 
     
    736736ParticlesBase::subIndices(Int32 const &value) 
    737737{ 
    738     Int32 iElemIdx = _mfIndices.findIndex(Int32(value)); 
     738    Int32 iElemIdx = _mfIndices.findIndex(value); 
    739739 
    740740    if(iElemIdx != -1) 
     
    765765{ 
    766766    editMField(TextureZsFieldMask, _mfTextureZs); 
    767     _mfTextureZs.push_back(Real32(value)); 
     767    _mfTextureZs.push_back(value); 
    768768} 
    769769 
     
    785785    fieldIt += uiIndex; 
    786786 
    787     _mfTextureZs.insert(fieldIt, Real32(value)); 
     787    _mfTextureZs.insert(fieldIt, value); 
    788788} 
    789789 
     
    806806    Real32 const &pNewElem ) 
    807807{ 
    808     Int32  elemIdx = _mfTextureZs.findIndex(Real32(pOldElem)); 
     808    Int32  elemIdx = _mfTextureZs.findIndex(pOldElem); 
    809809 
    810810    if(elemIdx != -1) 
     
    837837ParticlesBase::subTextureZs(Real32 const &value) 
    838838{ 
    839     Int32 iElemIdx = _mfTextureZs.findIndex(Real32(value)); 
     839    Int32 iElemIdx = _mfTextureZs.findIndex(value); 
    840840 
    841841    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Terrain/QuadTree/OSGQuadTreeTerrainBase.cpp

    r976 r977  
    829829{ 
    830830    editMField(HeightErrorFieldMask, _mfHeightError); 
    831     _mfHeightError.push_back(Real32(value)); 
     831    _mfHeightError.push_back(value); 
    832832} 
    833833 
     
    849849    fieldIt += uiIndex; 
    850850 
    851     _mfHeightError.insert(fieldIt, Real32(value)); 
     851    _mfHeightError.insert(fieldIt, value); 
    852852} 
    853853 
     
    870870    Real32 const &pNewElem ) 
    871871{ 
    872     Int32  elemIdx = _mfHeightError.findIndex(Real32(pOldElem)); 
     872    Int32  elemIdx = _mfHeightError.findIndex(pOldElem); 
    873873 
    874874    if(elemIdx != -1) 
     
    901901QuadTreeTerrainBase::subHeightError(Real32 const &value) 
    902902{ 
    903     Int32 iElemIdx = _mfHeightError.findIndex(Real32(value)); 
     903    Int32 iElemIdx = _mfHeightError.findIndex(value); 
    904904 
    905905    if(iElemIdx != -1) 
     
    930930{ 
    931931    editMField(HeightQuadFieldMask, _mfHeightQuad); 
    932     _mfHeightQuad.push_back(Real32(value)); 
     932    _mfHeightQuad.push_back(value); 
    933933} 
    934934 
     
    950950    fieldIt += uiIndex; 
    951951 
    952     _mfHeightQuad.insert(fieldIt, Real32(value)); 
     952    _mfHeightQuad.insert(fieldIt, value); 
    953953} 
    954954 
     
    971971    Real32 const &pNewElem ) 
    972972{ 
    973     Int32  elemIdx = _mfHeightQuad.findIndex(Real32(pOldElem)); 
     973    Int32  elemIdx = _mfHeightQuad.findIndex(pOldElem); 
    974974 
    975975    if(elemIdx != -1) 
     
    10021002QuadTreeTerrainBase::subHeightQuad(Real32 const &value) 
    10031003{ 
    1004     Int32 iElemIdx = _mfHeightQuad.findIndex(Real32(value)); 
     1004    Int32 iElemIdx = _mfHeightQuad.findIndex(value); 
    10051005 
    10061006    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGDistanceLODBase.cpp

    r976 r977  
    300300{ 
    301301    editMField(RangeFieldMask, _mfRange); 
    302     _mfRange.push_back(Real32(value)); 
     302    _mfRange.push_back(value); 
    303303} 
    304304 
     
    320320    fieldIt += uiIndex; 
    321321 
    322     _mfRange.insert(fieldIt, Real32(value)); 
     322    _mfRange.insert(fieldIt, value); 
    323323} 
    324324 
     
    341341    Real32 const &pNewElem ) 
    342342{ 
    343     Int32  elemIdx = _mfRange.findIndex(Real32(pOldElem)); 
     343    Int32  elemIdx = _mfRange.findIndex(pOldElem); 
    344344 
    345345    if(elemIdx != -1) 
     
    372372DistanceLODBase::subRange(Real32 const &value) 
    373373{ 
    374     Int32 iElemIdx = _mfRange.findIndex(Real32(value)); 
     374    Int32 iElemIdx = _mfRange.findIndex(value); 
    375375 
    376376    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGInlineBase.cpp

    r976 r977  
    194194{ 
    195195    editMField(UrlFieldMask, _mfUrl); 
    196     _mfUrl.push_back(string(value)); 
     196    _mfUrl.push_back(value); 
    197197} 
    198198 
     
    214214    fieldIt += uiIndex; 
    215215 
    216     _mfUrl.insert(fieldIt, string(value)); 
     216    _mfUrl.insert(fieldIt, value); 
    217217} 
    218218 
     
    235235    std::string const &pNewElem ) 
    236236{ 
    237     Int32  elemIdx = _mfUrl.findIndex(string(pOldElem)); 
     237    Int32  elemIdx = _mfUrl.findIndex(pOldElem); 
    238238 
    239239    if(elemIdx != -1) 
     
    266266InlineBase::subUrl(std::string const &value) 
    267267{ 
    268     Int32 iElemIdx = _mfUrl.findIndex(string(value)); 
     268    Int32 iElemIdx = _mfUrl.findIndex(value); 
    269269 
    270270    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGProxyGroupBase.cpp

    r976 r977  
    490490{ 
    491491    editMField(InlineFieldMask, _mfInline); 
    492     _mfInline.push_back(UInt8(value)); 
     492    _mfInline.push_back(value); 
    493493} 
    494494 
     
    510510    fieldIt += uiIndex; 
    511511 
    512     _mfInline.insert(fieldIt, UInt8(value)); 
     512    _mfInline.insert(fieldIt, value); 
    513513} 
    514514 
     
    531531    UInt8 const &pNewElem ) 
    532532{ 
    533     Int32  elemIdx = _mfInline.findIndex(UInt8(pOldElem)); 
     533    Int32  elemIdx = _mfInline.findIndex(pOldElem); 
    534534 
    535535    if(elemIdx != -1) 
     
    562562ProxyGroupBase::subInline(UInt8 const &value) 
    563563{ 
    564     Int32 iElemIdx = _mfInline.findIndex(UInt8(value)); 
     564    Int32 iElemIdx = _mfInline.findIndex(value); 
    565565 
    566566    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/State/ARBProgram/OSGProgramChunkBase.cpp

    r976 r977  
    284284{ 
    285285    editMField(ParamValuesFieldMask, _mfParamValues); 
    286     _mfParamValues.push_back(Vec4f(value)); 
     286    _mfParamValues.push_back(value); 
    287287} 
    288288 
     
    304304    fieldIt += uiIndex; 
    305305 
    306     _mfParamValues.insert(fieldIt, Vec4f(value)); 
     306    _mfParamValues.insert(fieldIt, value); 
    307307} 
    308308 
     
    325325    Vec4f const &pNewElem ) 
    326326{ 
    327     Int32  elemIdx = _mfParamValues.findIndex(Vec4f(pOldElem)); 
     327    Int32  elemIdx = _mfParamValues.findIndex(pOldElem); 
    328328 
    329329    if(elemIdx != -1) 
     
    356356ProgramChunkBase::subParamValues(Vec4f const &value) 
    357357{ 
    358     Int32 iElemIdx = _mfParamValues.findIndex(Vec4f(value)); 
     358    Int32 iElemIdx = _mfParamValues.findIndex(value); 
    359359 
    360360    if(iElemIdx != -1) 
     
    385385{ 
    386386    editMField(ParamNamesFieldMask, _mfParamNames); 
    387     _mfParamNames.push_back(std::string(value)); 
     387    _mfParamNames.push_back(value); 
    388388} 
    389389 
     
    405405    fieldIt += uiIndex; 
    406406 
    407     _mfParamNames.insert(fieldIt, std::string(value)); 
     407    _mfParamNames.insert(fieldIt, value); 
    408408} 
    409409 
     
    426426    std::string const &pNewElem ) 
    427427{ 
    428     Int32  elemIdx = _mfParamNames.findIndex(std::string(pOldElem)); 
     428    Int32  elemIdx = _mfParamNames.findIndex(pOldElem); 
    429429 
    430430    if(elemIdx != -1) 
     
    457457ProgramChunkBase::subParamNames(std::string const &value) 
    458458{ 
    459     Int32 iElemIdx = _mfParamNames.findIndex(std::string(value)); 
     459    Int32 iElemIdx = _mfParamNames.findIndex(value); 
    460460 
    461461    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/State/Base/ES/OSGTextureObjChunkBase.cpp

    r976 r977  
    19091909{ 
    19101910    editMField(ShaderOffsetMatrixFieldMask, _mfShaderOffsetMatrix); 
    1911     _mfShaderOffsetMatrix.push_back(Real32(value)); 
     1911    _mfShaderOffsetMatrix.push_back(value); 
    19121912} 
    19131913 
     
    19291929    fieldIt += uiIndex; 
    19301930 
    1931     _mfShaderOffsetMatrix.insert(fieldIt, Real32(value)); 
     1931    _mfShaderOffsetMatrix.insert(fieldIt, value); 
    19321932} 
    19331933 
     
    19501950    Real32 const &pNewElem ) 
    19511951{ 
    1952     Int32  elemIdx = _mfShaderOffsetMatrix.findIndex(Real32(pOldElem)); 
     1952    Int32  elemIdx = _mfShaderOffsetMatrix.findIndex(pOldElem); 
    19531953 
    19541954    if(elemIdx != -1) 
     
    19811981TextureObjChunkBase::subShaderOffsetMatrix(Real32 const &value) 
    19821982{ 
    1983     Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(Real32(value)); 
     1983    Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(value); 
    19841984 
    19851985    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/State/Base/OSGTextureEnvChunkBase.cpp

    r976 r977  
    10101010{ 
    10111011    editMField(ShaderOffsetMatrixFieldMask, _mfShaderOffsetMatrix); 
    1012     _mfShaderOffsetMatrix.push_back(Real32(value)); 
     1012    _mfShaderOffsetMatrix.push_back(value); 
    10131013} 
    10141014 
     
    10301030    fieldIt += uiIndex; 
    10311031 
    1032     _mfShaderOffsetMatrix.insert(fieldIt, Real32(value)); 
     1032    _mfShaderOffsetMatrix.insert(fieldIt, value); 
    10331033} 
    10341034 
     
    10511051    Real32 const &pNewElem ) 
    10521052{ 
    1053     Int32  elemIdx = _mfShaderOffsetMatrix.findIndex(Real32(pOldElem)); 
     1053    Int32  elemIdx = _mfShaderOffsetMatrix.findIndex(pOldElem); 
    10541054 
    10551055    if(elemIdx != -1) 
     
    10821082TextureEnvChunkBase::subShaderOffsetMatrix(Real32 const &value) 
    10831083{ 
    1084     Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(Real32(value)); 
     1084    Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(value); 
    10851085 
    10861086    if(iElemIdx != -1) 
  • branches/Carsten_PtrWork/Source/System/State/NVidia/OSGRegisterCombinersChunkBase.cpp

    r976 r977  
    990990{ 
    991991    editMField(VariableArgbFieldMask, _mfVariableArgb); 
    992     _mfVariableArgb.push_back(GLenum(value)); 
     992    _mfVariableArgb.push_back(value); 
    993993} 
    994994 
     
    10101010    fieldIt += uiIndex; 
    10111011 
    1012     _mfVariableArgb.insert(fieldIt, GLenum(value)); 
     1012    _mfVariableArgb.insert(fieldIt, value); 
    10131013} 
    10141014 
     
    10311031    GLenum const &pNewElem ) 
    10321032{ 
    1033     Int32  elemIdx = _mfVariableArgb.findIndex(GLenum(pOldElem)); 
     1033    Int32  elemIdx = _mfVariableArgb.findIndex(pOldElem); 
    10341034 
    10351035    if(elemIdx != -1) 
     
    10621062RegisterCombinersChunkBase::subVariableArgb(GLenum const &value) 
    10631063{ 
    1064     Int32 iElemIdx = _mfVariableArgb.findIndex(GLenum(value)); 
     1064    Int32 iElemIdx = _mfVariableArgb.findIndex(value); 
    10651065 
    10661066    if(iElemIdx != -1) 
     
    10911091{ 
    10921092    editMField(VariableBrgbFieldMask, _mfVariableBrgb); 
    1093     _mfVariableBrgb.push_back(GLenum(value)); 
     1093    _mfVariableBrgb.push_back(value); 
    10941094} 
    10951095 
     
    11111111    fieldIt += uiIndex; 
    11121112 
    1113     _mfVariableBrgb.insert(fieldIt, GLenum(value)); 
     1113    _mfVariableBrgb.insert(fieldIt, value); 
    11141114} 
    11151115 
     
    11321132    GLenum const &pNewElem ) 
    11331133{ 
    1134     Int32  elemIdx = _mfVariableBrgb.findIndex(GLenum(pOldElem)); 
     1134    Int32  elemIdx = _mfVariableBrgb.findIndex(pOldElem); 
    11351135 
    11361136    if(elemIdx != -1) 
     
    11631163RegisterCombinersChunkBase::subVariableBrgb(GLenum const &value) 
    11641164{ 
    1165     Int32 iElemIdx = _mfVariableBrgb.findIndex(GLenum(value)); 
     1165    Int32 iElemIdx = _mfVariableBrgb.findIndex(value); 
    11661166 
    11671167    if(iElemIdx != -1) 
     
    11921192{ 
    11931193    editMField(VariableCrgbFieldMask, _mfVariableCrgb); 
    1194     _mfVariableCrgb.push_back(GLenum(value)); 
     1194    _mfVariableCrgb.push_back(value); 
    11951195} 
    11961196 
     
    12121212    fieldIt += uiIndex; 
    12131213 
    1214     _mfVariableCrgb.insert(fieldIt, GLenum(value)); 
     1214    _mfVariableCrgb.insert(fieldIt, value); 
    12151215} 
    12161216 
     
    12331233    GLenum const &pNewElem ) 
    12341234{ 
    1235     Int32  elemIdx = _mfVariableCrgb.findIndex(GLenum(pOldElem)); 
     1235    Int32  elemIdx = _mfVariableCrgb.findIndex(pOldElem); 
    12361236 
    12371237    if(elemIdx != -1) 
     
    12641264RegisterCombinersChunkBase::subVariableCrgb(GLenum const &value) 
    12651265{ 
    1266     Int32 iElemIdx = _mfVariableCrgb.findIndex(GLenum(value)); 
     1266    Int32 iElemIdx = _mfVariableCrgb.findIndex(value); 
    12671267 
    12681268    if(iElemIdx != -1) 
     
    12931293{ 
    12941294    editMField(VariableDrgbFieldMask, _mfVariableDrgb); 
    1295     _mfVariableDrgb.push_back(GLenum(value)); 
     1295    _mfVariableDrgb.push_back(value); 
    12961296} 
    12971297 
     
    13131313    fieldIt += uiIndex; 
    13141314 
    1315     _mfVariableDrgb.insert(fieldIt, GLenum(value)); 
     1315    _mfVariableDrgb.insert(fieldIt, value); 
    13161316} 
    13171317 
     
    13341334