[Bf-taskforce25] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17736] branches/blender2.5/blender/source /creator/creator.c: * put the PyRNA testing bit inside the DISABLE_PYTHON define, so we can use blenderlite as target too
Nathan Letwory
jesterking at letwory.net
Sun Dec 7 12:05:00 CET 2008
Note that blenderlite for some reason doesn't work yet on Windows for
Blender 2.5 - still working on it.
2008/12/7 Nathan Letwory <jesterking at letwory.net>:
> Revision: 17736
> http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17736
> Author: jesterking
> Date: 2008-12-07 11:55:33 +0100 (Sun, 07 Dec 2008)
>
> Log Message:
> -----------
> * put the PyRNA testing bit inside the DISABLE_PYTHON define, so we can use blenderlite as target too
>
> Modified Paths:
> --------------
> branches/blender2.5/blender/source/creator/creator.c
>
> Modified: branches/blender2.5/blender/source/creator/creator.c
> ===================================================================
> --- branches/blender2.5/blender/source/creator/creator.c 2008-12-07 08:54:42 UTC (rev 17735)
> +++ branches/blender2.5/blender/source/creator/creator.c 2008-12-07 10:55:33 UTC (rev 17736)
> @@ -668,14 +668,14 @@
> }
> break;
> case 'P':
> -//XXX
> -#if 1
> - // FOR TESTING ONLY
> - a++;
> - BPY_run_python_script (argv[a]);
> -#else
> +
> #ifndef DISABLE_PYTHON
> + //XXX
> + // FOR TESTING ONLY
> a++;
> + BPY_run_python_script (argv[a]);
> +#if 0
> + a++;
> if (a < argc) {
> /* If we're not running in background mode, then give python a valid screen */
> if ((G.background==0) && (scr_init==0)) {
> @@ -685,10 +685,10 @@
> BPY_run_python_script (argv[a]);
> }
> else printf("\nError: you must specify a Python script after '-P '.\n");
> +#endif
> #else
> printf("This blender was built without python support\n");
> #endif /* DISABLE_PYTHON */
> -#endif
> break;
> case 'o':
> a++;
>
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>
>
More information about the Bf-taskforce25
mailing list