Commit Graph

47594 Commits

Author SHA1 Message Date
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
Martin Poirier
531dc2d2b6 === Transform Snap ===
Missing distance calculation in Snap Closest when only one element was selected made it not work correctly for rotations.
2007-01-30 16:07:54 +00:00
Martin Poirier
ff75e7d302 === UV Transform ===
[ #5880 ] Crash on editing UVs

Caused by late check for 3d view in transform snap.
2007-01-30 15:48:09 +00:00
Ben Batt
a42c8533aa Bugfix for #5843 - Wave modifier wont run with negative speed
This is mainly a problem with the interface - it's not clear what effect the
"Time sta:" (more correctly, the time offset) value will have when the speed
is negative. I have updated the UI to change the "Time sta:" button to "Time
end:" when the speed is negative.
2007-01-30 11:11:20 +00:00
Ton Roosendaal
d5e69a8349 Bugfix #5875
The global "total object" counter in Blender kernel was still using short!
Crash can happen when using this counter for allocating selection data.
2007-01-30 10:49:56 +00:00
Campbell Barton
dcc834f3fa updated render settings to support recent changes.
options like saveBuffers are available from Python and threads can be set from 1 to 8
usefull for python based renderfarms.
2007-01-30 03:02:58 +00:00
Joshua Leung
9c1ae55017 Bugfix:
Calculate Paths for Armatures didn't work if called from the WKEY menu
before doing so from the Armature Visualisations panel. Was caused by
the absence of version-patches for older-files where the settings used for
path calculation were uninitialised.
2007-01-30 01:04:39 +00:00
Ton Roosendaal
478f229541 Patch / Bugfix #5876
Composite: Defocus node crashed when scene has no camera.
2007-01-29 20:43:42 +00:00
Kent Mein
ca2bb396a3 Should have read it closer when I made the inital change.
was doing if PLUGIN_VERSION ==2 || PLUGIN_VERSION == 5
when what we want is in the range of 2 - 5

Kent
2007-01-29 20:43:27 +00:00
Ton Roosendaal
25d017b338 bugfix #5872
Crash when in sculptmode, add armature, switch to object mode.
2007-01-29 19:26:11 +00:00
Ben Batt
1f35fd7929 = Addendum to UVProject's multiple UV handling - "Override Image" button =
* Added an "Override Image" button to the UVProject modifier; this overrides
  faces' currently assigned image with the one given in the modifier panel.
  This provides some of the functionality previously provided by the "Add UVs"
  button - you still need to add a UV layer manually, but you only need to
  change the image in one place.
* Note that the "Override Image" option uses the bit position previously used
  by the "Add UVs" option, so old files which had "Add UVs" enabled will now
  have "Override Image" enabled.
2007-01-29 16:28:11 +00:00
Ben Batt
2a47217cba = Updating the UVProject modifier to handle multiple UV layers =
* Removed the "Add UVs" option from the UVProject modifier
* Added a UV layer menu to the UVProject modifier
* Refactored the Displace modifier UV layer menu code to allow the UVProject
  modifier to share it
* Added two CustomData functions to facilitate getting layers by name
2007-01-29 15:10:55 +00:00
Ton Roosendaal
2d361fca0d Bugfix #5873
3D texture paint crashed when no Image window was opened... the damn global
variables!
2007-01-29 14:49:15 +00:00
Joshua Leung
73a0e8c75e == IPO Transform Bugfix ==
When scaling in the IPO-editor, axis-clamping was not respected still
(in order to preserve the old behaviour of flipping over the x/y axis).
However, now there is a mirroring tool for IPO curves, so the old
behaviour is no longer needed.This makes things more consistent.
2007-01-29 05:09:14 +00:00
Robert Holcomb
cdefd31397 The channel keyer was not scaling the YCC color space properly for the exec function to make an impact on it. 2007-01-29 04:08:40 +00:00
Stephen Swaney
d89a7388ea Bugfix for #5846 erratic error with in "ob.getData(mesh=1)"
It looks like the changes for bug
  #5000 Changin EditMode in Script wrecks memory
break the python interpreter.

Since this is critical, I have #ifdef'ed those out of
BPY_interface.c and Window.c.  Did not touch Armature.c.
The ifdefs are tagged with /* bug 5000 */

This means bug #5000 is back in play.  Interesting to note
that according to #5846, only scripts run from the script menu
and not via Alt-P were broken.
2007-01-29 01:27:07 +00:00
Nicholas Bishop
aa8b917587 == Retopo ==
Added a missing undo push for CKEY in retopo paint.
2007-01-28 21:26:39 +00:00
Peter Schlaile
f354b9c697 == Sequencer ==
Fixes bug #5858 (Render to dv skips frames. OSX and Linux PPC).
Caused by stupid ffmpeg dv multiplexer. PAL-fix is easy, NTSC needs varying
buffer sizes...
2007-01-28 18:45:53 +00:00
Brecht Van Lommel
47d3624439 Fix for bug #5861:
Minimize stretch incorrectly stitched together UVs.
2007-01-28 18:37:12 +00:00
Martin Poirier
c92fae004a === Transform Snap ===
Replace references to "Gears" in the header by "Grid". This is more consistant with the rest of the UI and even if I like gears better, grid, I think, is what people expect.
2007-01-28 15:41:11 +00:00
Ben Batt
d34cd388b8 Changed Displace modifier UV layer selection UI code to use a temporary
variable in the DisplaceModifierData structure, rather than a global variable.
This fixes a bug in layer selection when more than one Displace modifier is
applied to an object.
2007-01-28 14:48:38 +00:00
Peter Schlaile
378a28fee4 == Sequencer ==
Bugfix: when ipo-frame-locking is turned off, make the ipo cursor show up
 at the correct position and set CFRA correctly, if changed within IPO.
 (avoids very annoying snapping...)
2007-01-28 13:43:46 +00:00