Commit Graph

28505 Commits

Author SHA1 Message Date
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
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
Ton Roosendaal
48f232df73 Bugfix #26009
Paint cursors were drawing on top of pop-up menus in 3D window,
only in triple-buffer mode though.
2011-02-19 11:59:01 +00:00
Campbell Barton
863ac9e07f change shrinkwrap modifier cull front/back options from 2 booleans into an enum since it makes no sense to have front and back enabled at once. 2011-02-19 09:53:38 +00:00
Campbell Barton
c09e8b3434 fix for string wrap backface culling not working when one of the objects was rotated.
also skip calculating the dot product if its not needed.
2011-02-19 09:01:28 +00:00
Campbell Barton
e4a69ffb60 fix [#26104] Context Set Boolean op fails [34892i]
could give better feedback but these operators are mainly for internal use.
2011-02-19 04:28:07 +00:00
Campbell Barton
8cde7ef020 Correct report [#26139] Documentation is incorrect
also remove Irix from list of supported OS's, add FreeBSD.
2011-02-19 00:58:46 +00:00
Guillermo S. Romero
bb2d0eb230 Add media keys for XFree86/Xorg based X11.
TODO: setup build systems to define WITH_XF86KEYSYM.
2011-02-19 00:12:34 +00:00
Joerg Mueller
d36a89c8f4 Audaspace:
* Adding play method to the device classes to play back a reader (not used yet, preparation for a later feature).
* Using a linear resampler in case SRC is disabled.
2011-02-18 23:50:27 +00:00
Joerg Mueller
020c03bc05 Relicensing audaspace under GPL 2 or later. 2011-02-18 23:47:37 +00:00
Joshua Leung
346f749a57 Adding support for the "media" play/pause/stop/next/prev buttons
available on many keyboards these days, so that they can be used for
animation playback (giving more options over alt-a and alt-a ad-
infinitum).

Currently, this is Windows only as I don't have a Linux/Mac system to
test on (it should compile with both mingw and msvc, at least using
scons). Maintainers for those systems can probably easily add this in
once they find out the relevant mappings for those systems.
2011-02-18 22:42:03 +00:00
Daniel Salazar
65aac7c506 Fix for building math nodes provided by DustyDingo 2011-02-18 22:15:43 +00:00
Guillermo S. Romero
24d7606cb8 SVN maintenance. 2011-02-18 19:33:19 +00:00
Sergey Sharybin
ce49489da5 Fix #26140: Text to 3D object (one object & one object per line) has the same shortcut
Applying patch provided by Jorge Bernal (lordloki). Thanks!
2011-02-18 19:10:14 +00:00
Ton Roosendaal
7a8a9b4875 Bugfix #26101
Node editor: icons in header sometimes were on wrong locations.
The click hotspots were also off...
2011-02-18 17:53:11 +00:00
Ton Roosendaal
7a29a44cf4 Bugfix 26131
Option "Align view to selected" only aligned to the last activated
item in editmode. This whilst code comment even said "use alignment
from Manipulator in normal mode".

Now it does what it's (apparently) meant to do, and what brazilians 
think it should! ;) It aligns to selected!
2011-02-18 16:47:10 +00:00
Ton Roosendaal
ac35ee4bd5 Bugfix #26135
User Preferences
Using "no AA font" crashed, caused by commit to make static variables.
However, how this was ever meant to work... using such globals has to be
treated carefully. Fixed for now with XXX warning for Diego :)

Thanks to reporter Susanne H. to point at the right code!
2011-02-18 16:13:13 +00:00