Commit Graph

1712 Commits

Author SHA1 Message Date
9615532ccb == Pynodes ==
1) Trying to bring back compatibility with Python2.3.
2) Adding some stubs to compile blender player again on linux.

Please tell me if Blender still doesn't compile with py 2.3 or if the player isn't compiling. There was a binreloc related stub I needed to add, so probably the player wasn't compiling before the pynodes commit.

Thanks PanzerMKZ for reporting and testing part of the fix to py 2.3.
2008-02-10 21:12:44 +00:00
Nathan Letwory
9d7ef684e3 * remove redundant define. 2008-02-10 18:48:29 +00:00
34ddfb03c1 == BPy: scripts in menus ==
Fixing compile warning (about a var that was always true being used as condition in an "if" block).
2008-02-10 02:12:06 +00:00
Nathan Letwory
16514e3ddb * Merge of PyNodes to trunk. Finally!
See http://wiki.blender.org/index.php/BlenderDev/PyNodes and
  http://wiki.blender.org/index.php/BlenderDev/PyNodes/API
  For current documentation.

  Very very big thanks go to William Germano for fixing the memory issues left
  and for improving on the code.

  In the coming time documentation will be finalised and further stabilising
  of PyNodes is to be expected.
2008-02-09 23:17:15 +00:00
abb2d6b3eb This is patch: [#8244] Add MultiLayer image type in python API documentation
Submitted By: Stephane SOPPERA (soppera)

Just updates the docs for previous commit.

Kent
2008-02-06 22:35:48 +00:00
37d139ea54 This is patch: [#8228] Add MultiLayer image type to python and batch rendering
Submitted By: Stephane SOPPERA (soppera)

Also fixes a small typo with wrong filetype for TIFF commandline rendering.

Kent
2008-02-05 19:31:21 +00:00
9c12534cd9 Python API
----------
Correct sound into font in documentation to api2_2x/doc/Font.py.
2008-02-04 00:44:31 +00:00
Ken Hughes
87fbe307a1 Python API
----------
renderData.removeRenderLayer() was not returning a Python object; make it
return None;
2008-02-03 01:30:15 +00:00
07ccea0ac2 == Python API - Mesh ==
This patch by Domino Maram adds the function addMultiresLevel
2008-02-02 23:58:05 +00:00
fdab7b08f1 remoed testing line 2008-02-02 04:10:31 +00:00
655ca9d9ae makefile was not adding openexr, so py api never enabled setting openexr image type when using make. 2008-02-02 03:23:36 +00:00
86cbb9f7cb PyConstraint Bugfix:
Uncommented armature weakrefs stuff for PyConstraints. This should fix some erratic error messages a user found with these a few months ago.
2008-01-30 09:29:40 +00:00
31a1590db0 Bugfix: quaternion angle calculation in python used the acos function.
This gives nan if the input is e.g. 1.00000001 due to rounding errors,
better is to use saacos (safe acos) that checks for the range first.
2008-01-29 09:44:26 +00:00
b115bd677b some bugs with previous renderlayer api 2008-01-28 00:07:59 +00:00
5e512afa0a renderLayer access for the render api, no epydocs yet 2008-01-27 22:22:41 +00:00
78cedbd1f9 added function to get the full path for a rendered frame (before its rendered) 2008-01-26 15:38:06 +00:00
0adafe923a Fixed small typo... This is [#8138] Tiny typo
Kent
2008-01-23 15:51:25 +00:00
c089564faf openexr, touch and noOverwrite setting access from py api 2008-01-23 14:15:34 +00:00
Ken Hughes
b778daed81 Python API
----------
Correct error in LibData module documentation.
2008-01-22 05:45:09 +00:00
f417989871 Made it so locked strips inside metastrips are transformed.
Removed FTYPE from render output panel - was some old format that did index colors, and wasn't even used anywhere.

Added 2 options to the render output panel that can be used for a really basic local renderfarm (even artists can use it!),
"NoOverwrite" and "Touch"
When both are enabled, rendering 1 scene between many pc's on a fast network will populate the directory with frames.
Also useful to delete frames that have errors and re-render (without manually re-rendering each frame)
2008-01-20 17:53:58 +00:00
d450dbec91 add the option to add the parents time offset value. 2008-01-19 16:32:29 +00:00
7b6c88473c find_group would only return the first group, this let to the assumption that an object was only in 1 group, made it easy to loop through all groups an object is in.
group = NULL;
while( (group = find_group(base->object, group)) ) {
	...
}
2008-01-19 15:13:42 +00:00
Ken Hughes
f41c3340be Python API
----------
Added RenderData.activeLayer attribute, lets user access the active
rendering layer.  Also corrected description of RenderData.freeImages
attribute.

Note: doesn't seem like there is any support in the python API for accessing
the renderlayers settings....
2008-01-16 03:02:54 +00:00
7f0e7b8e16 incorrect epydocs 2008-01-15 17:37:47 +00:00
Ken Hughes
e8a200eb04 Python API
----------
Correct error in Mathutils.Rand documentation (pointed out on IRC by masterofbytes).
2008-01-12 00:54:42 +00:00
f1cb4d521c patch from John Croisant [#8045] Allows muting NLA strips via Python API
https://projects.blender.org/tracker/index.php?func=detail&aid=8045&group_id=9&atid=127
2008-01-03 09:41:19 +00:00
f3ebe967dd added utility function Blender.GetPaths( absolute=0 )
returns a list of files this blend file uses, wraps bpath functions.
2008-01-02 17:40:53 +00:00
Ken Hughes
4260b054f4 Python API
----------
Fix warning about implicit declaration of function ‘set_mipmap’.
2007-12-30 16:47:38 +00:00
Ken Hughes
65164a9e41 Python API
----------
tex->image attribute setter needed call to BKE_image_signal(), otherwise
image would not appear when render.
2007-12-30 16:41:31 +00:00
3c1ad6a295 * Displacement map baking
This is an extension on the work Brecht already did to implement normal map baking. I've updated the release notes page here with info and pics:

http://www.blender.org/development/current-projects/changes-since-244/render-baking/
2007-12-29 05:17:19 +00:00
28805c626f ==Python API==
added mipmap as an option for Blender.Get/Set
2007-12-27 13:35:14 +00:00
9807586192 == Multires ==
Fixed bad level calls within multires usage.
2007-12-26 10:43:51 +00:00
88e71a5b79 == Multires ==
Cleaned up bad level calls for multires; moved most of multires functions to blenkern, where they should have been in the first place. Functionality of the tool is unchanged.
2007-12-26 09:39:15 +00:00
8a07e665c2 patch from Vladimir Espinosa for keying object layers from python 2007-12-24 11:43:09 +00:00
df46987ba3 old bug in python api, Blender.Scene.Unlink() did not check if screens were using this scene or if it was used as a set elsewhere.
In both cases this resulted in invalid pointers and crashes.
Also was not freeing nodes or sequence data.
2007-12-24 10:25:35 +00:00
5dfef1ae35 Reverting to 2_2x BPY
I was careful in selectively rolling back revisions, but if you've committed changes unrelated to BPY mixed with BPY changes, I might have reverted those too, so please double check.
2007-12-17 20:21:06 +00:00
f15956356c misc warning fixes and one fix for a big in curve allocation 2007-12-13 15:06:02 +00:00
78b885b9fc own error, sequencer set images - didnt clear error when finished 2007-12-13 08:49:09 +00:00
bf5cc424a8 Patch from ILdar AKHmetgaleev (akhil) - [#7864] correct scale in sequencer's glow
Added py-api write access to sequencer images.
2007-12-12 14:20:12 +00:00
6dc52c893f for button popups, dont close unless you click or press escape, this would often close when dragging a button value (or when using a tablet I am told) 2007-12-11 23:05:10 +00:00
Ken Hughes
910ef6ca75 Python API
----------
Bugfix #7898: added access to DISPLACE modifiers, add ARRAY constant to
modifier documentation.
2007-12-11 01:58:22 +00:00
9723e3ef39 miscellaneous edits from python development branch merged back into trunk 2007-12-07 09:51:02 +00:00
Ken Hughes
3bbf0736b2 Python API
----------

Bugfix #7877: fix for lamp.setMode() and lamp.setType(): need to build
tuples instead of just int or float objects.
2007-12-06 20:15:03 +00:00
26b8892c9c Bugfix for mysteriously disappearing left eyeball. Bounding boxes
used for clipping were being stored in the mesh, but modifiers
can result in two objects with the same mesh having a different
bounding box. Solution is to store bounding box in the object.
2007-12-05 21:50:23 +00:00
ccc82beb64 import all math funcs (sin/cos/tan/e... etc) by default into buttons and drivers 2007-12-03 16:43:58 +00:00
1e32ec2000 minor update, "Draw Handles" wasnt working when disabled everywhere and replaced some magic numbers 2007-12-01 23:25:00 +00:00
6b88141fda dupliFaceScale wasnt being initialized for new objects, added Python api access 2007-11-30 14:10:36 +00:00
4cdaa3ada2 Previous commit (for ipos) missed python code fixes. Apparently makefiles
for python are broken...
2007-11-28 12:42:36 +00:00
bb77ea8df5 Patch [#7829] "compressfile" parameter for Blender.Set() from JMS 2007-11-27 23:15:51 +00:00
13e73af13e ==Python API==
Added a keyword argument for mesh.pointInside(point, selected_only=True)
This means only selected faces are tested when doing the inside/outside test, disabled by default.
2007-11-24 18:29:33 +00:00