rename some rna properties filename --> filepath

* filename == "foo.ext"
 * filepath == "/path/to/and/including/foo.ext"

this was alredy followed in some places not not everywhere.
This commit is contained in:
2010-06-02 17:58:28 +00:00
parent fc59a6c6c8
commit 9cbbc9d3af
40 changed files with 158 additions and 162 deletions

View File

@@ -59,7 +59,7 @@ void bpy_import_main_set(struct Main *maggie)
/* returns a dummy filename for a textblock so we can tell what file a text block comes from */
void bpy_text_filename_get(char *fn, Text *text)
{
sprintf(fn, "%s/%s", text->id.lib ? text->id.lib->filename : G.sce, text->id.name+2);
sprintf(fn, "%s/%s", text->id.lib ? text->id.lib->filepath : G.sce, text->id.name+2);
}
PyObject *bpy_text_import( Text *text )