Commit Graph

7815 Commits

Author SHA1 Message Date
Robert Holcomb
55afa0a606 Fixed accidental commit from yesterday. 2007-02-07 18:47:48 +00:00
Robert Holcomb
3d167d443c Uncommit of previous working copy. 2007-02-07 18:26:21 +00:00
Robert Holcomb
9e83e0edd2 Fixed chroma key to use tanf instead of tan (float vs double). Fixed input/output checking to prevent running the node if nothing is connected. Drawnode.c in error. will fix in a second. 2007-02-07 18:24:51 +00:00
Ton Roosendaal
6c6a9f42b2 The Object restriction flag 'do not allow select' was only handled in the
end of the selection code. That gave bad errors, especially in solid
drawmode.

Instead, when an object is not selectable it is excluded from the opengl
selection code entirely now.
2007-02-07 11:25:56 +00:00
Brecht Van Lommel
cc93c03cbb Bugfix for reading DXF files, custom data layer wasn't always
added properly.
2007-02-07 10:56:44 +00:00
Ton Roosendaal
15750c82cd Upward compatibility fix:
Redundant variables for postprocess gamma, multiply etc were removed.
Unfortunately that makes new saved .blend files initialize these vars
to 0.0, so renders come out black entirely.

Lets keep them in for at least 1 release cycle. Just 16 bytes per
scene :)
2007-02-07 09:17:57 +00:00
Campbell Barton
b3e6a6a9c1 animation_trajectory - was printing deprecation warnings. cleaned up some of its code too.
Mesh - removing UV or Color layers didnt check if the active object was in vpaint of uv mode, removing the last layer could crash blender - now switch to object mode if its the last layer like the UI.
2007-02-07 07:43:10 +00:00
Robert Holcomb
00cdff156f When converting a VAL buffer to RGBA the alpha is also set to the value in the VAL buffer. This should be set to 1.0f as in the other conversions or it results in an unevenly transparent buffer. Corrected to result in an opaque buffer.
BKE_node.h commit is in error, but harmless (oops).
2007-02-07 03:40:59 +00:00
Joshua Leung
a10ed3b0de == Action Editor ==
Added a few checks here and there to prevent crashes related to
no action being active.

This includes patch 5933 by Diego Borghetti (Plumiferos TD).
2007-02-06 22:43:54 +00:00
Ton Roosendaal
7d3e392cbf Bugfix #5919
Baking error: dupligrouped objects were not included in database for
bake. That should be, it can be used as shadow casters or AO casters.
2007-02-06 15:35:06 +00:00
Campbell Barton
a185758581 added missing reference in the docs for the edgesplit modifier
Extended the add object tooltip to note that new objects cant be on a visible layer.
2007-02-06 07:11:44 +00:00
Alfredo de Greef
75b32a6f54 fixed bug #5921, artifacts when image input used instead of zbuffer. 2007-02-06 05:34:00 +00:00
Joshua Leung
efaa6990ea == Armature Buttons - ChildOf menu ==
This menu now respects armature-layers, so that it works better on
armatures with a lot of bones.
2007-02-06 03:38:32 +00:00
Tom Musgrove
b67a6ac5b7 = python bugfix=
flareseed and haloseed minimums were off by one, thanks Carsten for the fix
2007-02-06 00:20:33 +00:00
Joshua Leung
9217f12c76 Patch #5928 from Diego Borghetti (bdiego)
Blender crashed when selecting column-select options in Action Editor
if there was no action active at the time.
2007-02-05 23:29:10 +00:00
Martin Poirier
e5d96c2c22 === Transform ===
Align mode (rotation that only translates the target) didn't work for elements using quats (Pose). Fixed.
2007-02-05 18:02:57 +00:00
Martin Poirier
4754e37539 === Transform ===
Reverting Aligorith's fix for bug Bugfix #5833 (the fix was incorrect, see bug report for details).

That means the translation part when rotating "free" bones in pose mode is still broken.
2007-02-05 18:00:03 +00:00
Charlie Carley
abc2a4ca44 Left out the case where MTFace can be null. 2007-02-05 08:07:55 +00:00
Charlie Carley
2afea953e3 Bug fix for TF_BMFONT faces. Colors on the material were backwards when rendered. 2007-02-05 05:48:09 +00:00
Stephen Swaney
41911da258 Bugfix #5918 GE Crash when press Esc
Modifier.c had ref count problems from TypeDict being added twice
to module.

Congratulations due to Tom Musgrove (LetterRip) for chasing this down.
2007-02-05 05:09:15 +00:00
Joshua Leung
4d5bd6872b Bugfix #5833:
When rotating bones around the 3d-cursor in posemode with a rotated
armature, rotation was around strange points other than the cursor.

This bug has been around for quite a few releases now. Somehow, the
maths used to convert the world/global space locations to local locations
only worked on things in editmode, but not bones.
2007-02-05 01:28:14 +00:00
Nicholas Bishop
549289df27 == Sculpt Mode ==
Fixed bug #5917, shift-c doesn't work in the sculpt mode

* Added CKEY and SHIFT+CKEY to sculptmode's shortcuts (behavior is the same as for non-sculptmode.)
2007-02-04 22:17:51 +00:00
Peter Schlaile
b3d84255f3 == Sequencer ==
Bugfix: sound ipo calculation occasionally failed, leading to silenced
  strips. Now we do it just like the video strips directly before usage...
  Makes the code definitely more clean and even faster ;-)
2007-02-04 19:18:15 +00:00
Ton Roosendaal
4bd42ca280 Bugfix #5912
Bugfix #5912

Fix for Angmap and Spheremap (sky render).

This is a rewind of bugfix #4999 (sept 18). That bug appeared to be a
user error... the option "real" for sky had to be set.
2007-02-04 17:11:18 +00:00
Peter Schlaile
daa248ff0c == Sequencer ==
Bugfixes:
- Effect dependencies sometimes went wrong. seq3 was always calculated,
  even if the effect already told the upper layer, that there is an early
  out available...
- On render, only free _all_ buffers, if memory usage is above the memcache
  limit. This made my render times drop from 17 hours to only 4 hours on
  a 2 hour movie.

  Ton: I don't want to start an edit war at this point, but if you really
  need the old behaviour, just use a very low, non-zero memcache limit in the
  preferences. (In most cases, the default of 32 Mb _is_ very low ;-)
2007-02-04 09:18:15 +00:00
Nicholas Bishop
a1a7a65b46 == Retopo ==
Partial fix for bug #5766

* Moved the retopo call used during transforms to above the call to clip the transform (for the mirror modifier.) This stops retopo from moving a vertex across the axis.
2007-02-04 00:42:23 +00:00
Brecht Van Lommel
38d71bded6 Bugfix for a memory leak in the modifier stack. 2007-02-03 14:46:30 +00:00
Ton Roosendaal
a55c7cd99e Bugfix #5908
After conversion of Curve to Mesh, modifiers should be removed.
2007-02-03 13:17:05 +00:00
Joshua Leung
a30b9251a2 Cosmetic tweaks to the 'Armature' editing panel again. 2007-02-02 06:26:10 +00:00
Kent Mein
b966a7024c Bug fix for #5903
provied by paprmh.

Kent
2007-02-01 20:38:37 +00:00
Ken Hughes
ccf72a2e26 Tools
---------------
Bugfix #5898: buffer overrun by sprintf() in v3d_editvertex_buts() caused a
crash.  Changed to snprintf().
2007-02-01 20:25:24 +00:00
Kent Mein
785dab5d54 Move the screw button so it lines up with the clockwise button.
(now that clockwise only works for screw)

http://www.cs.umn.edu/~mein/blender/screw.jpg  if your wondering

Kent
2007-02-01 15:56:44 +00:00
Ton Roosendaal
5cda9df149 Bugfix #5897
Using multiple levels deep referenced groups (group in group) messed up the
add-group menu in toolbox
2007-02-01 14:14:07 +00:00
Ton Roosendaal
7e9f86bbf0 Bugfix #5894
Composite, Time Node did not clamp output between 0-1.
2007-02-01 10:04:10 +00:00
Ben Batt
8bc234cbff Bugfix for #5896 - Array constant offset not behaving as expected
This is not a bug, but rather a misunderstanding of the relationship between object scaling and the Array modifier's constant offset.

The Array modifier's constant offset is specified in local coordinates. In the supplied blend file, the object is scaled up in the x direction by 2.45, and the offset is a constant 2.5 in the x direction. Thus, the final world space offset is 2.45 * 2.5 = 6.125 units in the object's local x direction, as can be seen in the blend file.

I have updated the tooltips for the Array modifier to indicate that offsets are given in local coordinates. I will investigate providing a "Use World Coordinates" toggle button after release.
2007-02-01 03:34:09 +00:00
Charlie Carley
3947f9b885 1). Fix for cube maps in the player.
ImBuf pointer was being overridden causing the ibuf->rect to be zero.

2). Added vertex attributes for tangents in in vertex arrays.
This, probably needs the extensions enabled (glEnableVertexAttribArrayARB, glDisableVertexAttribArrayARB), but am a little
weary about enabling them right now.
2007-02-01 02:10:38 +00:00
Peter Schlaile
53150249e9 ==Sequencer==
Bugfix [ #5886 ] Crash when duplicate audiostream.
Just make duplicate of hddaudio more intelligent and do less ;-)
2007-02-01 00:59:53 +00:00
Robert Holcomb
5b94899df8 Forgot to typcheck the copied buffer in the seperate nodes. Now (not that it
makes sense to me) you can seperate in a value buffer in all the different color
spaces.
2007-02-01 00:42:59 +00:00
Robert Holcomb
2014462af0 seperate HSV, YUV, and YCC all converted colorspace on the original image
buffer if it was an RGBA type.  This caused buffer corruption in the original buffer
which would be colorspace converted again (for each render).  Corrected by duplicating
buffer.
2007-02-01 00:09:21 +00:00
Campbell Barton
26eef30c1e updated epy doc reference to 2.43, fix broken link. 2007-01-31 21:30:27 +00:00
Ton Roosendaal
c82574e04a Bugfix
Environment map type "load" which was not used for material, but on sky,
crashed when the envmap file could not be found.
2007-01-31 11:49:30 +00:00
Ben Batt
1e8e779e6a Bugfix for #5603 - event que 'stuck' when holding down shift modifier
when sculpting

This bug was caused by the main event queue overflowing. This commit fixes the
bug by increasing the size of the main event queue from 256 events to 4096
events.
2007-01-31 11:24:13 +00:00
Ton Roosendaal
9eb240282b Bugfix, report from studio Manos;
This tweaks the dependency rules for Scenes/Objects a bit. Here is the
rule:

- Each Scene has own dependency graph, and only solves dependencies for
  objects in the scene

- However, when using multiple linked Scene-sets, the *current* scene is
  allowed to have dependencies to objects in a 'set'.
  This works by first calculating the sets, then the current scene.

Example: the current scene can have lights with a track/location
constraint to a character in a set.
2007-01-31 10:59:39 +00:00
Stephen Swaney
f5a48dfd31 Bugfix for #5000
Setup for Armature weak ref list was missing from some places where
we execute py code.  This confused the interpreter and gave random
attribute/tuple parse errors.
Changed name of weak ref list to "__arm_weakrefs" to avoid name
collision with user variables.
2007-01-31 03:12:26 +00:00
Campbell Barton
9cf602b949 3ds_export - enabled textures as an option since it works with some appliactions (only way to get textured models from blender to google sketchup)
3ds_import - added option to disable recursive image searching (could be slow somtimes)
export_obj - when making group/object names only use both object and mesh name when they differ.
weightpaint_clean, weightpaint_grow_shrink - minor updates.
Render.py - own error in epydocs.
2007-01-31 01:18:51 +00:00
Nicholas Bishop
9ce5dd4cc4 == Multires ==
Fixed bug #5815, Multires mesh UVs get lost (or crashes!) when adding additional UV layers

* Switching to Face Select mode adds a UV layer automatically, was missing code there to add the layer to multires as well
* Adding/Deleting a customdata layer on a multires mesh should update the multires data first
2007-01-30 23:07:57 +00:00
Joseph Eagar
3ab085a5b6 =Python bugfix=
Armature code had missing NULL pointer check that crashed when used in pydrivers.
2007-01-30 22:38:43 +00:00
Joshua Leung
3be758d1db == Armature Path-Drawing ==
This adds a little paranoia check for some values used by path drawing
which may be uninitialised in older-files causing an infinite loop.
2007-01-30 21:43:01 +00:00
Nicholas Bishop
65f00ae3e0 == Retopo ==
Removed a retopo line that could cause a crash on freeing editmesh.
2007-01-30 21:22:46 +00:00
Ken Hughes
f0e18a8b94 Python API
----------
Fix typo in Constraint API examples
2007-01-30 17:55:39 +00:00