Small changes fixing material import from .wrl files
Details
Details
- Reviewers
Campbell Barton (campbellbarton) Bastien Montagne (mont29) - Maniphest Tasks
- T71232: X3D Import does not handle Materials
Diff Detail
Diff Detail
- Repository
- rBA Blender Add-ons
Event Timeline
| io_scene_x3d/import_x3d.py | ||
|---|---|---|
| 1296 | why was this changed? | |
| 2705 | codestyle: please add spaces diff_color = diff_color + [1] | |
| 2715 | looks like these properties are not supported anymore? | |
| 2720 | same as above | |
Comment Actions
Since before it was return # XXX For now... I see no problem with this change.
But for review it might be good to explain why 'emissiveColor' and 'shininess' cannot be implemented. And why 'transparency' was commented.
| io_scene_x3d/import_x3d.py | ||
|---|---|---|
| 2705 | This is useless, this property is totally unused by current renderers. | |
| 2707–2710 | Those should be commented out, with comment that we do not support those for now. | |
| 2712–2713 | This should be kept, we have specular_intensity | |
| 2714–2719 | Commented out with comments about why, as above | |