Skip to main content
9 events
when toggle format what by license comment
May 8, 2019 at 13:25 comment added Roman Volodin I just forgot about os.path.join() =) Thanks for bpy.path.abspath! Edited one more time.
May 8, 2019 at 13:23 history edited Roman Volodin CC BY-SA 4.0
added 22 characters in body
May 8, 2019 at 13:17 history edited Roman Volodin CC BY-SA 4.0
added 22 characters in body
May 8, 2019 at 12:47 comment added batFINGER Also check out bpy.path.abspath(tex.filepath, library=tex.library) Recommend never adding path strings, use os.path.join(...).
May 8, 2019 at 12:37 comment added Roman Volodin I've edit my answer - there are should be full_path = blend_dir_path + tex_path[1:] instead of full_path = os.path.dirname(blend_dir_path) + tex_path[1:]. Because we use os.path.dirname() in the previous line (blend_dir_path = os.path.dirname(tex.library.filepath))
May 8, 2019 at 12:35 history edited Roman Volodin CC BY-SA 4.0
deleted 17 characters in body
May 7, 2019 at 20:33 vote accept theCNG27
May 7, 2019 at 20:33 comment added theCNG27 Certainly nice enough, since blender doesn't provide that out of the box (which i think is kind of a flaw)
May 7, 2019 at 12:20 history answered Roman Volodin CC BY-SA 4.0