Campbell Barton
4c0b33ef80
Python Bugfix
...
A new file could have its Blender.Get("filename") return "<memory>" after undo'ing on an open file.
Fix for own error with python sys.path, messed up game engine.
2008-02-20 18:56:07 +00:00
Campbell Barton
cf27a896fa
Python Bugfix,
...
Setting the user preference for python scripts didnt add the bpymodules subdirectory to sys.path (python module search path).
Also problems with entering and exiting- the old path was used until next restart.
2008-02-20 13:42:15 +00:00
Remigiusz Fiedler
0d80e08e8a
python API: added support for screen font 12(fix-width) as "normalfix"
2008-02-19 10:47:29 +00:00
Brecht Van Lommel
417687c4ff
Bugfix: yafray number of processors was not properly initialized, and
...
could be 0, hanging yafray. This commits removes the separate yafray
number of processor setting and simply using the blender threads
button, there is no reason for a separate setting.
2008-02-17 22:11:05 +00:00
Campbell Barton
b7af3d2cbd
fix for [ #8257 ] double-freeing pointers from sculpt code
...
http://projects.blender.org/tracker/index.php?func=detail&aid=8257&group_id=9&atid=125
Cleaned up scene_copy, and moved some scene copying into this function that was inline in the user interface.
Also moved malloc error prints onto separate lines so you can set breakpoints.
2008-02-16 16:35:47 +00:00
Campbell Barton
11c926b575
Python api addition PupTreeMenu() - for apricot
2008-02-15 16:08:41 +00:00
Willian Padovani Germano
b58274abef
== BPython API ==
...
Fixing mistake in Blender_ShowHelp() function: argument to Blender_Run() should be passed directly as a string, not encapsulated in a tuple (aka "s", not "(s)").
2008-02-13 20:42:36 +00:00
Campbell Barton
bc9848f7e6
Added a global string to be used for the tempdir. since the user preference is not loaded in background mode and the user preference is not validated and has no fallback.
...
'btempdir' is set with BLI_where_is_temp() - This tries to use U.tempdir but falls back to $TEMP or /tmp/
2008-02-13 13:55:22 +00:00
Ken Hughes
60378a306c
Python API
...
----------
Added missing lamp.falloffType attribute. Also fixed typo in Render docs.
2008-02-12 19:29:12 +00:00
Campbell Barton
3974a0a3c1
Added python access for baking
...
http://www.blender.org/documentation/246PythonDoc/
http://www.blender.org/documentation/246PythonDoc/Render.RenderData-class.html
http://www.blender.org/documentation/246PythonDoc/bpy_api_2_46.zip
2008-02-12 14:47:55 +00:00
Campbell Barton
f33faa8f5f
python scriptlink for ObjectUpdate and ObDataUpdate, Redraw events are not practice in many real world cases, this can give more specific updates.
...
Discussed with Caedes, Brecht and Ton, can rework if needed.
2008-02-11 12:01:14 +00:00
Willian Padovani Germano
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
Willian Padovani Germano
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
Kent Mein
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
Kent Mein
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
Remigiusz Fiedler
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
Tom Musgrove
07ccea0ac2
== Python API - Mesh ==
...
This patch by Domino Maram adds the function addMultiresLevel
2008-02-02 23:58:05 +00:00
Campbell Barton
fdab7b08f1
remoed testing line
2008-02-02 04:10:31 +00:00
Campbell Barton
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
Joshua Leung
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
Brecht Van Lommel
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
Campbell Barton
b115bd677b
some bugs with previous renderlayer api
2008-01-28 00:07:59 +00:00
Campbell Barton
5e512afa0a
renderLayer access for the render api, no epydocs yet
2008-01-27 22:22:41 +00:00
Campbell Barton
78cedbd1f9
added function to get the full path for a rendered frame (before its rendered)
2008-01-26 15:38:06 +00:00
Kent Mein
0adafe923a
Fixed small typo... This is [ #8138 ] Tiny typo
...
Kent
2008-01-23 15:51:25 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
d450dbec91
add the option to add the parents time offset value.
2008-01-19 16:32:29 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Matt Ebb
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
Campbell Barton
28805c626f
==Python API==
...
added mipmap as an option for Blender.Get/Set
2007-12-27 13:35:14 +00:00
Nicholas Bishop
9807586192
== Multires ==
...
Fixed bad level calls within multires usage.
2007-12-26 10:43:51 +00:00
Nicholas Bishop
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
Campbell Barton
8a07e665c2
patch from Vladimir Espinosa for keying object layers from python
2007-12-24 11:43:09 +00:00
Campbell Barton
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
Martin Poirier
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
Campbell Barton
f15956356c
misc warning fixes and one fix for a big in curve allocation
2007-12-13 15:06:02 +00:00
Campbell Barton
78b885b9fc
own error, sequencer set images - didnt clear error when finished
2007-12-13 08:49:09 +00:00
Campbell Barton
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