AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX

Interface::getVersionIntegers doesn't return the full version

Open
#854 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.3k
Forks
451
Avg merge
6d 6h
Merged PRs (30d)
5

Description

Hi,

I noticed that in the latest MaterialX version, a new version of the standard surface was introduced. It's labeled as version "1.0.1" and the previous one is "1.0.0".
Unfortunately the `Interface::getVersionIntegers` helper only returns the first 2 numbers, which makes it a bit awkward to use :)
Not a very big issue, but it would be nice if that method would return the 3 numbers, like the `getVersionIntegers` found in the `MaterialXCore/Utils.h` header.

Regards,
Damien.

Contributor guide

Open the contributing guide

Research direction

Locate Interface::getVersionIntegers and compare it with getVersionIntegers in the MaterialXCore/Utils.h header. Verify how the helper handles versions such as 1.0.0 and 1.0.1, then confirm that its result includes all three version numbers.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.