Page MenuHome

Oliver Dawes (haiku)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 17 2019, 1:31 PM (12 w, 6 d)

Recent Activity

Jul 28 2019

Oliver Dawes (haiku) added a comment to T67118: bpy.ops.wm.save_as_mainfile does not work as expected on MacOS when run from script.

@Demeter Dzadik (Mets) Ah I see, I only get the bug on Mac so that makes sense.

Jul 28 2019, 7:44 PM · BF Blender
Oliver Dawes (haiku) added a comment to T67118: bpy.ops.wm.save_as_mainfile does not work as expected on MacOS when run from script.

@Demeter Dzadik (Mets) What OS were you using?

Jul 28 2019, 5:38 PM · BF Blender
Oliver Dawes (haiku) added a comment to T67118: bpy.ops.wm.save_as_mainfile does not work as expected on MacOS when run from script.

@Demeter Dzadik (Mets) - Blender shouldn't close, how are you running the script and which line of the script is causing blender to close for you? I was just using blender's internal text editor to run it btw, I didn't try running the script as a command line argument or anything.

Jul 28 2019, 2:31 PM · BF Blender

Jul 17 2019

Oliver Dawes (haiku) added a comment to T67118: bpy.ops.wm.save_as_mainfile does not work as expected on MacOS when run from script.

Still unsure if this is related to BAT or plain blender?
That message you see is from BAT...
If you dont use BAT but just run the script you posted, if you then open the file just saved through the script, are the images showing up? (so the paths are still correct?)
If this is the case, then we might have to dig in BAT instead, no?

Jul 17 2019, 4:38 PM · BF Blender
Oliver Dawes (haiku) created T67118: bpy.ops.wm.save_as_mainfile does not work as expected on MacOS when run from script.
Jul 17 2019, 1:11 PM · BF Blender

Jun 24 2019

Oliver Dawes (haiku) added a comment to T65933: [Blender Asset Tracer] Files are not closed on Windows after using BAT to trace .blend file in Add-on.

Thank you, that makes a lot of sense.

Jun 24 2019, 5:42 PM · Platform: Windows, Blender Asset Tracer
Oliver Dawes (haiku) added a comment to T65904: [Blender Asset Tracer] External files with the same name (and path) but which live on different drives are packed as a single file.

A potential change which fixes this issue for me is to change the _find_new_paths() method in pack/__init__.py from:

Jun 24 2019, 2:06 PM · Platform: Windows, Blender Asset Tracer
Oliver Dawes (haiku) added a comment to T65933: [Blender Asset Tracer] Files are not closed on Windows after using BAT to trace .blend file in Add-on.

I have been able to solve this issue by adding the following code:

Jun 24 2019, 12:24 PM · Platform: Windows, Blender Asset Tracer

Jun 19 2019

Oliver Dawes (haiku) added a comment to T65933: [Blender Asset Tracer] Files are not closed on Windows after using BAT to trace .blend file in Add-on.

Process explorer show that once the 'trace' method is called Blender keeps open file handles for all .blend files found by BAT during the trace (This includes linked .blend files).

Jun 19 2019, 6:28 PM · Platform: Windows, Blender Asset Tracer
Oliver Dawes (haiku) renamed T65933: [Blender Asset Tracer] Files are not closed on Windows after using BAT to trace .blend file in Add-on from [Blender Asset Tracer] to [Blender Asset Tracer] Files are not closed on Windows after using BAT to trace .blend file in Add-on.
Jun 19 2019, 6:23 PM · Platform: Windows, Blender Asset Tracer
Oliver Dawes (haiku) created T65933: [Blender Asset Tracer] Files are not closed on Windows after using BAT to trace .blend file in Add-on.
Jun 19 2019, 6:22 PM · Platform: Windows, Blender Asset Tracer

Jun 18 2019

Oliver Dawes (haiku) created T65904: [Blender Asset Tracer] External files with the same name (and path) but which live on different drives are packed as a single file.
Jun 18 2019, 2:27 PM · Platform: Windows, Blender Asset Tracer

Jun 17 2019

Oliver Dawes (haiku) added a watcher for Blender Asset Tracer: Oliver Dawes (haiku).
Jun 17 2019, 1:33 PM