Jump to content

User:Paradox-01/Blender/Research: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 46: Line 46:


If you try to drop a DAE or OBJ into the viewport it shows a plus icon but nothing will happen after the drop.
If you try to drop a DAE or OBJ into the viewport it shows a plus icon but nothing will happen after the drop.
----


: Actually dropped files are detected as the System Concole shows.
: Actually dropped files are detected as the System Concole shows.
Line 53: Line 55:


:: It seems BLEND is currently the only file type where dnd is supporter. That gives another hint where to look into the source.
:: It seems BLEND is currently the only file type where dnd is supporter. That gives another hint where to look into the source.
: The string "drop file" is found two times in source:
<span style="color:gray;">blender-with-libraries-3.1.0\blender-3.1.0\source\blender\windowmanager\intern\wm_playanim.c</span>
blender-with-libraries-3.1.0\blender-3.1.0\source\blender\windowmanager\intern\wm_window.c
:: The simplest thing possible might be to pass the detected file to a Python script and let it handle the import.
:: Test: modify string, compile to an exe and see whether that's the correct file at all.
----


Would it be reasonable to program a workflow using another GUI and targeting Blender via command line?
Would it be reasonable to program a workflow using another GUI and targeting Blender via command line?
8,452

edits