encima / encima/jsc3d

material.name is empty

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
HTML
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Trying to reference material.name returns an empty string.

I have added to JSC3D.ObjLoader.prototype.parseMtl @ line 5097

if(mtl != null)
mtl.material.name = curMtlName;

which appears to fix this without ill effects.

```

Original issue reported on code.google.com by `john.whi...@gmail.com` on 1 Jul 2014 at 6:40

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at JSC3D.ObjLoader.prototype.parseMtl around line 5097 and inspect how the current material name is handled. Confirm that referencing material.name returns the parsed name rather than an empty string, and verify that the change has no ill effects as reported in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.