Age | Commit message (Collapse) | Author |
|
- cleanup headers.
- cmake on *nix was always writing to /bin/./2.56
|
|
|
|
with spaces. Slightly
change how the extraction commands are presented (old BUILD_TYPE was empty all the time here) and
ensure also that python/lib subdir under versioned dir gets actually created.
|
|
|
|
avoid confusion: [#26425] SVN release can't find scripts/modules and doesn't start properly
- remove extension from icon to match spec: http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.htm
|
|
statically on win64.
|
|
- temp disable installing plugins dir, since its not used for 2.5x
- OSX wasnt getting text copied.
|
|
|
|
x86_64 (also used to select the python dynlibs that'll be bundled with the application).
Set deployment target to be 10.5 by default.
Fix broken build introduced by recent source/creator/CMakeList.txt cleanup
|
|
left in.
also on only try build RPM's on linux.
|
|
need to run 'make install', for MSVC the 'INSTALL' target needs to be enabled in the project file
|
|
use 'install' target rather then copying files with post-build commands.
Main change is that you need to run 'make install', which copies files to ./bin by default
unless WITH_INSTALL_PORTABLE is OFF, where CMAKE_INSTALL_PREFIX is used for a typical unix-system install.
|
|
For now people should extract the python32(_d).zip in the lib/win*/release dirs into similarly named directories.
|
|
|
|
also remove __pycache__ dirs when cleaning (new in python 3.2)
|
|
* remove copying of libjack dll's, libjack is statically linked now.
|
|
|
|
doxygen: add file tags
|
|
|
|
a header every build with the time, date, svn revision.
|
|
|
|
|
|
|
|
bpy.utils and space_userpref.
|
|
Looks like a #ifndef was meant around the blender_esc implementation.
|
|
embedding python.
CMake build option WITH_PYTHON_MODULE, will build ./bin/bpy.so
This allows 'bpy' to be imported from python or other applications/IDE's which embed python, eg:
python -c "import bpy ; bpy.ops.render.render(write_still=True)"
This runs in background mode and has similar restrictions to running a script:
blender --background --python test.py
TODO:
- install to site-packages with blender scripts
- add support for imp.reload()
|
|
- WITH_OPENJPEG wasn't defined for creator.c with CMake.
- remove shadowed/redefined vars.
- remove some unused RNA report args.
- re-arrange IMB_FILE_TYPES so IRIS is not the first format tested, since its not very common test JPEG and PNG first.
|
|
also set minimum cmake version to 2.8
|
|
|
|
header static for blenlib, blenkernel and editors.
|
|
python functions.
- use NULL rather then 0 where possible (makes code & function calls more readable IMHO).
- set static variables and functions (exposed some unused vars/funcs).
- use func(void) rather then func() for definitions.
|
|
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf().
also fix possible crash if CWD isnt available.
|
|
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array.
- use BLI_snprintf rather then sprintf where the size of the string is known.
- particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
|
|
modules here).
|
|
|
|
* DAG_on_load_update wasn't called at all for background rendering, so any non-animated object data wasn't updated properly.
|
|
needed so ctest unit testing can be done on addons that are not enabled by default.
|
|
"ImportError: No module named _socket" because of copying wrong files over.
- move test -> tests, this name is used elsewhere in lib/tests.
- change interface code not to loop on a float value (clang warning), harmless, but with extreme cases an eternal loop would still be possible though unlikely.
|
|
Added because CTest has no convenient way to set environment vars for commands it runs.
--env-system-config -> BLENDER_SYSTEM_CONFIG
--env-system-datafiles -> BLENDER_SYSTEM_DATAFILES
--env-system-scripts -> BLENDER_SYSTEM_SCRIPTS
--env-system-plugins -> BLENDER_SYSTEM_PLUGINS
--env-system-python -> BLENDER_SYSTEM_PYTHON
|
|
useful for testing with a predictable environment.
also commented python benchmark prints on exit, can enable when profiling later.
|
|
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
no functional changes.
|
|
from Alexander Kuznetsov (alexk) with edits.
From the report:
Blender assumed that all files are .blend as retval = 0;
Now retval is initialized as file cannot be open (-1) for gzopen fail and directory case
retval = -2; is defined for not supported formats
This must be assigned before #ifdef WITH_PYTHON because this part can be missing
Finally retval = 0; if it is a .blend file
---
also made other edits.
- exotic.c's blend header checking was sloppy, didn't check data was actually read, only checked first 4 bytes and had a check for "blend.gz" extension which is unnecessary.
- use defines to help readability for BKE_read_exotic & BKE_read_file return values.
- no need to check for a NULL pointer before calling BKE_reportf(). (will just print to the console)
- print better reports when the file fails to load.
|
|
- remove unused code.
- BPY_run_python_script() split in 2, BPY_filepath_exec, BPY_text_exec
- renamed funcs.
|
|
Also some white space cleaning and removal of redundant parameter.
|
|
|
|
|
|
also made cmakes output a lot quieter, messages can be uncommented for debugging or added back if other devs need this for some reason.
|
|
and endif() which is no longer needed.
|
|
cmake_blender_libs.txt file.
|
|
quicktime & sndfile options.
|