Age | Commit message (Collapse) | Author |
|
WITH_MOD_FLUID until there supported.
possibly allows builing with Xcode4.
|
|
from cache.
|
|
|
|
external headers cause this.
|
|
|
|
|
|
Reported by Jan Hohoho
Running the unwrap causes stack to overflow. Double the size from default 1MB.
|
|
'== "win32"' & avoid importing platform.
also add some notes to CMake options.
|
|
cmake on *nix detects python ABI flags for debug and release mode.
searches /usr /usr/local /opt/py32
|
|
give a CMake error if Python.h isn't found.
|
|
- for new shadow only enum, use humanly readable RNA enum values.
- update cmake unix example for custom python.
|
|
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
|
|
for building py3.2 on *nix see:
http://wiki.blender.org/index.php?title=Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting#Python
also fixed possible buffer overrun with getting the fake filepath for a blender textblock.
|
|
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.
|
|
|
|
compile time option which enables extra safety checks.
since this is noticeably slower I rather not enable by default yet.
|
|
a header every build with the time, date, svn revision.
|
|
|
|
causing dependency problems.
|
|
|
|
disallow 0% rendersize.
also mark new cmake vars as advanced: RPMBUILD, X11_XF86keysym_INCLUDE_PATH
|
|
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()
|
|
|
|
also set minimum cmake version to 2.8
|
|
|
|
bundle also defined.
|
|
- rename rna collection structs Main prefix to BlendData: eg, MainObjects --> BlendDataObjects
- printing python collection now prints its type (when available)
- renamed shadowed vars in bpy_rna.c.
- when making functions static I also made debugging/test functions static, reverse and add definitions to headers instead.
|
|
- python 3.2 does 'import site' on startup which now tries to parse pyconfig.h which isn't copied. so for now just run without importing 'site', alternative would be to copy the header file for posix systems.
- cache PYTHON_VERSION variable so it can be set to 3.2, needed for copying python installation's other then 3.1.
|
|
|
|
r827).
|
|
*nix with non-standard libjpeg/png/zlib locations was broken.
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
|
|
Will need to write full docs on this on the wiki.
basic info.
- 21 tests, OBJ/3DS/X3D/FBX, 3 tests per format import export. STL, PLY, BVH are TODO.
- uses files in ../lib/tests (checkout separate)
- run with CMake Makefiles "make test" or "ctest"
- currently checks against basic MD5 hash on scene import and file MD5 hash on export (realize this wont work predictably on binary formats *TODO*).
- currently uses a generic script for all tests with arguments to specify command to run, expected output, testing method, files to check against etc.
Has already proved useful, found a number of bugs in import export and some in blender too.
|
|
|
|
- game engine builds without python again.
|
|
|
|
blender_include_dirs(${OPENGL_INCLUDE_DIR})
Apparently this is needed for MSVC in some cases, reported by Tamito Kajiyama r33895.
|
|
|
|
Also some white space cleaning and removal of redundant parameter.
|
|
test ran each time.
also cache SSE, SSE2 checks.
|
|
also made cmakes output a lot quieter, messages can be uncommented for debugging or added back if other devs need this for some reason.
|
|
unsupported warnings.
this can work for other compilers too, currently intel and gcc use this.
|
|
enabled and it will call abort().
made this option advanced so people don't enable along with other features.
|
|
- wm.add_modal_handler -> modal_handler_add
- wm.add_fileselect -> fileselect_add
- ob.add_shape_key -> shape_key_add
- VIEW3D_OT_add_background_image -> VIEW3D_OT_background_image_add (same for remove)
Also made 2 internal cmake vars hidden.
|
|
|
|
|
|
and endif() which is no longer needed.
|
|
cmake_blender_libs.txt file.
|
|
'const char's,.
Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
|
|
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
|