Jump to content

[SOLVED] Material::getPath() bug


photo

Recommended Posts

Hi !

I was working with materials when I ran into a bug with the getPath() function.

I expect the getPath() function to give me the current material's path.

Steps:

  1. Create a material.
  2. Set a path to the current material with setPath(const* char path)
  3. Print material->getPath()

Expected : the good path

What I get bug_mat.png.f121fcc30279aa82b511efdd02d29d91.png

I work on Unigine 2.10 and 2.9.

Here is my code : 

fullCode.png.1d6f6efb9ff7718ead10a2083a149baa.png

Or am I using it wrong maybe ?

Thanks,

Antoine YVAN

Link to comment
  • silent changed the title to [SOLVED] Material::getPath() bug
×
×
  • Create New...