[SOLVED]getTexturePath is not defined

Hi all.
This is the 1rst time i’m trying to append paths, and there’s no problem with the getModelPath method, but getTexturePath is not defined :

>>> from panda3d.core import getModelPath
>>> from panda3d.core import getTexturePath
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name getTexturePath

i’ve also try with loadPrcFileData("", "texture-path "+MyPath ), but with no effects nor error …

Any ideas ?

Texture path doesn’t exist any more. The model path is now also used for textures.

I thought about something like this, so i’ve tried to append my textures directory into getModelPath(), but texture are not display, and it do not returns any error …

Who, so stupid was the trouble : my model was cached, so texture path was “wrong”.
I’ve edit my .egg file to force panda to re-cache and it works perfectly,

Add texture path to ModelsPath was the solution

sorry and thanks