Commit Graph

47594 Commits

Author SHA1 Message Date
Nathan Letwory
1425e0da6d * define snprintf as _snprintf on windows. 2008-02-04 06:35:16 +00:00
Matt Ebb
97f28fbbd0 * Made the tablet pressure value default to 1.0 when not using
a tablet, rather than 0.0. This might help ease some 
 misbehaviour people have reported, especially in sculpt.
2008-02-04 04:20:55 +00:00
Hamed Zaghaghi
5faa2e63a1 bugfix 8183, Ray sensor with material/property filter always triggers when hitting object without the required characteristic fixed by Benoit Blosee(ben2610), and some minor changes for 2d-filters. 2008-02-04 03:48:46 +00:00
Hamed Zaghaghi
47b53510a5 merging game_engine branch changes into trunk, 2d-filters and opengl speedup 2008-02-04 02:33:27 +00:00
Joshua Leung
2da3bd32dd Bugfix:
AfterTrans Delete Duplicates feature for Action Editor now doesn't remove duplicates if you cancelled the transform.
2008-02-04 01:30:44 +00:00
Remigiusz Fiedler
9c12534cd9 Python API
----------
Correct sound into font in documentation to api2_2x/doc/Font.py.
2008-02-04 00:44:31 +00:00
Matt Ebb
7739d9b628 * Change to the 'active line' drawing in colourbands. The wide strip was always ugly, inaccurate and jumped around. Now it uses a finely dashed line. 2008-02-04 00:14:06 +00:00
Matt Ebb
5d55228adb * Let HDRs get previewed by the image browser too 2008-02-04 00:03:38 +00:00
Daniel Genrich
0e7bdb959e Cloth: Fixed: [#8210] (includes bad spring calculation), only mesh can get cloth assigned, New: initial try of Bridson/Fedkiw friction formula implementation, better GUI feedback when e.g. cache is protected and settings too 2008-02-03 22:37:43 +00:00
Campbell Barton
9276a6f9fa Added single user ipos option - useful when you make linked duplicates with many objects and want them a unique ipo. 2008-02-03 21:24:48 +00:00
Campbell Barton
33a23853e1 fix for bug [#8065] Crash when baking.
http://projects.blender.org/tracker/index.php?func=detail&aid=8065&group_id=9&atid=125

Lamp ray_samp_method could be an invalid value while rendering because a check was only done in the user interface.
2008-02-03 20:57:52 +00:00
Peter Schlaile
e657211812 == Sequencer ==
Fix for the fix.
2008-02-03 19:25:43 +00:00
Peter Schlaile
e9e4d843d2 == Sequencer ==
Silenced compiler warnings and possibly fixed crash on broken
blend files.
2008-02-03 19:22:34 +00:00
Peter Schlaile
54c1535606 == Sequencer ==
Silently destroyed a null check in free_sequence in last commit,
getting old... :)
2008-02-03 19:10:19 +00:00
Campbell Barton
a9518afc67 feature request from peach, remove selected objects from 1 group.
Also made rem_from_group return if it removed the object which save some looping.

Added a node in the blender help message that background mode dosnt load the .B.blend file as a bug was reported recently because of this.
2008-02-03 19:03:18 +00:00
Peter Schlaile
7e7f5628c3 == Sequencer ==
This adds low resolution proxy support to the blender sequencer, so
that even HD editing should be possible on slower machines.

The proxies are stored as directories of JPEG-files and are only
activated, if you use preview-resolution rendering.

For your final render, just switch back to full resolution and
the original files are used again.

It enables even proxying of whole effect pipelines and scene-strips
(but you have to your own custom directory for file storage then, 
since blender has no filename, which could be taken as a sensible
default directory reference)
2008-02-03 18:58:46 +00:00
Ken Hughes
ab662ae85c More fixes for gcc warnings. 2008-02-03 18:50:03 +00:00
Martin Poirier
91439e7604 === Custom Transform Orientation ===
Switch away from using selected list in editmesh, since it isn't always up to date.

This fixes the bug where CTO where not created correctly with box/lasso selecting elements and many others.
2008-02-03 18:24:13 +00:00
Martin Poirier
7ad378e0b3 Use proper projection for contrained scale snapping. 2008-02-03 17:08:54 +00:00
Joshua Leung
8bcd905439 2 Tweaks:
* Action Editor now doesn't draw channels which are out of view at all, which should help to provide (some minimal) improvements in some situations
* Typo in comment in constraints code
2008-02-03 07:43:00 +00:00
Ken Hughes
0a27a31970 Clean-up for various gcc warnings under linux. 2008-02-03 01:33:35 +00:00
Ken Hughes
87fbe307a1 Python API
----------
renderData.removeRenderLayer() was not returning a Python object; make it
return None;
2008-02-03 01:30:15 +00:00
Ken Hughes
ae2619407b Remove in-line variable declaration in color_balance_byte_float(), not ISO
C90 compliant.  Also fix warning about pointer parameter mismatch.
2008-02-03 01:28:23 +00:00
Ken Hughes
28401db37b Remove old debugging printf from node_make_addmenu(). 2008-02-03 00:55:39 +00:00
Nicholas Bishop
601488154d == Sculpt ==
Fixed crasher in my previous commit; wasn't checking for NULL pointer.
2008-02-03 00:51:25 +00:00
Martin Poirier
4069449918 == Transform Snap ==
Snapping for Resize
First draft, there might be some things to iron out.

Minor terminology fixes in CTO (custom transform orientation).
2008-02-03 00:42:00 +00:00
Tom Musgrove
07ccea0ac2 == Python API - Mesh ==
This patch by Domino Maram adds the function addMultiresLevel
2008-02-02 23:58:05 +00:00
Peter Schlaile
3a6a3d0389 == Sequencer ==
New feature: color balance aka 3-way-color-correction aka lift/gamma/gain 
on input (folded into byte -> float conversion, so _very_ fast in that case).
Interface is inspired from Rebel CC (but not as complete yet, you can't
choose white and black points right now).

Bugfix: clamp color seperated wave form display correctly.
2008-02-02 23:28:50 +00:00
Campbell Barton
eb9375fb56 Fix for indirectly linked libs being converted into direct linked libs. (tried to fix this before but didn't work).
fix_relpaths_library() needs to be called after loading libraries but not during recursive library load.
2008-02-02 11:19:34 +00:00
Nicholas Bishop
35ee34ea67 == Sculpt ==
Fix bug with layer brush + anchored.
2008-02-02 04:38:40 +00:00
Campbell Barton
fdab7b08f1 remoed testing line 2008-02-02 04:10:31 +00:00
Campbell Barton
655ca9d9ae makefile was not adding openexr, so py api never enabled setting openexr image type when using make. 2008-02-02 03:23:36 +00:00
Jens Ole Wund
d09fe9d228 users feature request
-- material memory
2008-02-01 23:20:29 +00:00
Nicholas Bishop
9d9ba57038 == Sculpt ==
Added a new brush option, "Anchored". When enabled, the brush doesn't move with the mouse, but rather stays in it's initial location and grows larger or smaller to follow the mouse. Good for brushing alphas on to the mesh. (Note that this option isn't available for the grab brush, and ignores the smooth stroke option.)
2008-02-01 19:45:11 +00:00
Brecht Van Lommel
3e98fb0f38 - For particle path visualization, set the default number of steps
lower to save memory.
2008-02-01 12:47:20 +00:00
Brecht Van Lommel
1879af7d5c - Small approximate AO optimization for falloff, saves some percentages
render time.
2008-02-01 12:18:45 +00:00
Brecht Van Lommel
baf7be9e46 Memory usage debugging: now with the -d debug option enabled, at the end
of rendering it prints memory usage for images and all memory blocks.
2008-02-01 12:14:15 +00:00
Joshua Leung
f971304158 Patch #8177: Timeline Performance Patch
Patch by: Adriano Macchietto (macchiea)

This patch optimises the way keyframes are drawn in the Timeline, so that it is more responsive when working with heaps of keyframes (i.e. motion-capture data).

Detailed Description of Patch (from author):
* No longer uses a list to store the keys before drawing. Uses
less memory.
* Culls the drawing of keyframes outside of the visible window.
Good for dealing with long mocap tracks.
* Performs a check to avoid redrawing a line over a line which
has already been drawn to the same pixels. This speeds up the
scenario when you have many keyframes and are zoomed out.
* Batches the draws into one glBegin/glEnd block.

This is all done on a per IpoCurve basis.
2008-02-01 10:23:40 +00:00
Nicholas Bishop
2aa1857020 == Sculpt ==
Added bilinear filtering to sculpt brushes when accessing textures.
2008-01-31 23:22:57 +00:00
Jens Ole Wund
2fc05a1f38 --bug fix (own collection)
face collision did overreact on dagger edges
2008-01-31 23:00:08 +00:00
Campbell Barton
c931ceeaf7 last commit worked in test case but not in real world :/ - revert and will look further into it. 2008-01-31 22:53:31 +00:00
Joshua Leung
240148f363 Action Editor Bugs/Regressions:
* Insert Key and Column Select should be working again
* Last channel in group's keyframes now appear in summary too
2008-01-31 22:47:03 +00:00
Campbell Barton
37f7826ee1 Fix for indirectly linked libraries.
When a.blend -> //../c.blend -> //d.blend
Blender would see d.blend as //d.blend which is wrong since that is relative to c.blend
This works, except when you make an indirectly linked group into a directly linked group. and then the incorrect path was saved into the blend file and the data not load up again (without copying it there or hex editing the path)

This loop makes all lib files relative to the blend you have open.
2008-01-31 21:19:40 +00:00
Nicholas Bishop
4eeb7bd183 == Sculpt ==
Switched point projection used in brush texturing to floating point rather than integer; fixes some ugly artifacts in texture application.
2008-01-31 18:32:33 +00:00
Ton Roosendaal
16ae726f8c More logging prints while preparing scenes in background render.
Uses a timer, so nothing gets printed more than once a second.
2008-01-31 18:03:46 +00:00
Brecht Van Lommel
30b0e926a2 - Bugfix in non-osa pass adding, for example AO got too high values.
Now made it work more like the osa case, easier to verify it works
  correct then.
2008-01-31 16:32:15 +00:00
Ton Roosendaal
90f8fb733b Fix: render could crash when you enable 'do composite' without having
nodes in scene.

Feature: SHIFT+R in compositor reloads all full sample buffers, composites
and merges with filter. (ALso in Node menu).
2008-01-31 15:35:24 +00:00
Peter Schlaile
134fdd6d5a == Sequencer ==
Updated image preview a lot:
* Added a histogram-scope
* Added optional title-safe margins
* Re-arranged header, so that only usefull buttons are shown in image
  preview mode
* Added zebra-mode for visual feedback of over-exposure regions
  (helps in before and especially after color correction :)
* Added color-seperation-mode for waveform-display
* Show 10%, 70% and 90% hints in waveform-display
2008-01-31 15:28:16 +00:00
Kent Mein
b7e6ef04f8 Added missing header for offsetof function.
Kent
2008-01-31 14:25:52 +00:00
Ton Roosendaal
e2ee9b57d3 Stupid error in commit of last weekend for zmasking:
You could not mask out anymore using the 'ctrl-click layer' without
having zmask on.
2008-01-31 14:14:03 +00:00