diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2003-06-05 01:22:57 +0400 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2003-06-05 01:22:57 +0400 |
commit | f40d9f57ee9654b6d90f1df4c7867073fb3f92ea (patch) | |
tree | da705515fbfead941227e1bed2178748094d2dee /source/creator | |
parent | f28910922861843b7faa43814970d7c21986965f (diff) |
Registering .blend files now works for Windows -- hopefully!
You will need to re-register the blend files (blender.exe -R)
for the fix to come into action.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index dbe6e000450..c63795d0038 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -407,6 +407,7 @@ int main(int argc, char **argv) * - "-d": enables debugging. * - "-w": fullscreen mode. * - "-W": borderless window (MS windows only). + * - "-R": registers the blender extensions. (MS windows only). * - "-noaudion", "-nosound": disables audio. * - "-nofrozen": disables frozen python. */ @@ -459,6 +460,12 @@ int main(int argc, char **argv) G.windowstate = G_WINDOWSTATE_FULLSCREEN; #endif break; + case 'R': + /* Registering filetypes only makes sense on windows... */ +#ifdef WIN32 + RegisterBlendExtension(argv[0]); +#endif + break; case 'n': case 'N': if (strcasecmp(argv[a], "-noaudio") == 0|| strcasecmp(argv[a], "-nosound") == 0) { @@ -545,7 +552,6 @@ int main(int argc, char **argv) * - "-S": sets the starting scene name. * - "-s": sets the start frame. * - "-e": sets the end frame. - * - "-R": registers the blender extensions. (MS windows only) * - <file>: sets the blender file to open. */ for(a=1; a<argc; a++) { @@ -641,12 +647,6 @@ int main(int argc, char **argv) if (a < argc) (G.scene->r.efra) = atoi(argv[a]); } break; - case 'R': - /* Registering filetypes only makes sense on windows... */ -#ifdef WIN32 - RegisterBlendExtension(argv[0]); -#endif - break; } } /** |