DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0032654

Data Exchange - fix misprint in RWGltf_TriangulationReader::readDracoBuffer()

Open CASCADEOCCT:Data Exchangeclosed4 public notes

Search issues

Description

RWGltf_TriangulationReader::readDracoBuffer() has a misprint with missing "break" in handling RWGltf_GltfArrayType_Position.

Steps to reproduce

pload XDE MODELING VISUALIZATION
readgltf s Attachment 1 (GLB)
vinit View1
vfront
vdisplay -dispMode 1 s
vfit

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Nov 10 12:38:56 2021 +0300

    0032654: Data Exchange - fix misprint in RWGltf_TriangulationReader::readDracoBuffer()
    
    Added missing break.
    Fixes reading of glTF files with Normal attributes preceding Position
    (and eliminates redundant / erroneous copy when Position attributes precede Normal).
02Author
Please raise the patch
- OCCT: branch CR32654.
03Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17763.090000000444 / 17742.320000000425 [+0.12%]
Products
Total CPU difference: 11658.550000000125 / 11669.660000000133 [-0.10%]
Windows-64-VC14:
OCCT
Total CPU difference: 19745.71875 / 19762.140625 [-0.08%]
Products
Total CPU difference: 13066.0625 / 12843.21875 [+1.74%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records