blender.git
13 years ago**blush**
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

13 years agoPatch #6759: this speeds up the vertex group editing workflow a bit.
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.

13 years ago* Fix for #6707
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.

13 years agoScript from Gerhard for exporting blender to m3g and java source,
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

13 years ago== PY API ==
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

13 years agoTest commit...
Charlie Carley [Tue, 29 May 2007 07:46:07 +0000 (07:46 +0000)]
Test commit...

13 years ago== Multires ==
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.

13 years ago== PY-API Docs ==
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

13 years agoremove xreadline, some other small updates (testing new svn)
Campbell Barton [Tue, 29 May 2007 04:15:45 +0000 (04:15 +0000)]
remove xreadline, some other small updates (testing new svn)

13 years agopassing None to Blender.Mathutils.Quaternion would segfault
Campbell Barton [Mon, 28 May 2007 21:53:49 +0000 (21:53 +0000)]
passing None to Blender.Mathutils.Quaternion would segfault

13 years agolamp import was broken.
Campbell Barton [Mon, 28 May 2007 17:52:53 +0000 (17:52 +0000)]
lamp import was broken.

13 years agoAdding Text3d.JUSTIFY, thanks "Oliver Schneider" <oliffm@web.de>
Joilnen Leite [Mon, 28 May 2007 17:06:03 +0000 (17:06 +0000)]
Adding Text3d.JUSTIFY, thanks "Oliver Schneider" <oliffm@web.de>

13 years agofix for a crash in Blender.Mesh,
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.

13 years agoAdded 48x48 blender icon for X11
Campbell Barton [Mon, 28 May 2007 16:10:40 +0000 (16:10 +0000)]
Added 48x48 blender icon for X11

13 years agoCopying python25.zip to install folders for win32.
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.

13 years agoMade it that hidden bones should arnt selected armature and posemode
Campbell Barton [Mon, 28 May 2007 04:50:30 +0000 (04:50 +0000)]
Made it that hidden bones should arnt selected armature and posemode

13 years agoadding object.matrixParentInverse
Campbell Barton [Mon, 28 May 2007 03:09:46 +0000 (03:09 +0000)]
adding object.matrixParentInverse

13 years agomore memory leak fixes, though only a few are likely to happen
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

13 years ago=== Patch ===
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

13 years agodrawmesh.c - change from mal_CanDo that makes lighting work the same as in blender...
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

13 years agoKey.c/h - Removed unneeded functions. and ipo in struct wasnt being used.
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.

13 years agoMore memory leaks fixed - in IDProp, Bone.head, tail, matrix, ob.DupObjects (my fault...
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.

13 years agoFix segfault in PyBonesDict_FromPyArmature() caused by uninitialized memory.
Ken Hughes [Fri, 25 May 2007 20:54:48 +0000 (20:54 +0000)]
Fix segfault in PyBonesDict_FromPyArmature() caused by uninitialized memory.

13 years ago* playback of image sequence now also for OpenEXR images (but not multilayer).
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).

13 years ago* fix for #6714
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).

13 years agoMany long standing memory leaks fixed in the BPY api.
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)

13 years agoBugfix #6735:
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.

13 years ago'Hack' to fix bug #6718:
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.

13 years agoFixed following issues:
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

13 years agoPython API
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.

13 years ago=== Bugfix ===
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.

13 years agoBugfix #6739
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.

13 years ago== Action Editor ==
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...)

13 years ago== OOPS Editor ==
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.

13 years ago* Applying [ #6730 ] Fixing in-Blender displaying of GE bitmap text by Mal Duffin...
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)

13 years ago* svn+ssh test
Nathan Letwory [Tue, 22 May 2007 22:20:35 +0000 (22:20 +0000)]
* svn+ssh test

13 years agoBugfix for python Image.save()
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.

13 years ago(no commit message)
Ken Hughes [Tue, 22 May 2007 17:41:32 +0000 (17:41 +0000)]

13 years agooption to limit the size of textures loaded into GL memory, usefull when a scene...
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.

13 years ago* remove very confusing comments. We will *not* 'fase into' MTC_*.
Nathan Letwory [Tue, 22 May 2007 10:58:30 +0000 (10:58 +0000)]
* remove very confusing comments. We will *not* 'fase into' MTC_*.

13 years ago=ID Properties=
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 :/

13 years agoadding python icon on torus in toolbox
Joilnen Leite [Tue, 22 May 2007 03:13:01 +0000 (03:13 +0000)]
adding python icon on torus in toolbox

13 years ago=== Bugfix ===
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.)

13 years ago=== Bugfix ===
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).

13 years ago=== Bugfix ===
Martin Poirier [Mon, 21 May 2007 18:45:28 +0000 (18:45 +0000)]
=== Bugfix ===

coverity bugfix: Dead Code

13 years agoold typo in comment
Martin Poirier [Mon, 21 May 2007 18:42:47 +0000 (18:42 +0000)]
old typo in comment

13 years ago=== Bugfix ===
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.

13 years agorenaming to match JMS's names
Campbell Barton [Mon, 21 May 2007 16:01:49 +0000 (16:01 +0000)]
renaming to match JMS's names

13 years agoupdated rvk1_torvk2 from JMS and added GPL headers
Campbell Barton [Mon, 21 May 2007 15:26:50 +0000 (15:26 +0000)]
updated rvk1_torvk2 from JMS and added GPL headers

13 years ago=IDProperty Script GPL Update=
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. :)

13 years agoclosing bug #6680 - This feature didnt work as advertised.
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.

13 years agoBugfix: SSS did not work with panorama render.
Brecht Van Lommel [Sun, 20 May 2007 19:01:34 +0000 (19:01 +0000)]
Bugfix: SSS did not work with panorama render.

13 years agoadding GPL headers
Campbell Barton [Sun, 20 May 2007 17:30:30 +0000 (17:30 +0000)]
adding GPL headers

13 years agoFix provided by Mal:
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

13 years agoremoving test commit comment...
Alfredo de Greef [Sun, 20 May 2007 15:52:29 +0000 (15:52 +0000)]
removing test commit comment...

13 years agoJust testing svn...
Alfredo de Greef [Sun, 20 May 2007 15:47:27 +0000 (15:47 +0000)]
Just testing svn...

13 years agoI added a duplicate script, not realizing "Python Reference" was refering to "Blender...
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.

13 years agoown bad error. calling scene.timeline would crash blender.
Campbell Barton [Sun, 20 May 2007 09:02:16 +0000 (09:02 +0000)]
own bad error. calling scene.timeline would crash blender.

13 years agoBlenders installs where the scripts dir was not writable could not load the console...
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.

13 years agopost release update of the scons build system for os x powerpc
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

13 years ago(no commit message)
Ken Hughes [Sat, 19 May 2007 16:13:20 +0000 (16:13 +0000)]

13 years agoDisable copying plugins, et al, to the CMake bin directory -- the
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.

13 years agoFixed a few typos in the documentation for Draw module of Python API.
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.

13 years agoPlumifero's wishlist:
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."

13 years agoAdded highlighting of non-existant names and autocomplete for
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.

13 years agoDisable SSS better for preview rendering, so it does not slow down
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.

13 years ago== Constraints Code ==
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.

13 years agoAdded Menu entries for Object Mode Show/Hide hotkeys
Matt Ebb [Thu, 17 May 2007 01:18:12 +0000 (01:18 +0000)]
Added Menu entries for Object Mode Show/Hide hotkeys

13 years agoThis commit sets Python version to 2.5 for Windows/Cygwin/GCC builds.
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.

13 years ago== Action Editor ==
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.

13 years ago'Copy Images' option for the .obj exporter would fail.
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.

13 years agoFixed editmode post-modifier normal calculation for the case where there are
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.

13 years agoFixed the "Enable modifier during editmode" button for the case when there are
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.

13 years agoPython bugfix reported by reD_Fox1
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.

13 years agoTest-commit/Bugfix #6698:
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.

13 years agoTest commit: Changes to CMake for Python 2.5 under windows
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.

13 years ago=== SCons ===
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!)

13 years agoSecond commit, now it should not bother me with passwords, according
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... :)

13 years agoTesting commit to see how it goes...
Ton Roosendaal [Mon, 14 May 2007 19:50:33 +0000 (19:50 +0000)]
Testing commit to see how it goes...

13 years ago* handle move CVS->SVN, skip .svn administrative directories
Nathan Letwory [Sat, 12 May 2007 14:11:27 +0000 (14:11 +0000)]
* handle move CVS->SVN, skip .svn administrative directories

13 years agoShowstoppper... mballs didn't get remade correct after render... it was v2.44
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).

13 years agoPart 2 of release 2.44 commit
Ton Roosendaal [Thu, 10 May 2007 09:54:05 +0000 (09:54 +0000)]
Part 2 of release 2.44 commit

13 years agoPart one of 2.44 release commit.
Ton Roosendaal [Thu, 10 May 2007 09:52:44 +0000 (09:52 +0000)]
Part one of 2.44 release commit.

13 years agoBugfix #6674:
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. ;-)

13 years agoFixed the hotkey of "Hide Selected" found in the menu activated by space.
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.

13 years agoBug reported on irc:
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.

13 years agobugfix #6672
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.

13 years agoFix preview rendering for SSS to not show preprocessing pass that
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 ..)

13 years agoanother coverity issue.
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

13 years agoAnother small cleanup of dead code thanks to coverity.
Kent Mein [Wed, 9 May 2007 14:57:26 +0000 (14:57 +0000)]
Another small cleanup of dead code thanks to coverity.

Kent

13 years agoBugfix #6663 yesterday, error: forgot to put back in if() for freeing data
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

13 years agoIn very rare cases, an offset-bone could not exist, whilst the action
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.

13 years agohad debugging test enabled.
Campbell Barton [Wed, 9 May 2007 07:03:05 +0000 (07:03 +0000)]
had debugging test enabled.

13 years agoBugfix [ #6593 ] Texture panel does not appear as soon as expected
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.

13 years agoBugfix #6663
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.

13 years agoanother little coverity fix.
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

13 years agoFirst fix from coverity, removing one line of dead code.
Kent Mein [Tue, 8 May 2007 16:00:13 +0000 (16:00 +0000)]
First fix from coverity, removing one line of dead code.
The if statement above this line makes it so this line will never be
true, so its not needed.

Kent

13 years agoBugfix #6658
Ton Roosendaal [Tue, 8 May 2007 10:26:55 +0000 (10:26 +0000)]
Bugfix #6658

Node UI for Image sequences also allows negative offset value, so you can
have first image be 0000 too (3dsmax)

13 years agoSSS fixes:
Brecht Van Lommel [Tue, 8 May 2007 10:15:51 +0000 (10:15 +0000)]
SSS fixes:
- Radius R, G, B sliders had too small number increase on clicking.
- Preview render now renders with higher SSS error setting to speed it up a
  bit.
- bug #6664: 3d preview render had artifacts. re->viewdx/dy wasn't set then,
  which is needed to estimate the area of each point. Have set this now, not
  in the nicest way, there is some bit duplicated code, but I don't want to
  refactor existing code with the chance of breaking it at this point.
- bug #6665: grid like artifacts with parts rendering. The two extra pixels
  around parts used for filtering were used as well, leading to double points.

13 years agoMade it so blenderplayer is stripped if it exists as well as just blender.
Kent Mein [Mon, 7 May 2007 21:11:21 +0000 (21:11 +0000)]
Made it so blenderplayer is stripped if it exists as well as just blender.
(I skipped it on OSX not sure where blenderplayer is in that
instance, someone on the platform should be able to figure it out though.)

Kent