Nathan Letwory [Thu, 31 May 2007 07:42:54 +0000 (07:42 +0000)]
=== SCons ===
FINALLY! With this commit command-length problems are History. Thanks go to xuru from #scons for giving the nice pointer.
src is now again one lib, and further libsplitting should be rather unnecessary, unless we somehow reach the 37K limit (for internally used CreateProcess, by subprocess module)
Matt Ebb [Thu, 31 May 2007 07:33:18 +0000 (07:33 +0000)]
Fix for invert comp node, was allocating a compbuf unnecessarily.
Matt Ebb [Thu, 31 May 2007 06:55:02 +0000 (06:55 +0000)]
== Shader nodes ==
* Geometry node: Front/back output
This is used as a mask for determining whether you're looking at the front side or back side of a mesh, useful for blending materials, my practical need was giving different materials to the pages of a magazine: http://mke3.net/blender/etc/frontback-h264.mov
Give 1.0 if it's the front side, and 0.0 if it's the back side.
* Extended material node
This is the same as the material node, but gives more available inputs and outputs, (basically just connecting up more of ShadeInput and ShadeResult to the node). I didn't want to add it to the normal simple Material node since you don't always need all that stuff, and it would make the node huge, but when you do need it, it's nice to have it.
== Comp nodes ==
* Invert node
Inverting is something that happens all the time in a node setup, and this makes it easier. It's been possible to invert previously by adding a mix node and subtracting the input from 1.0, but it's not the best way of doing it. This node:
- makes it a lot faster to set up, rather than all the clicking required with the mix node
- is a lot more usable amidst a complex comp setup, when you're looking at a node tree, it's very helpful to be able to see at a glance what's going on. Using subtract for inverting is easily mixed up with other nodes in which you are actually subtracting, not inverting, and looks very similar to all the other mix nodes that usually litter a comp tree.
- has options to invert the RGB channels, the Alpha channel, or both. This saves adding lots of extra nodes (separate RGBA, subtract, set alpha) when you want to do something simple like invert an alpha channel. I'd like to add this option to other nodes too.
There's also a shader node version too.
* Also a few fixes that I committed ages ago, but seems to have been overwritten in Bob's node refactor:
- adding new compbufs to the set alpha and alphaover nodes when you have only one noodle connected to the lower input
- making the fac value on RGB curves still work when there's nothing connected to it
Campbell Barton [Thu, 31 May 2007 06:12:09 +0000 (06:12 +0000)]
Updated this script not to choke on some blank lines (example file from Lekane)
Also removed the use of list.index() all over the place where the index was known. (saves searching the file and the possibility of duplicates messing it up)
Jean-Luc Peurière [Wed, 30 May 2007 21:34:21 +0000 (21:34 +0000)]
**blush**
I never committed the depth buffer changes from 16 to 32
thanks to meestaplu for spotting it
Joshua Leung [Wed, 30 May 2007 10:36:17 +0000 (10:36 +0000)]
Patch #6759: this speeds up the vertex group editing workflow a bit.
The hotkey Ctrl-G in EditMode for Meshes and Lattices, brings up a menu giving the user options to assign/remove selected vertices to a new/the active Vertex Group.
The hotkey Ctrl-Shift-G in EditMode for Meshes and Lattices, brings up a menu giving the user options to change the active Vertex Group and delete the current Vertex Group.
Nathan Letwory [Wed, 30 May 2007 06:11:25 +0000 (06:11 +0000)]
* Fix for #6707
This fix is windows specific. AVIs are now evaluated by the pre-FFMPEG code first, failing that only by FFMPEG. Adding the 200 frame testfile from the bugreport http://projects.blender.org/tracker/?func=detail&aid=6707&group_id=9&atid=125 now goes fine with Add>Movie. Add>Movie+Audio will complain about the fail first, but it will be added anyway.
Campbell Barton [Tue, 29 May 2007 21:39:29 +0000 (21:39 +0000)]
Script from Gerhard for exporting blender to m3g and java source,
see website for examples
http://www.nelson-games.de/bl2m3g/default.html
Joshua Leung [Tue, 29 May 2007 10:28:19 +0000 (10:28 +0000)]
== PY API ==
Added some braces to silence gcc warnings about scene.c
Charlie Carley [Tue, 29 May 2007 07:46:07 +0000 (07:46 +0000)]
Test commit...
Nicholas Bishop [Tue, 29 May 2007 06:42:10 +0000 (06:42 +0000)]
== Multires ==
Fixed bug [#6737] facecount is reported incorrectly when using multires
* Added a call to update the derivedmesh after updating a multires mesh.
Joshua Leung [Tue, 29 May 2007 06:30:33 +0000 (06:30 +0000)]
== PY-API Docs ==
Fixed bad description for a function.
As reported here:
http://www.blender.org/forum/viewtopic.php?t=11752
Campbell Barton [Tue, 29 May 2007 04:15:45 +0000 (04:15 +0000)]
remove xreadline, some other small updates (testing new svn)
Campbell Barton [Mon, 28 May 2007 21:53:49 +0000 (21:53 +0000)]
passing None to Blender.Mathutils.Quaternion would segfault
Campbell Barton [Mon, 28 May 2007 17:52:53 +0000 (17:52 +0000)]
lamp import was broken.
Joilnen Leite [Mon, 28 May 2007 17:06:03 +0000 (17:06 +0000)]
Adding Text3d.JUSTIFY, thanks "Oliver Schneider" <oliffm@web.de>
Campbell Barton [Mon, 28 May 2007 16:49:48 +0000 (16:49 +0000)]
fix for a crash in Blender.Mesh,
getting curve data from an object failed (with only 1 curve vertex)
Blender.Mesh didnt check this and crashed.
Campbell Barton [Mon, 28 May 2007 16:10:40 +0000 (16:10 +0000)]
Added 48x48 blender icon for X11
Simon Clitherow [Mon, 28 May 2007 11:11:15 +0000 (11:11 +0000)]
Copying python25.zip to install folders for win32.
Also, nsis installer now copies plugin include headers.
Campbell Barton [Mon, 28 May 2007 04:50:30 +0000 (04:50 +0000)]
Made it that hidden bones should arnt selected armature and posemode
Campbell Barton [Mon, 28 May 2007 03:09:46 +0000 (03:09 +0000)]
adding object.matrixParentInverse
Campbell Barton [Sun, 27 May 2007 21:33:48 +0000 (21:33 +0000)]
more memory leak fixes, though only a few are likely to happen
Martin Poirier [Sun, 27 May 2007 14:42:17 +0000 (14:42 +0000)]
=== Patch ===
[#6666] Updates to UV layout export script
Moving from NMesh API to Mesh
Campbell Barton [Sat, 26 May 2007 17:52:35 +0000 (17:52 +0000)]
drawmesh.c - change from mal_CanDo that makes lighting work the same as in blender 2.44.
header_view3d.c - smoothview wasnt working with the camera menu
Campbell Barton [Sat, 26 May 2007 12:58:46 +0000 (12:58 +0000)]
Key.c/h - Removed unneeded functions. and ipo in struct wasnt being used.
Lattice.c - removed warning
Mesh.c - (own error) when running me.update(key="...") didnt update the right keyframe.
mesh_cleanup.py - Bugfix from a report by plumiferos that started uncovering all the memory leaks.
Removing NAN verts didnt work with mesh keyframes.
Campbell Barton [Sat, 26 May 2007 04:39:31 +0000 (04:39 +0000)]
More memory leaks fixed - in IDProp, Bone.head, tail, matrix, ob.DupObjects (my fault) and in Effect module as well as a few others.
Also stopped using Py_BuildValue for strings, ints and floats.
Ken Hughes [Fri, 25 May 2007 20:54:48 +0000 (20:54 +0000)]
Fix segfault in PyBonesDict_FromPyArmature() caused by uninitialized memory.
Nathan Letwory [Fri, 25 May 2007 17:32:41 +0000 (17:32 +0000)]
* playback of image sequence now also for OpenEXR images (but not multilayer).
Nathan Letwory [Fri, 25 May 2007 17:11:24 +0000 (17:11 +0000)]
* fix for #6714
- don't handle images with ffmpeg, blender knows itself perfectly fine how to do that. This fix is done as per Qt handling (skip non-Qt files).
Campbell Barton [Fri, 25 May 2007 16:43:25 +0000 (16:43 +0000)]
Many long standing memory leaks fixed in the BPY api.
Data from Armature.c and logic.c still leaks.
Mostly todo with PyList_Append adding a refcount and the bpython api not decrefing.
Also added some features needed to fix a bug in mesh_clean.py (ob.pinShape and ob.activeShape)
Joshua Leung [Fri, 25 May 2007 11:48:27 +0000 (11:48 +0000)]
Bugfix #6735:
Removed the error that showed up when trying to paste a pose onto protected proxy bones. By definition, you shouldn't be able to keyframe/pose protected proxy bones, but nothing obeys that currently.
Joshua Leung [Fri, 25 May 2007 11:14:58 +0000 (11:14 +0000)]
'Hack' to fix bug #6718:
The Outliner didn't refresh after adding loading a new image from disk for use as an image texture.
Juho Vepsalainen [Fri, 25 May 2007 06:08:13 +0000 (06:08 +0000)]
Fixed following issues:
*if a vertex group was renamed in the outliner, the name was not updated
correctly in visible buttons window
*certain buttons in Render panel didn't update other buttons windows in
case their value was changed
*same goes for Logic context of the Buttons Window
*also cleaned up unnecessary code from Logic context and made Timer
field to work correctly when pressed with left mouse button
Ken Hughes [Thu, 24 May 2007 15:00:10 +0000 (15:00 +0000)]
Python API
==========
Bugfix #6682: some Mesh.Primitive default values didn't match UI values.
Martin Poirier [Wed, 23 May 2007 23:09:57 +0000 (23:09 +0000)]
=== Bugfix ===
[ #6690 ] Shift and widget translation cause an uncontrolled move in side or front view
There was a tentative fix for that earlier, but the limit used was too low. This fixes it and ensures sane output.
Ton Roosendaal [Wed, 23 May 2007 15:27:34 +0000 (15:27 +0000)]
Bugfix #6739
Vector blur error in Ztransp: sometimes black lines (on edges) appeared,
which didn't get blurred away. Caused by zero-init of speed vectors in
sample buffers. (Zero speed -> no motion).
Error in Blender since vblur was added.
Joshua Leung [Wed, 23 May 2007 09:21:32 +0000 (09:21 +0000)]
== Action Editor ==
Now Action/IPO-Curve/Constraint Channels draw so that they open downwards. The only noticeable differences are that when expanding/collapsing channels, all the channels above won't get shunted out of the way again. Also, on loading some older files, all the channels may be out of view (TODO: make version patch for this...)
Joshua Leung [Wed, 23 May 2007 04:42:18 +0000 (04:42 +0000)]
== OOPS Editor ==
Hardly anyone uses it, so until now, no-one has noticed that selection is broken. Just a simple variable typo caused bug #6738. Fixed.
Nathan Letwory [Tue, 22 May 2007 23:15:27 +0000 (23:15 +0000)]
* Applying [ #6730 ] Fixing in-Blender displaying of GE bitmap text by Mal Duffin (mal_CanDo)
Nathan Letwory [Tue, 22 May 2007 22:20:35 +0000 (22:20 +0000)]
* svn+ssh test
Campbell Barton [Tue, 22 May 2007 19:40:11 +0000 (19:40 +0000)]
Bugfix for python Image.save()
[ #6702 ] Image doesn't get saved after painting & packing
IMB_saveiff - (general saving function), does not write a file when the image is packed.
so write a file with writePackedFile for packed files.
Ken Hughes [Tue, 22 May 2007 17:41:32 +0000 (17:41 +0000)]
Campbell Barton [Tue, 22 May 2007 14:20:18 +0000 (14:20 +0000)]
option to limit the size of textures loaded into GL memory, usefull when a scene's models wont fit into GFX memory.
Nathan Letwory [Tue, 22 May 2007 10:58:30 +0000 (10:58 +0000)]
* remove very confusing comments. We will *not* 'fase into' MTC_*.
Joseph Eagar [Tue, 22 May 2007 04:41:21 +0000 (04:41 +0000)]
=ID Properties=
The code for preserving ID properties was apparently not
working. Fixed that by adding a new function,
IDP_ReplaceInGroup, that automatically handles overriding a
property in a group while preserving the property order.
Its odd though that the previous fix I had wasn't
working :/
Joilnen Leite [Tue, 22 May 2007 03:13:01 +0000 (03:13 +0000)]
adding python icon on torus in toolbox
Martin Poirier [Mon, 21 May 2007 19:42:11 +0000 (19:42 +0000)]
=== Bugfix ===
Coverity bugfix (missing NULL check) and ref counting errors. (on module constants, so not really leaking, just not good.)
Martin Poirier [Mon, 21 May 2007 19:41:14 +0000 (19:41 +0000)]
=== Bugfix ===
Fix potential problem with Matrix initializer (can't call Matrix_Identity on non square matrices).
Martin Poirier [Mon, 21 May 2007 18:45:28 +0000 (18:45 +0000)]
=== Bugfix ===
coverity bugfix: Dead Code
Martin Poirier [Mon, 21 May 2007 18:42:47 +0000 (18:42 +0000)]
old typo in comment
Martin Poirier [Mon, 21 May 2007 18:15:24 +0000 (18:15 +0000)]
=== Bugfix ===
Fix float error in Transform Contraint with planar constraints when the plane was perpendicular to the viewport. This could cause some weird erratic behavior.
Campbell Barton [Mon, 21 May 2007 16:01:49 +0000 (16:01 +0000)]
renaming to match JMS's names
Campbell Barton [Mon, 21 May 2007 15:26:50 +0000 (15:26 +0000)]
updated rvk1_torvk2 from JMS and added GPL headers
Joseph Eagar [Sun, 20 May 2007 21:40:57 +0000 (21:40 +0000)]
=IDProperty Script GPL Update=
ID Property browser script updated to have a GPL license block.
Heh I can't believe I forgot this. :)
Campbell Barton [Sun, 20 May 2007 21:30:29 +0000 (21:30 +0000)]
closing bug #6680 - This feature didnt work as advertised.
When setting the filename for export foo_#_bar would not be renamed to foo_00001_bar, It only worked when # what the last char of the name.
removed the text from --help that says this is supported.
Brecht Van Lommel [Sun, 20 May 2007 19:01:34 +0000 (19:01 +0000)]
Bugfix: SSS did not work with panorama render.
Campbell Barton [Sun, 20 May 2007 17:30:30 +0000 (17:30 +0000)]
adding GPL headers
Ton Roosendaal [Sun, 20 May 2007 15:55:49 +0000 (15:55 +0000)]
Fix provided by Mal:
- 3D Window, textured drawmode shows lighted again for non-textured faces
- Engine: faces show lighted again when 3d windows was Solid draw mode
Example:
http://www.candointeractive.com/blender/BlenderViewport.jpg
Alfredo de Greef [Sun, 20 May 2007 15:52:29 +0000 (15:52 +0000)]
removing test commit comment...
Alfredo de Greef [Sun, 20 May 2007 15:47:27 +0000 (15:47 +0000)]
Just testing svn...
Campbell Barton [Sun, 20 May 2007 12:29:19 +0000 (12:29 +0000)]
I added a duplicate script, not realizing "Python Reference" was refering to "Blender Python API"
removign the other one anyway since it would make URL's including subversions and I dont think we want that.
Campbell Barton [Sun, 20 May 2007 09:02:16 +0000 (09:02 +0000)]
own bad error. calling scene.timeline would crash blender.
Campbell Barton [Sun, 20 May 2007 07:41:21 +0000 (07:41 +0000)]
Blenders installs where the scripts dir was not writable could not load the console. This should fix it.
Jean-Luc Peurière [Sat, 19 May 2007 22:57:28 +0000 (22:57 +0000)]
post release update of the scons build system for os x powerpc
assume os x 10.4 as defaut
Ken Hughes [Sat, 19 May 2007 16:13:20 +0000 (16:13 +0000)]
Chris Want [Fri, 18 May 2007 15:57:40 +0000 (15:57 +0000)]
Disable copying plugins, et al, to the CMake bin directory -- the
.svn directory would get copied and it has some files that are
write protected, which means that the build would fail the second
time you run make. Needs a better solution.
Joshua Leung [Fri, 18 May 2007 11:50:04 +0000 (11:50 +0000)]
Fixed a few typos in the documentation for Draw module of Python API.
Chris Want [Thu, 17 May 2007 21:28:33 +0000 (21:28 +0000)]
Plumifero's wishlist:
* When duplicating bones that have constraints (edit mode),
duplicate them too with TARGET field updated.
This is code that I wrote a few years ago before the armature
refactor. It is simple code that compiles and seems to work fine,
but should be checked by Ton or somebody else with better knowledge
of the current armature system.
Usage description, (stolen from the first time this code was
committed):
"Duplicating bones in edit mode now also duplicates the constraints
associated with that bone ... if the constraint subtarget bone is
also duplicated the new constraint points to this new bone as it's
subtarget."
Brecht Van Lommel [Thu, 17 May 2007 17:15:22 +0000 (17:15 +0000)]
Added highlighting of non-existant names and autocomplete for
specifying the uv layer name in a material.
Also added generic autocomplete_begin/do_name/end functions,
this code was copied five times.
Brecht Van Lommel [Thu, 17 May 2007 16:51:09 +0000 (16:51 +0000)]
Disable SSS better for preview rendering, so it does not slow down
other preview renders at all.
Also added a flag to enable/disable SSS per scene. There is no
button for it yet, the Render panel has no space left .. will find
a place for it later.
The subversion number was also increased to enable the flag for
older .blends.
Joshua Leung [Thu, 17 May 2007 06:45:16 +0000 (06:45 +0000)]
== Constraints Code ==
Relatively harmless removal of useless code. Also formatted things in a few places.
Matt Ebb [Thu, 17 May 2007 01:18:12 +0000 (01:18 +0000)]
Added Menu entries for Object Mode Show/Hide hotkeys
Chris Burt [Thu, 17 May 2007 01:09:52 +0000 (01:09 +0000)]
This commit sets Python version to 2.5 for Windows/Cygwin/GCC builds.
Joshua Leung [Thu, 17 May 2007 00:23:24 +0000 (00:23 +0000)]
== Action Editor ==
Hiding bones in the 3d-view with the (HKEY) now hides the corresponding Action Channels too.
Chris Want [Wed, 16 May 2007 22:30:20 +0000 (22:30 +0000)]
'Copy Images' option for the .obj exporter would fail.
Changing Material ==> Blender.Material fixed it.
Ben Batt [Wed, 16 May 2007 17:20:02 +0000 (17:20 +0000)]
Fixed editmode post-modifier normal calculation for the case where there are
only deform modifiers in the stack. This was an old bug: a typo caused quad
face normals to be calculated using the same vertex twice, giving bad normals.
Ben Batt [Wed, 16 May 2007 15:19:54 +0000 (15:19 +0000)]
Fixed the "Enable modifier during editmode" button for the case when there are
only deform modifiers in the stack. The code that copied the cage mesh to the
final mesh didn't check for vertex coordinates; I have added this check.
Campbell Barton [Wed, 16 May 2007 12:26:17 +0000 (12:26 +0000)]
Python bugfix reported by reD_Fox1
ob1.shareFrom(ob2) - didnt work with the new type/realtype method of making sure all new objects were emptys until they were linked to data and the realtype is used.
Joshua Leung [Wed, 16 May 2007 05:03:33 +0000 (05:03 +0000)]
Test-commit/Bugfix #6698:
Wrong hotkey given in for the Remove Doubles entry in the 3d-view toolbox->edit->vertices menu.
Chris Want [Tue, 15 May 2007 21:24:19 +0000 (21:24 +0000)]
Test commit: Changes to CMake for Python 2.5 under windows
from Eugene.
Nathan Letwory [Tue, 15 May 2007 12:53:44 +0000 (12:53 +0000)]
=== SCons ===
* cvs->svn conversion: handle properly also release/scripts .svn dir (= skip it!)
Ton Roosendaal [Mon, 14 May 2007 19:52:21 +0000 (19:52 +0000)]
Second commit, now it should not bother me with passwords, according
to some person... :)
Ton Roosendaal [Mon, 14 May 2007 19:50:33 +0000 (19:50 +0000)]
Testing commit to see how it goes...
Nathan Letwory [Sat, 12 May 2007 14:11:27 +0000 (14:11 +0000)]
* handle move CVS->SVN, skip .svn administrative directories
Ton Roosendaal [Thu, 10 May 2007 17:27:40 +0000 (17:27 +0000)]
Showstoppper... mballs didn't get remade correct after render... it was
showing the orcos (size usally smaller).
Ton Roosendaal [Thu, 10 May 2007 09:54:05 +0000 (09:54 +0000)]
Part 2 of release 2.44 commit
Ton Roosendaal [Thu, 10 May 2007 09:52:44 +0000 (09:52 +0000)]
Part one of 2.44 release commit.
Joshua Leung [Thu, 10 May 2007 06:51:08 +0000 (06:51 +0000)]
Bugfix #6674:
Action Editor: editing of action-channel keys is impossible if shapekeys are present
for that object.
Also, after toggling the 'swimmer' icon in the IPO editor header,on and then off again, then trying to expand/collapse/select/deselect the 'Shape' action channel, Blender would crash.
Not really a showstopper, but still nice to fix. ;-)
Juho Vepsalainen [Thu, 10 May 2007 05:44:44 +0000 (05:44 +0000)]
Fixed the hotkey of "Hide Selected" found in the menu activated by space.
Brecht Van Lommel [Wed, 9 May 2007 21:34:35 +0000 (21:34 +0000)]
Bug reported on irc:
Border select in face select mode was broken.
Ton Roosendaal [Wed, 9 May 2007 16:38:04 +0000 (16:38 +0000)]
bugfix #6672
Object with object-action:
Crash after unlinking an Ipo, and then inserting new key positions in 3d
window.
Brecht Van Lommel [Wed, 9 May 2007 16:25:58 +0000 (16:25 +0000)]
Fix preview rendering for SSS to not show preprocessing pass that
leads to flickering, and a bug that would display parts of the
preview render as black for interrupted preview renders.
(sorry for the late fix, i've triple checked the code ..)
Kent Mein [Wed, 9 May 2007 15:32:33 +0000 (15:32 +0000)]
another coverity issue.
scriptlinks_pupmenu(ScriptLink *slink) could get passed null and
did not check for it.
Kent
Kent Mein [Wed, 9 May 2007 14:57:26 +0000 (14:57 +0000)]
Another small cleanup of dead code thanks to coverity.
Kent
Ton Roosendaal [Wed, 9 May 2007 14:12:29 +0000 (14:12 +0000)]
Bugfix #6663 yesterday, error: forgot to put back in if() for freeing data
Ton Roosendaal [Wed, 9 May 2007 11:16:32 +0000 (11:16 +0000)]
In very rare cases, an offset-bone could not exist, whilst the action
channel does. Then it crashes...
This commit adds a NULL test, but now trying to solve how this case
can happen.
Campbell Barton [Wed, 9 May 2007 07:03:05 +0000 (07:03 +0000)]
had debugging test enabled.
Juho Vepsalainen [Tue, 8 May 2007 19:31:39 +0000 (19:31 +0000)]
Bugfix [ #6593 ] Texture panel does not appear as soon as expected
Texture paint mode toggles were missing some redraws.
Ton Roosendaal [Tue, 8 May 2007 18:51:40 +0000 (18:51 +0000)]
Bugfix #6663
Metaballs, when in editmode, didnt show correct after a render (it was
drawing render resol then).
The code here was confused some... this works, although it will take a
bit more cpu cycles when render resol = display resol. No biggie.
Kent Mein [Tue, 8 May 2007 16:31:51 +0000 (16:31 +0000)]
another little coverity fix.
unused var doredraw removed and the call to do a redraw, since
its never called I figured we can remove it and if we need it later
put it back in. (this is in function winqreadbutspace)
Kent