Fix issue 5816 (cone.nff load failure): repair faulty line in 3D model file (#5817)
* Add missing numeric value * Remove superfluous intermediate folder * Add reference image * Update path to match superfluous "NFF" removal * Move reference screenshot to subfolder --------- Co-authored-by: Steve M <praktique-tellypresence@yahoo.com> Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
#red
|
||||
f 1.0 0.0 0.0 0.5 45.2776 0 1 cantfindme.png
|
||||
f 1.0 0.0 0.0 0.5 0.5 45.2776 0 1 cantfindme.png
|
||||
|
||||
|
||||
tess 4
|
||||
|
Before Width: | Height: | Size: 610 KiB After Width: | Height: | Size: 610 KiB |
|
Before Width: | Height: | Size: 412 KiB After Width: | Height: | Size: 412 KiB |
4
test/models/NFF/ref/README.md
Normal file
4
test/models/NFF/ref/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# NFF 3D model reference images
|
||||
|
||||
## cone.nff
|
||||

|
||||
BIN
test/models/NFF/ref/screenshots/cone_nff.png
Normal file
BIN
test/models/NFF/ref/screenshots/cone_nff.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 500 KiB |
@@ -50,7 +50,7 @@ class utNFFImportExport : public AbstractImportExportBase {
|
||||
public:
|
||||
virtual bool importerTest() {
|
||||
Assimp::Importer importer;
|
||||
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/NFF/NFF/ManyEarthsNotJustOne.nff", 0);
|
||||
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/NFF/ManyEarthsNotJustOne.nff", 0);
|
||||
return nullptr != scene;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user