Skip to content

Commit

Permalink
Fix an error with defining the same image twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
tswong committed Apr 2, 2011
1 parent 131bad9 commit d13e5af
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,10 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>
<library_images>
<image id="file1" name="file1">
<init_from>
<ref>./PASSIMAGE.png</ref>
</init_from>
<ref>./PASSIMAGE.png</ref>
</init_from>
</image>
<image id="file1-surface">
<init_from>
<ref>./PASSIMAGE.png</ref>
</init_from>
</image>
</library_images>
</library_images>
<library_materials>
<material id="lambert1" name="lambert1">
<instance_effect url="#lambert1-fx"/>
Expand All @@ -71,7 +66,7 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>

<newparam sid="file1-sampler">
<sampler2D>
<instance_image url="#file1-surface"/>
<instance_image url="#file1"/>
</sampler2D>
</newparam>
<technique sid="common">
Expand Down
13 changes: 4 additions & 9 deletions StandardDataSets/1_5/xml/uri/case/mixed_case/mixed_case.dae
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,10 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>
<library_images>
<image id="file1" name="file1">
<init_from>
<ref>PASSIMAGE_mixed.PnG</ref>
</init_from>
<ref>PASSIMAGE_mixed.PnG</ref>
</init_from>
</image>
<image id="file1-surface">
<init_from>
<ref>PASSIMAGE_mixed.PnG</ref>
</init_from>
</image>
</library_images>
</library_images>
<library_materials>
<material id="lambert1" name="lambert1">
<instance_effect url="#lambert1-fx"/>
Expand All @@ -71,7 +66,7 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>

<newparam sid="file1-sampler">
<sampler2D>
<instance_image url="#file1-surface"/>
<instance_image url="#file1"/>
</sampler2D>
</newparam>
<technique sid="common">
Expand Down
13 changes: 4 additions & 9 deletions StandardDataSets/1_5/xml/uri/case/upper_case/upper_case.dae
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,10 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>
<library_images>
<image id="file1" name="file1">
<init_from>
<ref>PASSIMAGE_UPPER.PNG</ref>
</init_from>
<ref>PASSIMAGE_UPPER.PNG</ref>
</init_from>
</image>
<image id="file1-surface">
<init_from>
<ref>PASSIMAGE_UPPER.PNG</ref>
</init_from>
</image>
</library_images>
</library_images>
<library_materials>
<material id="lambert1" name="lambert1">
<instance_effect url="#lambert1-fx"/>
Expand All @@ -71,7 +66,7 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>

<newparam sid="file1-sampler">
<sampler2D>
<instance_image url="#file1-surface"/>
<instance_image url="#file1"/>
</sampler2D>
</newparam>
<technique sid="common">
Expand Down
13 changes: 4 additions & 9 deletions StandardDataSets/1_5/xml/uri/directory/one_dot/one_dot.dae
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,10 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>
<library_images>
<image id="file1" name="file1">
<init_from>
<ref>./PASSIMAGE.png</ref>
</init_from>
<ref>./PASSIMAGE.png</ref>
</init_from>
</image>
<image id="file1-surface">
<init_from>
<ref>./PASSIMAGE.png</ref>
</init_from>
</image>
</library_images>
</library_images>
<library_materials>
<material id="lambert1" name="lambert1">
<instance_effect url="./one_dot.dae#lambert1-fx"/>
Expand All @@ -71,7 +66,7 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>

<newparam sid="file1-sampler">
<sampler2D>
<instance_image url="#file1-surface"/>
<instance_image url="#file1"/>
</sampler2D>
</newparam>
<technique sid="common">
Expand Down
13 changes: 4 additions & 9 deletions StandardDataSets/1_5/xml/uri/directory/two_dots/two_dots.dae
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,10 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>
<library_images>
<image id="file1" name="file1">
<init_from>
<ref>../two_dots/PASSIMAGE.png</ref>
</init_from>
<ref>../two_dots/PASSIMAGE.png</ref>
</init_from>
</image>
<image id="file1-surface">
<init_from>
<ref>../two_dots/PASSIMAGE.png</ref>
</init_from>
</image>
</library_images>
</library_images>
<library_materials>
<material id="lambert1" name="lambert1">
<instance_effect url="../two_dots/two_dots.dae#lambert1-fx"/>
Expand All @@ -71,7 +66,7 @@ dereferenceXRefs=0;cameraXFov=0;cameraYFov=1</comments>

<newparam sid="file1-sampler">
<sampler2D>
<instance_image url="#file1-surface"/>
<instance_image url="#file1"/>
</sampler2D>
</newparam>
<technique sid="common">
Expand Down

0 comments on commit d13e5af

Please sign in to comment.