blender.git
13 years agoCommit patch #8799: Realtime SetParent function in the BGE
Benoit Bolsee [Sun, 6 Apr 2008 18:30:52 +0000 (18:30 +0000)]
Commit patch #8799: Realtime SetParent function in the BGE

This patch consists in new KX_GameObject::SetParent() and KX_GameObject::RemoveParent() functions to create and destroy parent relation during game. These functions are accessible through python and through a new actuator KX_ParentActuator. Function documentation in PyDoc.
The object keeps its orientation, position and scale when it is parented but will further rotate, move and scale with its parent from that point on. When the parent relation is broken, the object keeps the orientation, position and scale it had at that time.
The function has no effect if any of the X/Y/Z scale of the object or its new parent are below Epsilon.

13 years agoadded a help link to wiki docs for curve2tree, fixed some bugs in flt_toolbar
Campbell Barton [Sun, 6 Apr 2008 17:11:14 +0000 (17:11 +0000)]
added a help link to wiki docs for curve2tree, fixed some bugs in flt_toolbar

13 years agofix compiler warnings.
Stephen Swaney [Sun, 6 Apr 2008 13:44:50 +0000 (13:44 +0000)]
fix compiler warnings.

I'm not sure about the intent for this one:

warning: too many arguments for format:
 sprintf(md->name, "FluidParticleSystem", BLI_countlist(&ob->particlesystem));

Something for Janne ?

13 years agoPatch #8740: enable negative axis radar sensor
Benoit Bolsee [Sat, 5 Apr 2008 22:08:15 +0000 (22:08 +0000)]
Patch #8740: enable negative axis radar sensor

13 years agoPython API - read access to Track and Up axis attributes for Object.
Stephen Swaney [Sat, 5 Apr 2008 21:33:06 +0000 (21:33 +0000)]
Python API - read access to Track and Up axis attributes for Object.
Part of Patch 8557.  Contributed by Cedric Paille.  Thanks!

Still waiting for API doc for new attributes.  Finger is poised
over Revert button...

13 years agobug fix soft body can resume with point cache
Jens Ole Wund [Sat, 5 Apr 2008 21:29:17 +0000 (21:29 +0000)]
bug fix soft body can resume with point cache
sneak in .. springs preload

13 years agofix compiler warning: comparison between signed and unsigned
Stephen Swaney [Sat, 5 Apr 2008 14:49:41 +0000 (14:49 +0000)]
fix compiler warning: comparison between signed and unsigned

13 years agoCommit patch #2439: Mesh replacement in BGE will react properly to armature deform
Benoit Bolsee [Sat, 5 Apr 2008 13:33:08 +0000 (13:33 +0000)]
Commit patch #2439: Mesh replacement in BGE will react properly to armature deform

Changing the mesh of an object that has a deform controller (armature) is now properly handled. The new mesh must have vertex groups matching the armature bones. In simple terms, the new mesh must deform correctly when you assign it to the object in Blender and you test the action. It will deform the same when you replace the object mesh during the game.

13 years agofix for wrong rotation between branch joins
Campbell Barton [Sat, 5 Apr 2008 10:55:18 +0000 (10:55 +0000)]
fix for wrong rotation between branch joins

13 years agoPyAPI - setting a buttons string value crashed. suspect this is a 64bit problem since...
Campbell Barton [Fri, 4 Apr 2008 23:12:20 +0000 (23:12 +0000)]
PyAPI - setting a buttons string value crashed. suspect this is a 64bit problem since replacing the string length of int, with Py_ssize_t or long prevented the crash. worked around the problem by removing the PyString_AsStringAndSize command.

wizard_curve2tree - removing id properties didnt work. exit button used a callback it didnt need to.

13 years agoNo need for unions in transform code.
Martin Poirier [Fri, 4 Apr 2008 22:21:24 +0000 (22:21 +0000)]
No need for unions in transform code.

Unneeded size optimisation.

There's much better way to tackle this if it really is a problem.

13 years agoBGE bug [#4839] fixed: joystick keeps working after an overlay scene is removed
Benoit Bolsee [Fri, 4 Apr 2008 20:39:31 +0000 (20:39 +0000)]
BGE bug [#4839] fixed: joystick keeps working after an overlay scene is removed

13 years agofix own bug with scripts drawing, could crash when a script failed
Campbell Barton [Fri, 4 Apr 2008 16:32:13 +0000 (16:32 +0000)]
fix own bug with scripts drawing, could crash when a script failed

13 years agoselecting a new scripts dir didnt rebuild the menu's
Campbell Barton [Fri, 4 Apr 2008 16:11:27 +0000 (16:11 +0000)]
selecting a new scripts dir didnt rebuild the menu's

13 years agowire was being drawn for solid curve objects in editmode when it should not have...
Campbell Barton [Fri, 4 Apr 2008 15:57:13 +0000 (15:57 +0000)]
wire was being drawn for solid curve objects in editmode when it should not have been.

13 years agomoved some duplicate lines into their own function
Campbell Barton [Fri, 4 Apr 2008 15:22:19 +0000 (15:22 +0000)]
moved some duplicate lines into their own function

13 years agoRestore bezier handles to their original flag if the transform is canceled, for IPO...
Campbell Barton [Fri, 4 Apr 2008 15:06:50 +0000 (15:06 +0000)]
Restore bezier handles to their original flag if the transform is canceled, for IPO's and curve edit mode.
Also retopo was running of curve transform was canceled.

13 years agoFix for bug #8870: crash converting curve to mesh. The object was being
Brecht Van Lommel [Fri, 4 Apr 2008 12:33:01 +0000 (12:33 +0000)]
Fix for bug #8870: crash converting curve to mesh. The object was being
used for curve deform, but after conversion wasn't a curve anymore, and
there was no check for this.

13 years agoBugfix: crash with strand surface AAO and layer ipo's.
Brecht Van Lommel [Thu, 3 Apr 2008 00:40:53 +0000 (00:40 +0000)]
Bugfix: crash with strand surface AAO and layer ipo's.

13 years agoFix for bug: [#8610] Hair Particle 'cut' edit mode not respecting backface culling...
Janne Karhu [Wed, 2 Apr 2008 23:59:25 +0000 (23:59 +0000)]
Fix for bug: [#8610] Hair Particle 'cut' edit mode not respecting backface culling / z-depth
-Cut-brush didn't use depth testing at all, now it does, but unfortunately this changes the behavior of the brush so that cutting is not perfect for hairs that are partly visible from behind an edge of the emitter (this change effects the brush only when z-buf clipping is used of course)

13 years agoFix for bug: [#8576] Heir always in the back
Janne Karhu [Wed, 2 Apr 2008 23:12:05 +0000 (23:12 +0000)]
Fix for bug: [#8576] Heir always in the back

13 years agoFix to make grass render the same on solaris as linux, by doing
Brecht Van Lommel [Wed, 2 Apr 2008 22:18:32 +0000 (22:18 +0000)]
Fix to make grass render the same on solaris as linux, by doing
pointer comparisons in qsort. This works for glibc according to
the documentation, and appears to work on solaris too.

13 years agoFix for bug: [#8117] Particles with fluid broken
Janne Karhu [Wed, 2 Apr 2008 17:48:46 +0000 (17:48 +0000)]
Fix for bug: [#8117] Particles with fluid broken
-Handling of fluid particles was not coded at all
-Now things should work properly, but as fluid particles are not very familiar to me I'd appreciate some thorough testing

13 years agoremoved printf
Campbell Barton [Wed, 2 Apr 2008 16:22:43 +0000 (16:22 +0000)]
removed printf

13 years agoSculpts calc_area_normal() could result in a zero length vector if all faces were...
Campbell Barton [Wed, 2 Apr 2008 16:19:12 +0000 (16:19 +0000)]
Sculpts calc_area_normal() could result in a zero length vector if all faces were pointing away from the view.
deal with this by making 2 average vectors, one for front pointing faces, and another for back pointing faces,
also removed an unneeded acos().

13 years agoThis commit reverts the #include <mesa/glu.h>
Kent Mein [Wed, 2 Apr 2008 15:03:03 +0000 (15:03 +0000)]
This commit reverts the #include <mesa/glu.h>
stuff used for peach to the standard <GL/glu.h>
the mesa stuff was needed for the machines for peach but its
not the stanard location of the headers, now that its not
needed were switching it back.

Kent

13 years agodpx saving would fail if there was no float buffer, which is a problem when rendering...
Campbell Barton [Wed, 2 Apr 2008 12:56:23 +0000 (12:56 +0000)]
dpx saving would fail if there was no float buffer, which is a problem when rendering from the sequencer because a float buffer can be generated for some frames but not others depending on their contents.

13 years agoSmall last-minute peach feature: loading an image into the image node
Brecht Van Lommel [Wed, 2 Apr 2008 12:03:31 +0000 (12:03 +0000)]
Small last-minute peach feature: loading an image into the image node
now automatically detects if a sequence of images is selected, and sets
the frames and image type to sequence.

13 years agoWhitespace commit for editarmature.c while I try to find the cause of some bugs here.
Joshua Leung [Wed, 2 Apr 2008 04:31:41 +0000 (04:31 +0000)]
Whitespace commit for editarmature.c while I try to find the cause of some bugs here.

13 years agoBUGFIX8847 Multires didn't free some memory.fixed
Hamed Zaghaghi [Wed, 2 Apr 2008 03:17:52 +0000 (03:17 +0000)]
BUGFIX8847 Multires didn't free some memory.fixed

13 years agoFix for bug #7875: node editor creates links to nowhere, fixes at
Brecht Van Lommel [Tue, 1 Apr 2008 22:28:00 +0000 (22:28 +0000)]
Fix for bug #7875: node editor creates links to nowhere, fixes at
least one instance where it happens, when dragging a link onto an
already taken socket, and the existing link being moved to a hidden
socket. Couldn't find other cases in testing, so assuming it's
fixed unless another case pops up.

13 years agoFix for bug #7368: flipping issue with dual quaternions and scaled bones.
Brecht Van Lommel [Tue, 1 Apr 2008 21:16:24 +0000 (21:16 +0000)]
Fix for bug #7368: flipping issue with dual quaternions and scaled bones.

13 years agoBUGFIX 8824: RGB Curves now work correctly with "use clipping" option
Hamed Zaghaghi [Tue, 1 Apr 2008 21:09:50 +0000 (21:09 +0000)]
BUGFIX 8824: RGB Curves now work correctly with "use clipping" option
on  with maximum values greater than 1.

13 years agoFix for #8806: strand shadow bug, only showed up on windows.
Brecht Van Lommel [Tue, 1 Apr 2008 21:07:32 +0000 (21:07 +0000)]
Fix for #8806: strand shadow bug, only showed up on windows.

13 years agoFix BGE bug: BGE will crash if objects with display debug property is deleted (bad...
Benoit Bolsee [Tue, 1 Apr 2008 20:46:20 +0000 (20:46 +0000)]
Fix BGE bug: BGE will crash if objects with display debug property is deleted (bad practice anyway). The actual deletion is now postponed until end of scene

13 years agoadded a sloppy option for getting the active face, which returns the last selected...
Campbell Barton [Tue, 1 Apr 2008 13:35:52 +0000 (13:35 +0000)]
added a sloppy option for getting the active face, which returns the last selected if none is active, made the uv calculation aspect correction use the active faces image rather then the last used image viewports.

13 years agofunction for getting object texspace settings, without dealing with curve/mball/mesh...
Campbell Barton [Tue, 1 Apr 2008 11:14:34 +0000 (11:14 +0000)]
function for getting object texspace settings, without dealing with curve/mball/mesh separately.

13 years agoBugfix: the defocus node "no zbuffer" settings was automatically set
Brecht Van Lommel [Tue, 1 Apr 2008 11:08:48 +0000 (11:08 +0000)]
Bugfix: the defocus node "no zbuffer" settings was automatically set
if there was no zbuffer input. However this means a user settings can
be permanently changed without a user knowing. Now it just runs as if
this option is set if there is no zbuffer, but doesn't change the
setting.

13 years agoFix for bug #8629: python object.boundingBox was not in worldspace
Brecht Van Lommel [Tue, 1 Apr 2008 10:15:39 +0000 (10:15 +0000)]
Fix for bug #8629: python object.boundingBox was not in worldspace
anymore for meshes due to a bugfix. The python code assumed ob->bb
was in worldspace while it isn't, also meant metaball bounding boxes
were wrong.

13 years agoadd a button for object color access, previously could only be accessed via Ipos
Campbell Barton [Tue, 1 Apr 2008 10:10:37 +0000 (10:10 +0000)]
add a button for object color access, previously could only be accessed via Ipos

13 years agofix for [bf-blender-Bug Tracker][8833] View selected in UV editor
Campbell Barton [Tue, 1 Apr 2008 10:06:06 +0000 (10:06 +0000)]
fix for [bf-blender-Bug Tracker][8833] View selected in UV editor

13 years agoFix for bug: [#8810] Sticky button in particle effector menu creates unexpected effect
Janne Karhu [Tue, 1 Apr 2008 00:40:28 +0000 (00:40 +0000)]
Fix for bug: [#8810] Sticky button in particle effector menu creates unexpected effect
-Particle dietime was calculated wrong when a collision killed particles before their natural death
-Collision code still had some issues with object vs. global space

13 years agoFix for bug: [#8816] File saved with Explode modifier crashes blender
Janne Karhu [Mon, 31 Mar 2008 22:11:10 +0000 (22:11 +0000)]
Fix for bug: [#8816] File saved with Explode modifier crashes blender
-Explode modifier didn't check for empty psmd->dm at file loading

13 years agoFix for bug: [#8817] Particleradius doesn't update until changing the amount of particles
Janne Karhu [Mon, 31 Mar 2008 21:51:46 +0000 (21:51 +0000)]
Fix for bug: [#8817] Particleradius doesn't update until changing the amount of particles
-Reactor particles didn't initialize their birth times etc. properly when cache was cleared

13 years agoFix for bug: [#8818] Particle reflecting strange from a simple plane
Janne Karhu [Mon, 31 Mar 2008 20:54:00 +0000 (20:54 +0000)]
Fix for bug: [#8818] Particle reflecting strange from a simple plane

13 years agoBugfix: world exposure and range settings were applied twice to SSS materials.
Brecht Van Lommel [Mon, 31 Mar 2008 20:02:27 +0000 (20:02 +0000)]
Bugfix: world exposure and range settings were applied twice to SSS materials.

13 years agoFix for bug: [#8302] Particle atributes (Materials) wrong behavior
Janne Karhu [Mon, 31 Mar 2008 19:57:40 +0000 (19:57 +0000)]
Fix for bug: [#8302] Particle atributes (Materials) wrong behavior
-Particle texture calculations weren't using the mtex->def_var properly
-Texture buttons didn't set proper update flags for hair

13 years agoFix for bug: [#8782] particle mode issues
Janne Karhu [Mon, 31 Mar 2008 19:03:18 +0000 (19:03 +0000)]
Fix for bug: [#8782] particle mode issues

13 years agoI let a sqrtf in by accident when commiting this patch.
Kent Mein [Mon, 31 Mar 2008 17:01:08 +0000 (17:01 +0000)]
I let a sqrtf in by accident when commiting this patch.
converted to sqrt for solaris and other platforms.

Kent

13 years agofix for odd error with image loading broke normal file loading
Campbell Barton [Mon, 31 Mar 2008 14:57:09 +0000 (14:57 +0000)]
fix for odd error with image loading broke normal file loading

13 years agoTimeLine PyType was not getting initialized, causing auto-completion in the interacti...
Campbell Barton [Mon, 31 Mar 2008 14:29:40 +0000 (14:29 +0000)]
TimeLine PyType was not getting initialized, causing auto-completion in the interactive console to crash.

13 years agofix for [#8795] Unable to load an image into Image Texture Type
Campbell Barton [Mon, 31 Mar 2008 08:30:10 +0000 (08:30 +0000)]
fix for [#8795] Unable to load an image into Image Texture Type

13 years ago== Armature Tools - Separate (not yet functional) ==
Joshua Leung [Mon, 31 Mar 2008 03:40:47 +0000 (03:40 +0000)]
== Armature Tools - Separate (not yet functional) ==

Initial commit of Separate tool for Armatures. Currently, the functionality is hidden behind a temporary patch, as there are still issues to be worked out (crashes under certain conditions and a re-linking issue). It may remain like this for the release if I can't get it to work correctly.

Note:
- Hotkey for separate is Ctrl-Shift-P (it's a bit clumsy, and isn't consistent with P for separate for meshes, but Select Parent(s) is better as P)

13 years agoFix for change in default behaviour of adding objects: (commit oct 2007)
Ton Roosendaal [Sun, 30 Mar 2008 18:08:55 +0000 (18:08 +0000)]
Fix for change in default behaviour of adding objects: (commit oct 2007)

- The new default remains to add not aligned, not in editmode.
  But, this is only for new users (in .B.blend default)
- It's nicer  we don't change this for everyone automatic.

  Means: people who like the new options have to set the buttons in user
  menu and save .B.blend.

13 years agoFix for crash with UV unwrap without an image window open. It really
Brecht Van Lommel [Sun, 30 Mar 2008 17:54:06 +0000 (17:54 +0000)]
Fix for crash with UV unwrap without an image window open. It really
shouldn't be using the image window but for now this fixes the crash.

13 years agoThe next testing build, the 2.45-16, nicked "Gamera". :)
Ton Roosendaal [Sun, 30 Mar 2008 17:29:32 +0000 (17:29 +0000)]
The next testing build, the 2.45-16, nicked "Gamera". :)

(Also: removed the ugly arbitrary 2 x rgb color hack that tried to make
shadeless color "useful" in opengl solid mode. Without overflowing
color it at least now shows the color you created.)

13 years ago== bugfix ==
Andrea Weikert [Sun, 30 Mar 2008 16:18:01 +0000 (16:18 +0000)]
== bugfix ==
fix for [#6950] Blender crashes when .blog file top line is 160 characters or more
- made sure BLI_convertstringcode doesn't return more than 240 chars
- went through all callers and fixed places where string passed to BLI_convertstringcode was too short
- TODO: look into increasing sample->name and sound->name too, I prevented crashes, but filename might get shortened.

13 years ago== Sequencer ==
Peter Schlaile [Sun, 30 Mar 2008 14:23:15 +0000 (14:23 +0000)]
== Sequencer ==

Added IPO-support to color strip.

13 years ago== Sequencer ==
Peter Schlaile [Sun, 30 Mar 2008 09:06:56 +0000 (09:06 +0000)]
== Sequencer ==

This fixes: [#8792] unable to de-assign ipo's from sequence-strips

13 years ago[#8796] 2.46RC1 -- Incorrect Tool Tip on Ray Transp Gloss Button
Martin Poirier [Sun, 30 Mar 2008 01:53:05 +0000 (01:53 +0000)]
[#8796] 2.46RC1 -- Incorrect Tool Tip on Ray Transp Gloss Button

13 years ago[#7289] Orbit around selected in edit mode goes crazy with no verts selected
Martin Poirier [Sun, 30 Mar 2008 01:47:06 +0000 (01:47 +0000)]
[#7289] Orbit around selected in edit mode goes crazy with no verts selected
[#8784] orbiting around selection bug + a few kind of a must features (partial fix)

As suggested by Ton, keep last center and use that when nothing selected.

I don't really like it though as it wouldn't work ok when changing scene  or when using a different 3D view and is somewhat non trivial to explain (it's not the last selection, it's the last used orbiting center).

13 years agoown typo in py api
Campbell Barton [Sat, 29 Mar 2008 15:20:41 +0000 (15:20 +0000)]
own typo in py api

13 years agowith displacement baking, white should be high
Campbell Barton [Sat, 29 Mar 2008 15:16:33 +0000 (15:16 +0000)]
with displacement baking, white should be high

13 years agosome fixes for python baking function
Campbell Barton [Sat, 29 Mar 2008 14:50:05 +0000 (14:50 +0000)]
some fixes for python baking function
needed to add a small value to the baking distance for it to include faces of that distance (maybe should make this happen from the user interface too)

13 years agoMinor tweaks to action-groups code, while trying to track down some bug for broken.
Joshua Leung [Sat, 29 Mar 2008 10:23:51 +0000 (10:23 +0000)]
Minor tweaks to action-groups code, while trying to track down some bug for broken.

13 years ago-> FLT I/O: UI now undo safe
Geoffrey Bantle [Fri, 28 Mar 2008 23:06:00 +0000 (23:06 +0000)]
-> FLT I/O: UI now undo safe

Both the FLT importer and exporter now store and retrieve
their settings from the blender python registry making
them safe for use with global undo.

13 years ago-> FLT I/O: LOD hiding on import
Geoffrey Bantle [Fri, 28 Mar 2008 21:04:27 +0000 (21:04 +0000)]
-> FLT I/O: LOD hiding on import

LODS were not getting hidden correctly on import.
Fixed now.

13 years ago-> FLT I/O: Hierarchy order fixed on export
Geoffrey Bantle [Fri, 28 Mar 2008 19:45:07 +0000 (19:45 +0000)]
-> FLT I/O: Hierarchy order fixed on export

Hierarchy was getting reversed on import/export cycle
for FLT files. Fixed now.

13 years agoTools
Ken Hughes [Fri, 28 Mar 2008 17:03:34 +0000 (17:03 +0000)]
Tools
-----
Bugfix #6961: in certain circumstances, array modifier would use deleted
copies of merged vertices, resulting in memory corruption and crashes.

13 years agoThis is patch:
Kent Mein [Fri, 28 Mar 2008 14:55:49 +0000 (14:55 +0000)]
This is patch:
[#8766] Scons build does not take into account WITH_BF_OPENEXR for
source/creator
Submitted By: Stephane SOPPERA

Fixes -F EXR on the commandline...

Kent

13 years agoThis is patches:
Kent Mein [Fri, 28 Mar 2008 14:44:31 +0000 (14:44 +0000)]
This is patches:

[#8578] imbuf for DDS textures: minor bugs fixed
(syncing with upstream nvidia texture tools)
[#8727] imbuf for DDS textures: fix for DXT5 alpha channel corruption

Submitted by our DDS person, Amorilia

Kent

13 years ago-> Double Sided Faces fix for FLT import
Geoffrey Bantle [Fri, 28 Mar 2008 00:30:46 +0000 (00:30 +0000)]
-> Double Sided Faces fix for FLT import

Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.

13 years ago-> Double Sided Faces fix for FLT import
Geoffrey Bantle [Fri, 28 Mar 2008 00:26:48 +0000 (00:26 +0000)]
-> Double Sided Faces fix for FLT import

Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.

13 years ago-> Extension Node attribute support for FLT I/O
Geoffrey Bantle [Fri, 28 Mar 2008 00:08:41 +0000 (00:08 +0000)]
-> Extension Node attribute support for FLT I/O

Extension node attributes are now read and stored as ID
props for the following Node types:

-Object Nodes
-Group Nodes
-LOD Nodes
-DOF Nodes
-Inline Light Point Nodes

The extension data is written back out on export.

Note that this commit only adds support for attribute extensions.
Completely new node types via the extension record are still
unsupported.

13 years agobaking normals could crash in rare cases because the intersection data wasn't copied...
Campbell Barton [Thu, 27 Mar 2008 16:28:21 +0000 (16:28 +0000)]
baking normals could crash in rare cases because the intersection data wasn't copied when the lambda was bigger then the previous or initialized.

python baking script had a simple error.

13 years agomade editmode only force smooth shading when vcols are present (as joe suggested)
Campbell Barton [Thu, 27 Mar 2008 11:52:58 +0000 (11:52 +0000)]
made editmode only force smooth shading when vcols are present (as joe suggested)
pythons api's image.unpack() was broken

13 years agoFix for bug #8769: SSS materials were sometimes not rendered with nodes
Brecht Van Lommel [Thu, 27 Mar 2008 11:44:36 +0000 (11:44 +0000)]
Fix for bug #8769: SSS materials were sometimes not rendered with nodes
due to recent bugfix.

13 years agoFix for bug #8771: hide deselected in particle editmode didn't work
Brecht Van Lommel [Thu, 27 Mar 2008 11:10:18 +0000 (11:10 +0000)]
Fix for bug #8771: hide deselected in particle editmode didn't work
correct. Also made it not do a depth test when editing in wire mode,
was using outdated depth buffer even.

13 years agoFixed compiler warnings. (unused vars)
Joshua Leung [Thu, 27 Mar 2008 05:12:14 +0000 (05:12 +0000)]
Fixed compiler warnings. (unused vars)

13 years ago== Sculpt ==
Nicholas Bishop [Thu, 27 Mar 2008 01:11:48 +0000 (01:11 +0000)]
== Sculpt ==

Removed Painting Mask button from view3d header when in sculpt mode.

13 years agoFix for bug #8595: texture mipmaps with gauss filter didn't work correct,
Brecht Van Lommel [Wed, 26 Mar 2008 22:14:40 +0000 (22:14 +0000)]
Fix for bug #8595: texture mipmaps with gauss filter didn't work correct,
gave black borders.

13 years ago* add stub for GLUByte stipple_quarttone[];
Nathan Letwory [Wed, 26 Mar 2008 21:31:33 +0000 (21:31 +0000)]
* add stub for GLUByte stipple_quarttone[];

13 years agoFix for bug #8746: the fake user button for datablocks was not a toggle
Brecht Van Lommel [Wed, 26 Mar 2008 20:17:50 +0000 (20:17 +0000)]
Fix for bug #8746: the fake user button for datablocks was not a toggle
button, while it should be.

13 years agomake solid faces draw vertex colors in editmode (they used to use only one of the...
Campbell Barton [Wed, 26 Mar 2008 20:17:20 +0000 (20:17 +0000)]
make solid faces draw vertex colors in editmode (they used to use only one of the faces colors per face)

13 years agoresetting defaults didnt set the some colors, added face dot size and color as uv...
Campbell Barton [Wed, 26 Mar 2008 19:38:59 +0000 (19:38 +0000)]
resetting defaults didnt set the some colors, added face dot size and color as uv/image theme options

13 years agoFix for bug #8609: radius setting for hair child particles not symmetrical.
Brecht Van Lommel [Wed, 26 Mar 2008 18:34:24 +0000 (18:34 +0000)]
Fix for bug #8609: radius setting for hair child particles not symmetrical.
Bug might have actually caused more issues, there were some assumptions
that ParticleCacheKey and ParticleKey structs had members in the same order,
but the rotation was in a different place.

13 years agoFix for bug #8407: merging vertices at first/last did not
Brecht Van Lommel [Wed, 26 Mar 2008 17:56:14 +0000 (17:56 +0000)]
Fix for bug #8407: merging vertices at first/last did not
preserve UVs correct.

13 years agoPython API
Ken Hughes [Wed, 26 Mar 2008 17:29:20 +0000 (17:29 +0000)]
Python API
----------
Bugfix #8615: NMesh.update() did not check if faces had less than 3 vertices, so would create bogus faces.

Also discovered in the process that documentation and error message for Mesh.assignVertsToGroup() was wrong.

13 years agoFix for bug #8713: edge loop delete did an undo push too much.
Brecht Van Lommel [Wed, 26 Mar 2008 16:46:04 +0000 (16:46 +0000)]
Fix for bug #8713: edge loop delete did an undo push too much.

13 years ago-> Slight fix for Face Weld code in FLT importer
Geoffrey Bantle [Wed, 26 Mar 2008 16:45:18 +0000 (16:45 +0000)]
-> Slight fix for Face Weld code in FLT importer

Slight fix for welding of faces that only share one vertex

13 years agomade editmode face copy menu appier with when there is no active face (without option...
Campbell Barton [Wed, 26 Mar 2008 16:06:25 +0000 (16:06 +0000)]
made editmode face copy menu appier with when there is no active face (without options that required an active face)
active face drawing didnt always work since it used the last selected element for drawing.
moved stipple into glutil.c rather then using 128 bytes in the stack for each stipple draw.

13 years ago-> New face weld code for FLT importer
Geoffrey Bantle [Wed, 26 Mar 2008 15:59:56 +0000 (15:59 +0000)]
-> New face weld code for FLT importer

Replaced the use of remove doubles with some new custom 'face welding'
code that wil clean up meshes on import.This will not remove any faces
or do any edge collapse and so is a more suitable method of cleaning
up imported meshes. This same code could potentially be of use when
importing other formats as well (such as DXF...)

13 years agoFix for bug #8750: depremul in the image texture code should check
Brecht Van Lommel [Wed, 26 Mar 2008 15:25:56 +0000 (15:25 +0000)]
Fix for bug #8750: depremul in the image texture code should check
with an epsilon rather than 0.0f, could give random spots otherwise
with e.g. calcalpha + negalpha.

13 years agoFix for bug #8747: normal map tangents didn't work correct with
Brecht Van Lommel [Wed, 26 Mar 2008 14:58:34 +0000 (14:58 +0000)]
Fix for bug #8747: normal map tangents didn't work correct with
splitting of non-flat quads.

13 years agoUV Unwrap (lscm, project from view, cube etc) now default to correcting for the activ...
Campbell Barton [Wed, 26 Mar 2008 14:50:29 +0000 (14:50 +0000)]
UV Unwrap (lscm, project from view, cube etc) now default to correcting for the active images aspect ratio.
This is now default but can be disabled in the UV Calculation panel. At the moment its called "Image Aspect" but another name could be better.

13 years agofix for [#8732] Unwrap Project from View not matching View
Campbell Barton [Wed, 26 Mar 2008 11:56:41 +0000 (11:56 +0000)]
fix for [#8732] Unwrap Project from View not matching View
the active face could be unselected. now unwrapping with no UV layer will assign the current image to the selected faces.

13 years agoBugfix: selecting or muting an ipo curve in the action editor
Brecht Van Lommel [Wed, 26 Mar 2008 11:27:52 +0000 (11:27 +0000)]
Bugfix: selecting or muting an ipo curve in the action editor
would be undone on redraw with an ipo window open in editmode,
or with show keys enabled in the ipo window.

13 years agocheck for null data when using ffmpegs swscale (for corrupt/partially corrupt videos)
Campbell Barton [Tue, 25 Mar 2008 20:30:33 +0000 (20:30 +0000)]
check for null data when using ffmpegs swscale (for corrupt/partially corrupt videos)

13 years agolib error message was inconsistent when changing texture channels, enabled it for...
Campbell Barton [Tue, 25 Mar 2008 19:27:49 +0000 (19:27 +0000)]
lib error message was inconsistent when changing texture channels, enabled it for texture colorbands

13 years agoselecting similar edges (Shift+G in edge mode) didnt flush selection from edges to...
Campbell Barton [Tue, 25 Mar 2008 16:16:11 +0000 (16:16 +0000)]
selecting similar edges (Shift+G in edge mode) didnt flush selection from edges to faces, so you could have all edges of a face selected without the face being selected.