Commit Graph

9304 Commits

Author SHA1 Message Date
Ton Roosendaal
7e9f86bbf0 Bugfix #5894
Composite, Time Node did not clamp output between 0-1.
2007-02-01 10:04:10 +00:00
Campbell Barton
5817876307 fixed nieve use of type()..
type(foo) == type(list()) can be done as
type(foo) == list:
2007-02-01 05:27:49 +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
Willian Padovani Germano
1f4af00c94 Scripts:
- Making the ac3d importer discard bad faces in the imported model (faces that reference a vertex index more than once). Thanks Melchior Franz for reporting this one, too.
2007-02-01 01:34:51 +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
Campbell Barton
ed24fe31d1 fixed a python error in the exporter, small changes for the importer. 2007-01-31 11:34:41 +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
Willian Padovani Germano
2d14f8c224 Scripts:
- Fixing another bug in the ac3d import script, thanks again Melchior Franz for testing and reporting.
2007-01-30 20:12:30 +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
Campbell Barton
45d486f0f3 Update to JMS's latest version of google earth 3 importer.
also made some changes
* redraw in the 3d view only
* create all objects in visible layers
* other small tweaks and speedups, removed debug print's
2007-01-30 00:16:05 +00:00
Joilnen Leite
76240d9c10 fixing x2 param 2007-01-29 23:36:26 +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
Campbell Barton
5db31cb571 removing redundant scripts because of new features in blender after discussion with LetterRip.
disp_paint.py - Displacement modifier and sculpt mode replace.
uv_paint.py - making can be used to write colors to an image.
animation_empties2armature.py - Was made when BVH importer could not import direct to armature, Resulting animation has visible errors, errors have been known about for a long time and not fixed.
knife.py - Old slow code, No Multi-UV's, We now have a knife tool that has snap!

If anyone wants to maintain these scripts and have them added back in, mail the bf-python ML.

Scripts that are removed can be found here.
http://projects.blender.org/viewcvs/viewcvs.cgi/blender/release/scripts/Attic/?cvsroot=bf-blender
2007-01-29 10:20:21 +00:00
Campbell Barton
803d66a3a5 removed copy_facedata_multilayer from BPyMesh since it changes the selection and flips the faces (needed for solidify) but not for general purpose use. 2007-01-29 06:56:30 +00:00
Campbell Barton
996294e18a fixed own bug indroduced when switching to use f.edge_keys
MultiUV/Color support - all layers are copied to new faces. as well as hole filling faces.
2007-01-29 06:38:30 +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
Robert Holcomb
2133d87d21 Fixed accelerated openGL command list tri-strip generation for geometry. UV coordinates are still off a bit. Fixed bad frame list loading. I'm sleepy and need a snack. 2007-01-29 00:11:18 +00:00
Nicholas Bishop
aa8b917587 == Retopo ==
Added a missing undo push for CKEY in retopo paint.
2007-01-28 21:26:39 +00:00
Willian Padovani Germano
cd2e2d231f Scripts:
- Fixed a few bugs in the ac3d importer, found by Melchior Franz (thanks!). Also automatically turning on ztransp for materials with alpha < 1.0 and then also transp shadows for all imported materials.
2007-01-28 20:03:42 +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
Ed Halley
cf04786a8b Removed -mpowerpc -mtune=G4 from several SCons files, so it will work on
either PPC or Intel architectures under OSX.  These options should be
inherited properly from the rest of the OSX SCons build system.
2007-01-28 14:55:57 +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