Changeset 977
- Timestamp:
- 10/20/07 18:35:18 (9 months ago)
- Files:
-
- branches/Carsten_PtrWork/Source/System/Action/RenderTraversal/OSGScreenLODBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Cluster/Window/Base/OSGClusterWindowBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/Cluster/Window/SortFirst/OSGSortFirstWindowBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Cluster/Window/SortLast/OSGSortLastWindowBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Depreciated/State/OSGTextureChunkBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/FieldContainer/Attachments/OSGStringAttributeMapBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGMPointerFieldAdapter.ins (added)
- branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGSPointerFieldAdapter.ins (added)
- branches/Carsten_PtrWork/Source/System/Image/ES/OSGImageBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Image/WS/OSGImageBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Material/Base/OSGChunkMaterialBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoMultiPropertyDataBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Particles/OSGParticlesBase.cpp (modified) (12 diffs)
- branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Terrain/QuadTree/OSGQuadTreeTerrainBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGDistanceLODBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGInlineBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGProxyGroupBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/ARBProgram/OSGProgramChunkBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/State/Base/ES/OSGTextureObjChunkBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/Base/OSGTextureEnvChunkBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/NVidia/OSGRegisterCombinersChunkBase.cpp (modified) (108 diffs)
- branches/Carsten_PtrWork/Source/System/State/OpenGL/OSGPolygonChunkBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/SHL/OSGSHLChunkBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/State/SHL/Parameter/OSGShaderParameterMIntBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/SHL/Parameter/OSGShaderParameterMMatrixBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/SHL/Parameter/OSGShaderParameterMRealBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/SHL/Parameter/OSGShaderParameterMVec2fBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/SHL/Parameter/OSGShaderParameterMVec3fBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/State/SHL/Parameter/OSGShaderParameterMVec4fBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Statistics/Base/OSGStatisticsForegroundBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Statistics/Foregrounds/OSGSimpleStatisticsForegroundBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Window/Background/OSGGradientBackgroundBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/Window/Background/OSGPolygonBackgroundBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/Window/Background/OSGSkyBackgroundBase.cpp (modified) (40 diffs)
- branches/Carsten_PtrWork/Source/System/Window/Background/OSGTextureBackgroundBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Window/Base/OSGWindowBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/Window/Camera/OSGProjectionCameraDecoratorBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Window/Foreground/OSGImageForegroundBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/System/Window/Foreground/OSGPolygonForegroundBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork/Source/System/Window/FrameBufferObjects/OSGFrameBufferObjectBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Source/Test/GroupLib/OSGTestMultiPartitionStageBase.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork/Tools/fcd2code/TemplateFieldContainerBase_cpp.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork/Source/System/Action/RenderTraversal/OSGScreenLODBase.cpp
r976 r977 188 188 { 189 189 editMField(CoverageOverrideFieldMask, _mfCoverageOverride); 190 _mfCoverageOverride.push_back( Real32(value));190 _mfCoverageOverride.push_back(value); 191 191 } 192 192 … … 208 208 fieldIt += uiIndex; 209 209 210 _mfCoverageOverride.insert(fieldIt, Real32(value));210 _mfCoverageOverride.insert(fieldIt, value); 211 211 } 212 212 … … 229 229 Real32 const &pNewElem ) 230 230 { 231 Int32 elemIdx = _mfCoverageOverride.findIndex( Real32(pOldElem));231 Int32 elemIdx = _mfCoverageOverride.findIndex(pOldElem); 232 232 233 233 if(elemIdx != -1) … … 260 260 ScreenLODBase::subCoverageOverride(Real32 const &value) 261 261 { 262 Int32 iElemIdx = _mfCoverageOverride.findIndex( Real32(value));262 Int32 iElemIdx = _mfCoverageOverride.findIndex(value); 263 263 264 264 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/Cluster/Window/Base/OSGClusterWindowBase.cpp
r976 r977 542 542 { 543 543 editMField(ServersFieldMask, _mfServers); 544 _mfServers.push_back( string(value));544 _mfServers.push_back(value); 545 545 } 546 546 … … 562 562 fieldIt += uiIndex; 563 563 564 _mfServers.insert(fieldIt, string(value));564 _mfServers.insert(fieldIt, value); 565 565 } 566 566 … … 583 583 std::string const &pNewElem ) 584 584 { 585 Int32 elemIdx = _mfServers.findIndex( string(pOldElem));585 Int32 elemIdx = _mfServers.findIndex(pOldElem); 586 586 587 587 if(elemIdx != -1) … … 614 614 ClusterWindowBase::subServers(std::string const &value) 615 615 { 616 Int32 iElemIdx = _mfServers.findIndex( string(value));616 Int32 iElemIdx = _mfServers.findIndex(value); 617 617 618 618 if(iElemIdx != -1) … … 643 643 { 644 644 editMField(AutostartFieldMask, _mfAutostart); 645 _mfAutostart.push_back( string(value));645 _mfAutostart.push_back(value); 646 646 } 647 647 … … 663 663 fieldIt += uiIndex; 664 664 665 _mfAutostart.insert(fieldIt, string(value));665 _mfAutostart.insert(fieldIt, value); 666 666 } 667 667 … … 684 684 std::string const &pNewElem ) 685 685 { 686 Int32 elemIdx = _mfAutostart.findIndex( string(pOldElem));686 Int32 elemIdx = _mfAutostart.findIndex(pOldElem); 687 687 688 688 if(elemIdx != -1) … … 715 715 ClusterWindowBase::subAutostart(std::string const &value) 716 716 { 717 Int32 iElemIdx = _mfAutostart.findIndex( string(value));717 Int32 iElemIdx = _mfAutostart.findIndex(value); 718 718 719 719 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/Cluster/Window/SortFirst/OSGSortFirstWindowBase.cpp
r976 r977 281 281 { 282 282 editMField(RegionFieldMask, _mfRegion); 283 _mfRegion.push_back( UInt32(value));283 _mfRegion.push_back(value); 284 284 } 285 285 … … 301 301 fieldIt += uiIndex; 302 302 303 _mfRegion.insert(fieldIt, UInt32(value));303 _mfRegion.insert(fieldIt, value); 304 304 } 305 305 … … 322 322 UInt32 const &pNewElem ) 323 323 { 324 Int32 elemIdx = _mfRegion.findIndex( UInt32(pOldElem));324 Int32 elemIdx = _mfRegion.findIndex(pOldElem); 325 325 326 326 if(elemIdx != -1) … … 353 353 SortFirstWindowBase::subRegion(UInt32 const &value) 354 354 { 355 Int32 iElemIdx = _mfRegion.findIndex( UInt32(value));355 Int32 iElemIdx = _mfRegion.findIndex(value); 356 356 357 357 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/Cluster/Window/SortLast/OSGSortLastWindowBase.cpp
r976 r977 372 372 { 373 373 editMField(GroupLengthsFieldMask, _mfGroupLengths); 374 _mfGroupLengths.push_back( UInt32(value));374 _mfGroupLengths.push_back(value); 375 375 } 376 376 … … 392 392 fieldIt += uiIndex; 393 393 394 _mfGroupLengths.insert(fieldIt, UInt32(value));394 _mfGroupLengths.insert(fieldIt, value); 395 395 } 396 396 … … 413 413 UInt32 const &pNewElem ) 414 414 { 415 Int32 elemIdx = _mfGroupLengths.findIndex( UInt32(pOldElem));415 Int32 elemIdx = _mfGroupLengths.findIndex(pOldElem); 416 416 417 417 if(elemIdx != -1) … … 444 444 SortLastWindowBase::subGroupLengths(UInt32 const &value) 445 445 { 446 Int32 iElemIdx = _mfGroupLengths.findIndex( UInt32(value));446 Int32 iElemIdx = _mfGroupLengths.findIndex(value); 447 447 448 448 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/Depreciated/State/OSGTextureChunkBase.cpp
r976 r977 1962 1962 { 1963 1963 editMField(ShaderOffsetMatrixFieldMask, _mfShaderOffsetMatrix); 1964 _mfShaderOffsetMatrix.push_back( Real32(value));1964 _mfShaderOffsetMatrix.push_back(value); 1965 1965 } 1966 1966 … … 1982 1982 fieldIt += uiIndex; 1983 1983 1984 _mfShaderOffsetMatrix.insert(fieldIt, Real32(value));1984 _mfShaderOffsetMatrix.insert(fieldIt, value); 1985 1985 } 1986 1986 … … 2003 2003 Real32 const &pNewElem ) 2004 2004 { 2005 Int32 elemIdx = _mfShaderOffsetMatrix.findIndex( Real32(pOldElem));2005 Int32 elemIdx = _mfShaderOffsetMatrix.findIndex(pOldElem); 2006 2006 2007 2007 if(elemIdx != -1) … … 2034 2034 TextureChunkBase::subShaderOffsetMatrix(Real32 const &value) 2035 2035 { 2036 Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex( Real32(value));2036 Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(value); 2037 2037 2038 2038 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/FieldContainer/Attachments/OSGStringAttributeMapBase.cpp
r976 r977 199 199 { 200 200 editMField(KeysFieldMask, _mfKeys); 201 _mfKeys.push_back( string(value));201 _mfKeys.push_back(value); 202 202 } 203 203 … … 219 219 fieldIt += uiIndex; 220 220 221 _mfKeys.insert(fieldIt, string(value));221 _mfKeys.insert(fieldIt, value); 222 222 } 223 223 … … 240 240 std::string const &pNewElem ) 241 241 { 242 Int32 elemIdx = _mfKeys.findIndex( string(pOldElem));242 Int32 elemIdx = _mfKeys.findIndex(pOldElem); 243 243 244 244 if(elemIdx != -1) … … 271 271 StringAttributeMapBase::subKeys(std::string const &value) 272 272 { 273 Int32 iElemIdx = _mfKeys.findIndex( string(value));273 Int32 iElemIdx = _mfKeys.findIndex(value); 274 274 275 275 if(iElemIdx != -1) … … 300 300 { 301 301 editMField(ValuesFieldMask, _mfValues); 302 _mfValues.push_back( string(value));302 _mfValues.push_back(value); 303 303 } 304 304 … … 320 320 fieldIt += uiIndex; 321 321 322 _mfValues.insert(fieldIt, string(value));322 _mfValues.insert(fieldIt, value); 323 323 } 324 324 … … 341 341 std::string const &pNewElem ) 342 342 { 343 Int32 elemIdx = _mfValues.findIndex( string(pOldElem));343 Int32 elemIdx = _mfValues.findIndex(pOldElem); 344 344 345 345 if(elemIdx != -1) … … 372 372 StringAttributeMapBase::subValues(std::string const &value) 373 373 { 374 Int32 iElemIdx = _mfValues.findIndex( string(value));374 Int32 iElemIdx = _mfValues.findIndex(value); 375 375 376 376 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/Image/ES/OSGImageBase.cpp
r976 r977 787 787 { 788 788 editMField(PixelFieldMask, _mfPixel); 789 _mfPixel.push_back( UInt8(value));789 _mfPixel.push_back(value); 790 790 } 791 791 … … 807 807 fieldIt += uiIndex; 808 808 809 _mfPixel.insert(fieldIt, UInt8(value));809 _mfPixel.insert(fieldIt, value); 810 810 } 811 811 … … 828 828 UInt8 const &pNewElem ) 829 829 { 830 Int32 elemIdx = _mfPixel.findIndex( UInt8(pOldElem));830 Int32 elemIdx = _mfPixel.findIndex(pOldElem); 831 831 832 832 if(elemIdx != -1) … … 859 859 ImageBase::subPixel(UInt8 const &value) 860 860 { 861 Int32 iElemIdx = _mfPixel.findIndex( UInt8(value));861 Int32 iElemIdx = _mfPixel.findIndex(value); 862 862 863 863 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/Image/WS/OSGImageBase.cpp
r976 r977 876 876 { 877 877 editMField(PixelFieldMask, _mfPixel); 878 _mfPixel.push_back( UInt8(value));878 _mfPixel.push_back(value); 879 879 } 880 880 … … 896 896 fieldIt += uiIndex; 897 897 898 _mfPixel.insert(fieldIt, UInt8(value));898 _mfPixel.insert(fieldIt, value); 899 899 } 900 900 … … 917 917 UInt8 const &pNewElem ) 918 918 { 919 Int32 elemIdx = _mfPixel.findIndex( UInt8(pOldElem));919 Int32 elemIdx = _mfPixel.findIndex(pOldElem); 920 920 921 921 if(elemIdx != -1) … … 948 948 ImageBase::subPixel(UInt8 const &value) 949 949 { 950 Int32 iElemIdx = _mfPixel.findIndex( UInt8(value));950 Int32 iElemIdx = _mfPixel.findIndex(value); 951 951 952 952 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/Material/Base/OSGChunkMaterialBase.cpp
r976 r977 367 367 { 368 368 editMField(SlotsFieldMask, _mfSlots); 369 _mfSlots.push_back( Int32(value));369 _mfSlots.push_back(value); 370 370 } 371 371 … … 387 387 fieldIt += uiIndex; 388 388 389 _mfSlots.insert(fieldIt, Int32(value));389 _mfSlots.insert(fieldIt, value); 390 390 } 391 391 … … 408 408 Int32 const &pNewElem ) 409 409 { 410 Int32 elemIdx = _mfSlots.findIndex( Int32(pOldElem));410 Int32 elemIdx = _mfSlots.findIndex(pOldElem); 411 411 412 412 if(elemIdx != -1) … … 439 439 ChunkMaterialBase::subSlots(Int32 const &value) 440 440 { 441 Int32 iElemIdx = _mfSlots.findIndex( Int32(value));441 Int32 iElemIdx = _mfSlots.findIndex(value); 442 442 443 443 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoMultiPropertyDataBase.cpp
r976 r977 196 196 { 197 197 editMField(IDataFieldMask, _mfIData); 198 _mfIData.push_back( UInt8(value));198 _mfIData.push_back(value); 199 199 } 200 200 … … 216 216 fieldIt += uiIndex; 217 217 218 _mfIData.insert(fieldIt, UInt8(value));218 _mfIData.insert(fieldIt, value); 219 219 } 220 220 … … 237 237 UInt8 const &pNewElem ) 238 238 { 239 Int32 elemIdx = _mfIData.findIndex( UInt8(pOldElem));239 Int32 elemIdx = _mfIData.findIndex(pOldElem); 240 240 241 241 if(elemIdx != -1) … … 268 268 GeoMultiPropertyDataBase::subIData(UInt8 const &value) 269 269 { 270 Int32 iElemIdx = _mfIData.findIndex( UInt8(value));270 Int32 iElemIdx = _mfIData.findIndex(value); 271 271 272 272 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Particles/OSGParticlesBase.cpp
r976 r977 563 563 { 564 564 editMField(SizesFieldMask, _mfSizes); 565 _mfSizes.push_back( Vec3f(value));565 _mfSizes.push_back(value); 566 566 } 567 567 … … 583 583 fieldIt += uiIndex; 584 584 585 _mfSizes.insert(fieldIt, Vec3f(value));585 _mfSizes.insert(fieldIt, value); 586 586 } 587 587 … … 604 604 Vec3f const &pNewElem ) 605 605 { 606 Int32 elemIdx = _mfSizes.findIndex( Vec3f(pOldElem));606 Int32 elemIdx = _mfSizes.findIndex(pOldElem); 607 607 608 608 if(elemIdx != -1) … … 635 635 ParticlesBase::subSizes(Vec3f const &value) 636 636 { 637 Int32 iElemIdx = _mfSizes.findIndex( Vec3f(value));637 Int32 iElemIdx = _mfSizes.findIndex(value); 638 638 639 639 if(iElemIdx != -1) … … 664 664 { 665 665 editMField(IndicesFieldMask, _mfIndices); 666 _mfIndices.push_back( Int32(value));666 _mfIndices.push_back(value); 667 667 } 668 668 … … 684 684 fieldIt += uiIndex; 685 685 686 _mfIndices.insert(fieldIt, Int32(value));686 _mfIndices.insert(fieldIt, value); 687 687 } 688 688 … … 705 705 Int32 const &pNewElem ) 706 706 { 707 Int32 elemIdx = _mfIndices.findIndex( Int32(pOldElem));707 Int32 elemIdx = _mfIndices.findIndex(pOldElem); 708 708 709 709 if(elemIdx != -1) … … 736 736 ParticlesBase::subIndices(Int32 const &value) 737 737 { 738 Int32 iElemIdx = _mfIndices.findIndex( Int32(value));738 Int32 iElemIdx = _mfIndices.findIndex(value); 739 739 740 740 if(iElemIdx != -1) … … 765 765 { 766 766 editMField(TextureZsFieldMask, _mfTextureZs); 767 _mfTextureZs.push_back( Real32(value));767 _mfTextureZs.push_back(value); 768 768 } 769 769 … … 785 785 fieldIt += uiIndex; 786 786 787 _mfTextureZs.insert(fieldIt, Real32(value));787 _mfTextureZs.insert(fieldIt, value); 788 788 } 789 789 … … 806 806 Real32 const &pNewElem ) 807 807 { 808 Int32 elemIdx = _mfTextureZs.findIndex( Real32(pOldElem));808 Int32 elemIdx = _mfTextureZs.findIndex(pOldElem); 809 809 810 810 if(elemIdx != -1) … … 837 837 ParticlesBase::subTextureZs(Real32 const &value) 838 838 { 839 Int32 iElemIdx = _mfTextureZs.findIndex( Real32(value));839 Int32 iElemIdx = _mfTextureZs.findIndex(value); 840 840 841 841 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/NodeCores/Drawables/Terrain/QuadTree/OSGQuadTreeTerrainBase.cpp
r976 r977 829 829 { 830 830 editMField(HeightErrorFieldMask, _mfHeightError); 831 _mfHeightError.push_back( Real32(value));831 _mfHeightError.push_back(value); 832 832 } 833 833 … … 849 849 fieldIt += uiIndex; 850 850 851 _mfHeightError.insert(fieldIt, Real32(value));851 _mfHeightError.insert(fieldIt, value); 852 852 } 853 853 … … 870 870 Real32 const &pNewElem ) 871 871 { 872 Int32 elemIdx = _mfHeightError.findIndex( Real32(pOldElem));872 Int32 elemIdx = _mfHeightError.findIndex(pOldElem); 873 873 874 874 if(elemIdx != -1) … … 901 901 QuadTreeTerrainBase::subHeightError(Real32 const &value) 902 902 { 903 Int32 iElemIdx = _mfHeightError.findIndex( Real32(value));903 Int32 iElemIdx = _mfHeightError.findIndex(value); 904 904 905 905 if(iElemIdx != -1) … … 930 930 { 931 931 editMField(HeightQuadFieldMask, _mfHeightQuad); 932 _mfHeightQuad.push_back( Real32(value));932 _mfHeightQuad.push_back(value); 933 933 } 934 934 … … 950 950 fieldIt += uiIndex; 951 951 952 _mfHeightQuad.insert(fieldIt, Real32(value));952 _mfHeightQuad.insert(fieldIt, value); 953 953 } 954 954 … … 971 971 Real32 const &pNewElem ) 972 972 { 973 Int32 elemIdx = _mfHeightQuad.findIndex( Real32(pOldElem));973 Int32 elemIdx = _mfHeightQuad.findIndex(pOldElem); 974 974 975 975 if(elemIdx != -1) … … 1002 1002 QuadTreeTerrainBase::subHeightQuad(Real32 const &value) 1003 1003 { 1004 Int32 iElemIdx = _mfHeightQuad.findIndex( Real32(value));1004 Int32 iElemIdx = _mfHeightQuad.findIndex(value); 1005 1005 1006 1006 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGDistanceLODBase.cpp
r976 r977 300 300 { 301 301 editMField(RangeFieldMask, _mfRange); 302 _mfRange.push_back( Real32(value));302 _mfRange.push_back(value); 303 303 } 304 304 … … 320 320 fieldIt += uiIndex; 321 321 322 _mfRange.insert(fieldIt, Real32(value));322 _mfRange.insert(fieldIt, value); 323 323 } 324 324 … … 341 341 Real32 const &pNewElem ) 342 342 { 343 Int32 elemIdx = _mfRange.findIndex( Real32(pOldElem));343 Int32 elemIdx = _mfRange.findIndex(pOldElem); 344 344 345 345 if(elemIdx != -1) … … 372 372 DistanceLODBase::subRange(Real32 const &value) 373 373 { 374 Int32 iElemIdx = _mfRange.findIndex( Real32(value));374 Int32 iElemIdx = _mfRange.findIndex(value); 375 375 376 376 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGInlineBase.cpp
r976 r977 194 194 { 195 195 editMField(UrlFieldMask, _mfUrl); 196 _mfUrl.push_back( string(value));196 _mfUrl.push_back(value); 197 197 } 198 198 … … 214 214 fieldIt += uiIndex; 215 215 216 _mfUrl.insert(fieldIt, string(value));216 _mfUrl.insert(fieldIt, value); 217 217 } 218 218 … … 235 235 std::string const &pNewElem ) 236 236 { 237 Int32 elemIdx = _mfUrl.findIndex( string(pOldElem));237 Int32 elemIdx = _mfUrl.findIndex(pOldElem); 238 238 239 239 if(elemIdx != -1) … … 266 266 InlineBase::subUrl(std::string const &value) 267 267 { 268 Int32 iElemIdx = _mfUrl.findIndex( string(value));268 Int32 iElemIdx = _mfUrl.findIndex(value); 269 269 270 270 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/NodeCores/Groups/Misc/OSGProxyGroupBase.cpp
r976 r977 490 490 { 491 491 editMField(InlineFieldMask, _mfInline); 492 _mfInline.push_back( UInt8(value));492 _mfInline.push_back(value); 493 493 } 494 494 … … 510 510 fieldIt += uiIndex; 511 511 512 _mfInline.insert(fieldIt, UInt8(value));512 _mfInline.insert(fieldIt, value); 513 513 } 514 514 … … 531 531 UInt8 const &pNewElem ) 532 532 { 533 Int32 elemIdx = _mfInline.findIndex( UInt8(pOldElem));533 Int32 elemIdx = _mfInline.findIndex(pOldElem); 534 534 535 535 if(elemIdx != -1) … … 562 562 ProxyGroupBase::subInline(UInt8 const &value) 563 563 { 564 Int32 iElemIdx = _mfInline.findIndex( UInt8(value));564 Int32 iElemIdx = _mfInline.findIndex(value); 565 565 566 566 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/State/ARBProgram/OSGProgramChunkBase.cpp
r976 r977 284 284 { 285 285 editMField(ParamValuesFieldMask, _mfParamValues); 286 _mfParamValues.push_back( Vec4f(value));286 _mfParamValues.push_back(value); 287 287 } 288 288 … … 304 304 fieldIt += uiIndex; 305 305 306 _mfParamValues.insert(fieldIt, Vec4f(value));306 _mfParamValues.insert(fieldIt, value); 307 307 } 308 308 … … 325 325 Vec4f const &pNewElem ) 326 326 { 327 Int32 elemIdx = _mfParamValues.findIndex( Vec4f(pOldElem));327 Int32 elemIdx = _mfParamValues.findIndex(pOldElem); 328 328 329 329 if(elemIdx != -1) … … 356 356 ProgramChunkBase::subParamValues(Vec4f const &value) 357 357 { 358 Int32 iElemIdx = _mfParamValues.findIndex( Vec4f(value));358 Int32 iElemIdx = _mfParamValues.findIndex(value); 359 359 360 360 if(iElemIdx != -1) … … 385 385 { 386 386 editMField(ParamNamesFieldMask, _mfParamNames); 387 _mfParamNames.push_back( std::string(value));387 _mfParamNames.push_back(value); 388 388 } 389 389 … … 405 405 fieldIt += uiIndex; 406 406 407 _mfParamNames.insert(fieldIt, std::string(value));407 _mfParamNames.insert(fieldIt, value); 408 408 } 409 409 … … 426 426 std::string const &pNewElem ) 427 427 { 428 Int32 elemIdx = _mfParamNames.findIndex( std::string(pOldElem));428 Int32 elemIdx = _mfParamNames.findIndex(pOldElem); 429 429 430 430 if(elemIdx != -1) … … 457 457 ProgramChunkBase::subParamNames(std::string const &value) 458 458 { 459 Int32 iElemIdx = _mfParamNames.findIndex( std::string(value));459 Int32 iElemIdx = _mfParamNames.findIndex(value); 460 460 461 461 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/State/Base/ES/OSGTextureObjChunkBase.cpp
r976 r977 1909 1909 { 1910 1910 editMField(ShaderOffsetMatrixFieldMask, _mfShaderOffsetMatrix); 1911 _mfShaderOffsetMatrix.push_back( Real32(value));1911 _mfShaderOffsetMatrix.push_back(value); 1912 1912 } 1913 1913 … … 1929 1929 fieldIt += uiIndex; 1930 1930 1931 _mfShaderOffsetMatrix.insert(fieldIt, Real32(value));1931 _mfShaderOffsetMatrix.insert(fieldIt, value); 1932 1932 } 1933 1933 … … 1950 1950 Real32 const &pNewElem ) 1951 1951 { 1952 Int32 elemIdx = _mfShaderOffsetMatrix.findIndex( Real32(pOldElem));1952 Int32 elemIdx = _mfShaderOffsetMatrix.findIndex(pOldElem); 1953 1953 1954 1954 if(elemIdx != -1) … … 1981 1981 TextureObjChunkBase::subShaderOffsetMatrix(Real32 const &value) 1982 1982 { 1983 Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex( Real32(value));1983 Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(value); 1984 1984 1985 1985 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/State/Base/OSGTextureEnvChunkBase.cpp
r976 r977 1010 1010 { 1011 1011 editMField(ShaderOffsetMatrixFieldMask, _mfShaderOffsetMatrix); 1012 _mfShaderOffsetMatrix.push_back( Real32(value));1012 _mfShaderOffsetMatrix.push_back(value); 1013 1013 } 1014 1014 … … 1030 1030 fieldIt += uiIndex; 1031 1031 1032 _mfShaderOffsetMatrix.insert(fieldIt, Real32(value));1032 _mfShaderOffsetMatrix.insert(fieldIt, value); 1033 1033 } 1034 1034 … … 1051 1051 Real32 const &pNewElem ) 1052 1052 { 1053 Int32 elemIdx = _mfShaderOffsetMatrix.findIndex( Real32(pOldElem));1053 Int32 elemIdx = _mfShaderOffsetMatrix.findIndex(pOldElem); 1054 1054 1055 1055 if(elemIdx != -1) … … 1082 1082 TextureEnvChunkBase::subShaderOffsetMatrix(Real32 const &value) 1083 1083 { 1084 Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex( Real32(value));1084 Int32 iElemIdx = _mfShaderOffsetMatrix.findIndex(value); 1085 1085 1086 1086 if(iElemIdx != -1) branches/Carsten_PtrWork/Source/System/State/NVidia/OSGRegisterCombinersChunkBase.cpp
r976 r977 990 990 { 991 991 editMField(VariableArgbFieldMask, _mfVariableArgb); 992 _mfVariableArgb.push_back( GLenum(value));992 _mfVariableArgb.push_back(value); 993 993 } 994 994 … … 1010 1010 fieldIt += uiIndex; 1011 1011 1012 _mfVariableArgb.insert(fieldIt, GLenum(value));1012 _mfVariableArgb.insert(fieldIt, value); 1013 1013 } 1014 1014 … … 1031 1031 GLenum const &pNewElem ) 1032 1032 { 1033 Int32 elemIdx = _mfVariableArgb.findIndex( GLenum(pOldElem));1033 Int32 elemIdx = _mfVariableArgb.findIndex(pOldElem); 1034 1034 1035 1035 if(elemIdx != -1) … … 1062 1062 RegisterCombinersChunkBase::subVariableArgb(GLenum const &value) 1063 1063 { 1064 Int32 iElemIdx = _mfVariableArgb.findIndex( GLenum(value));1064 Int32 iElemIdx = _mfVariableArgb.findIndex(value); 1065 1065 1066 1066 if(iElemIdx != -1) … … 1091 1091 { 1092 1092 editMField(VariableBrgbFieldMask, _mfVariableBrgb); 1093 _mfVariableBrgb.push_back( GLenum(value));1093 _mfVariableBrgb.push_back(value); 1094 1094 } 1095 1095 … … 1111 1111 fieldIt += uiIndex; 1112 1112 1113 _mfVariableBrgb.insert(fieldIt, GLenum(value));1113 _mfVariableBrgb.insert(fieldIt, value); 1114 1114 } 1115 1115 … … 1132 1132 GLenum const &pNewElem ) 1133 1133 { 1134 Int32 elemIdx = _mfVariableBrgb.findIndex( GLenum(pOldElem));1134 Int32 elemIdx = _mfVariableBrgb.findIndex(pOldElem); 1135 1135 1136 1136 if(elemIdx != -1) … … 1163 1163 RegisterCombinersChunkBase::subVariableBrgb(GLenum const &value) 1164 1164 { 1165 Int32 iElemIdx = _mfVariableBrgb.findIndex( GLenum(value));1165 Int32 iElemIdx = _mfVariableBrgb.findIndex(value); 1166 1166 1167 1167 if(iElemIdx != -1) … … 1192 1192 { 1193 1193 editMField(VariableCrgbFieldMask, _mfVariableCrgb); 1194 _mfVariableCrgb.push_back( GLenum(value));1194 _mfVariableCrgb.push_back(value); 1195 1195 } 1196 1196 … … 1212 1212 fieldIt += uiIndex; 1213 1213 1214 _mfVariableCrgb.insert(fieldIt, GLenum(value));1214 _mfVariableCrgb.insert(fieldIt, value); 1215 1215 } 1216 1216 … … 1233 1233 GLenum const &pNewElem ) 1234 1234 { 1235 Int32 elemIdx = _mfVariableCrgb.findIndex( GLenum(pOldElem));1235 Int32 elemIdx = _mfVariableCrgb.findIndex(pOldElem); 1236 1236 1237 1237 if(elemIdx != -1) … … 1264 1264 RegisterCombinersChunkBase::subVariableCrgb(GLenum const &value) 1265 1265 { 1266 Int32 iElemIdx = _mfVariableCrgb.findIndex( GLenum(value));1266 Int32 iElemIdx = _mfVariableCrgb.findIndex(value); 1267 1267 1268 1268 if(iElemIdx != -1) … … 1293 1293 { 1294 1294 editMField(VariableDrgbFieldMask, _mfVariableDrgb); 1295 _mfVariableDrgb.push_back( GLenum(value));1295 _mfVariableDrgb.push_back(value); 1296 1296 } 1297 1297 … … 1313 1313 fieldIt += uiIndex; 1314 1314 1315 _mfVariableDrgb.insert(fieldIt, GLenum(value));1315 _mfVariableDrgb.insert(fieldIt, value); 1316 1316 } 1317 1317 … … 1334 1334
