diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2010-02-01 12:11:18 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2010-02-01 12:11:18 +0300 |
commit | 0e6b88f993e034f1e3083bf26f08bc1dfd5ccf2e (patch) | |
tree | 0827f28eb94a8c89a66ed99d5f376b9ea5576f27 /source/blender/editors/space_nla/nla_edit.c | |
parent | c3e96bf0fc364106c96a0e9105c091484a335753 (diff) |
Cocoa : implement opening .blend file by double-clicking on it in OSX Finder
When the user double-clicks on a document file in the Finder, OSX doesn't simply give the filename as a command-line argument when calling Blender, as it is done in other OSes.
Instead, it launches the app if needed, and then sends an "openFile" event.
The user can also open a document file by dropping its icon on the app dock icon. But as this is not real Drag'n'drop, I've renamed the Ghost event to a less confusing "GHOST_kEventOpenMainFile" name.
DND Ghost wiki page updated : http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DragnDrop
Diffstat (limited to 'source/blender/editors/space_nla/nla_edit.c')
0 files changed, 0 insertions, 0 deletions