Mitchell Stokes
b5e3d2a2ea
Bugfix #25803 (LibLoad'ed scene objects don't have timer property updated)
...
The KX_Scenes' SCA_TimeEventManagers were not being merged. These handle the timer prop
2011-02-21 23:44:11 +00:00
Mitchell Stokes
648dec3411
Fix for bug #25804 (LibLoad'ed scene objects material CRASH when doing mat.getShader())
...
X_Material's mScene member variable wasn't properly set on merge if it didn't have an mBlenderShader defined. This patch always makes sure it gets set on merge.
2011-02-21 23:41:47 +00:00
Nathan Vegdahl
ea20a27240
Editbone length was still using "normalize()" instead of "normalized()"
...
for setting length, which was thus failing and erroring out.
2011-02-21 20:26:37 +00:00
Ton Roosendaal
8327333b40
Accidentally left in a print for commit 34912
2011-02-21 18:18:55 +00:00
Lukas Toenne
4fb730d6d0
Fixed do_versions for node groups which contain nodes that have changed sockets. do_versions is running before the lib_verify_nodetree function updates socket lists of nodes. This means that when adding unlinked sockets in do_versions to restore older node groups, the new sockets are not taken into account. To fix this a temporary node tree flag has been introduced, which delays actual group socket do_version until the group tree internal nodes have been updated. After that the unlinked group sockets are exposed (like old node groups did), then the external sockets look up the new index, so that external links to group instances are preserved.
2011-02-21 18:18:37 +00:00
Ton Roosendaal
33887fa41d
Bugfix #26116
...
Node materials with 'ray transparency' set now work again.
Fix provided by Ervin Weber, thanks a lot!
2011-02-21 18:06:52 +00:00
Nathan Letwory
3459c1b26c
Finally got around to fixing priorities, so cleanup in stubs.c can be done. blenderplayer builds again with cmake.
2011-02-21 16:41:36 +00:00
Campbell Barton
b30e59aa71
patch [ #26146 ] debian/rules: Avoid unnecessary downloading
...
--- from the tracker
It's annoying that build_debian.sh downloads the source tree to create tarball every time we build a deb package.
fix_debian_rules_avoid_downloading.patch modifies debian/rules so that the tarball will be created from local repository if possible.
2011-02-21 13:59:42 +00:00
Lukas Toenne
1c7a422f78
Big node groups improvement patch. Node group trees now have their own lists of input/output sockets. Those can be linked to internal nodes just like links between regular nodes. In addition group sockets can be renamed and have a defined order, which can be modified, and they can be removed again.
...
More details can be found in the patch tracker description (#24883 ) and on the code.blender.org development blog.
2011-02-21 13:47:49 +00:00
Campbell Barton
9ef0eed4b6
build python module without binreloc, add dummy argv[0] to initialize bprogname.
2011-02-21 13:13:08 +00:00
Nathan Letwory
ef60ae9521
And the last one. hopefully.
2011-02-21 13:00:38 +00:00
Nathan Letwory
e2dccc4f33
And another one.
2011-02-21 12:58:16 +00:00
Nathan Letwory
cff782e5f1
Missed this in battle against BLO vs MEM storm.
2011-02-21 12:54:40 +00:00
Nathan Letwory
322ff7dfe4
I swear, it was just an innocence change in guardedalloc!
...
The butterfly wing flap, causing a nice storm in the rest of blender.
Now all dependencies should point ok again. CMakers, do double-test.
2011-02-21 12:35:04 +00:00
Campbell Barton
c14aca0e95
add includes to cmake files
2011-02-21 12:18:34 +00:00
Nathan Letwory
d9563f5e2b
doxygen: some code shuffle to prevent clashing file names, ensure MEM_guardedalloc.h also shows in docs
2011-02-21 11:38:55 +00:00
Campbell Barton
e46da7166b
remove BGE's PyObjectPlus.isA method docs, was removed in favor of built-in isinstance(), report [ #26080 ].
2011-02-21 10:15:19 +00:00
Janne Karhu
cbf44397a9
Fix for [ #26105 ] Key mapped Rotate equals crash (Windows/MSVC only)
...
* Transform info text array was too short for all cases, so some characters got written to invalid addresses.
2011-02-21 09:28:11 +00:00
Nathan Letwory
212d67734c
doxygen: add guardedalloc and AVI
2011-02-21 09:23:34 +00:00
Nathan Letwory
b276624f33
doxygen: footer template
2011-02-21 09:09:27 +00:00
Nathan Letwory
bcec824299
doxygen: COLLADA entry
2011-02-21 08:38:53 +00:00
Campbell Barton
72d5d692ea
better macro for getting the blender version from BKE_blender.h, also re-run CMake if BKE_blender.h changes.
2011-02-21 08:31:00 +00:00
Campbell Barton
b26a4dc4af
fix [ #26093 ] Install Add-On Fails and deletes script
...
problem was on installing a file which was already installed, when the source and target paths match python deleted the file.
now check if the selected file is inside any of the addon search paths and abort with an error.
2011-02-21 07:33:59 +00:00
Nathan Letwory
8172207d20
doxygen: editor entry
2011-02-21 07:25:24 +00:00
Campbell Barton
eee4a62e87
move addon utilities into their own module, these were getting mixed between bpy.utils and space_userpref.
2011-02-21 07:07:44 +00:00
Nathan Letwory
8c8ae3dedf
doxygen: entry for gpu, modifiers, nodes, python and render
2011-02-21 06:58:46 +00:00
Campbell Barton
ff84ad3151
fix for cmake with last commit.
2011-02-21 05:28:22 +00:00
Campbell Barton
848d60caee
Move blender version info into BKE_blender.h so we only have the info in one place and so package building scripts can extract it in a more usable way.
...
this also means we can have a version string like '2.56a-beta' without using buildinfo.
release/VERSION was only used by scons, NSIS installer.
Possibly helps to fix bug [#26062 ] too.
2011-02-21 04:45:47 +00:00
Campbell Barton
1e4c17a82f
missed updating this when editing registration,
...
netrender wasn't registering its RenderEngine subclass.
2011-02-21 02:45:13 +00:00
Campbell Barton
d7bee4ce2c
bugfix [ #26156 ] Opening .blend files through OS ignores "Load UI" flag
2011-02-21 02:40:48 +00:00
Campbell Barton
2ef296dc4c
bugfix [ #26118 ] Getting 'Error Totblock' when using sub-properties from a PointerProperty
...
blender wasnt freeing ID-Properties when freeing the material copy.
Checked that this isnt a problem for other preview types - texture/world/lamp.
2011-02-21 02:07:26 +00:00
Campbell Barton
54dd0f57cf
bug [ #26089 ] editbone.transfrom() seems to mess up bone roll (by more than float precision error)
...
This is intentional behavior but add options not to transform the bones scale & roll.
2011-02-21 01:29:35 +00:00
Campbell Barton
7809d7d0c8
fix [ #26152 ] Blender File for Image too Small
...
disallow 0% rendersize.
also mark new cmake vars as advanced: RPMBUILD, X11_XF86keysym_INCLUDE_PATH
2011-02-21 01:02:30 +00:00
Nathan Letwory
958b5c1d8d
Make sure we can build without the optional new WITH_PYTHON_MODULE option. Looks like a #ifndef was meant around the blender_esc implementation.
2011-02-21 00:45:54 +00:00
Campbell Barton
c30149991c
Experimental option to build blender as a python module, rather then blender 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()
2011-02-20 23:39:29 +00:00
Joshua Leung
55a0e21a03
Revert r35003. It was just an extra semicolon
2011-02-20 23:21:15 +00:00
Konrad Kleine
187f9c5874
Fixed compilation bug in r35002: C90 forbids mixed declarations and code. I've changed the order of variable declarations.
2011-02-20 22:03:49 +00:00
Joshua Leung
38e7084179
Bugfixes:
...
- Fix for crash with Keying Sets when a Keying Set path has no ID-
block to target
- Info window now indicates the types of the reports shown by
colouring their entries if the entries are not selected.
2011-02-20 21:32:21 +00:00
Campbell Barton
06aee2ef0e
misc warnings/fixes
...
- 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.
2011-02-20 15:48:01 +00:00
Sergey Sharybin
8c4e95da48
Fix for crash when sculpting on multires object during playback
...
- Restored BLI_pbvh_grids_update stuff;
- Marc all nodes as changes in ED_sculpt_modifiers_changed, so
draw_buffers would be keept correct.
2011-02-20 15:35:01 +00:00
Guillermo S. Romero
c37884b015
Add XF86keysym.h detection and use to CMake system, for r34983.
2011-02-19 23:51:55 +00:00
Tamito Kajiyama
70aa63306a
Merged changes in the trunk up to revision 34996.
...
Conflicts resolved:
C:\bf-blender\soc-2008-mxcurioni\doc\python_api\sphinx_doc_gen.py
C:\bf-blender\soc-2008-mxcurioni\source\blender\makesrna\RNA_types.h
C:\bf-blender\soc-2008-mxcurioni\source\blender\render\SConscript
2011-02-19 23:51:18 +00:00
Ton Roosendaal
43d362fcc8
Bugfix #26150
...
Crash in hovering over the menu "Pose -> Poselib" sub-items.
NULL context passed on to function and read before the test.
2011-02-19 18:53:08 +00:00
Ton Roosendaal
9d81d5f7ac
Todo item:
...
Option menus (like Mapping options in texture) now show a tooltip on
the button itself, explaining the selected option.
2011-02-19 17:18:38 +00:00
Ton Roosendaal
e3cc8f00cc
From the todo:
...
New render output option "No Output", which renders without
forcing an editor to show an image. Nice for people who
prefer to setup composites with background image view.
2011-02-19 16:55:01 +00:00
Ton Roosendaal
e86b787bcc
Bugfix #25967
...
Shader nodes: option "backface" failed for materials using
full oversampling.
The usage of shi->flippednorm in render code is heavily messed
up... also flipping vertexnormals themselves feels wrong.
Marked it in code with XXX for future fixups.
2011-02-19 16:24:14 +00:00
Ton Roosendaal
6481921b9a
Bugfix #26015
...
A very Bad Bug!
On every draw-object, a function free_old_images() was called which
was freeing "unused" images during renders/bakes
This was a left-over from 2.4x code, missed it altogether.
I'm sure this fix will solve a lot of render crashing... :)
2011-02-19 14:32:34 +00:00
Campbell Barton
e1575e5b58
add 'make debug' option for stub cmake makefile.
2011-02-19 13:46:08 +00:00
Diego Borghetti
65ce537c6c
Rename global_ft_lib and make it static.
...
Remove the XXX code from blf_glyph.c and use the pointer
inside the FontBLF struct.
If still have problem, let me know.
2011-02-19 13:43:22 +00:00
Campbell Barton
9ee1b3930f
set main() argv functions to be const char *
...
also set minimum cmake version to 2.8
2011-02-19 12:05:20 +00:00