Commit Graph

8216 Commits

Author SHA1 Message Date
Nathan Letwory
5a609daa75 * undo commit from 27th of October. Fixing the long-paths issue worked only on a number of boxes, so from now on the BF_BUILDDIR=c:\b -way is the only way to properly get Blender built with scons/mingw. 2006-11-14 05:47:52 +00:00
Matt Ebb
0597e17710 Tweaked the makefile build system to copy the new freedesktop icons
into an icons folder in the release package on linux, freebsd and openbsd
when doing 'make release'.
2006-11-14 04:29:04 +00:00
Matt Ebb
56b11f6e48 Added a great new set of Linux Blender icons, conforming to the
freedesktop.org standard.

Many thanks to Jakub Steiner, who created these!
( http://jimmac.musichall.cz/weblog.php/Artwork/WarOnBlobs.php )
2006-11-14 04:16:05 +00:00
Martin Poirier
51fa185ec5 == Script: UV Export ==
* SVG export support (thanks to Jarod's patch in the tracker)
* Faster tga export (from Jarod's patch too)
* Fixes from the review thread and the wiki:
** No longer adds the extension (tga or svg) if already there
** Adds the object name in between the filename and extension (and not after the extension if it was already present)
** Renamed options here and there.
2006-11-14 00:56:46 +00:00
Ton Roosendaal
1113df4a9a Totally ancient year zero bug:
Deleting one object that's referenced from other file crashes when this
object still was pointed to by other referenced data.
2006-11-13 21:43:09 +00:00
Ken Hughes
2e133599da Python API:
Bugfix #5075: make curve.update() recalculate bezier curve handles.  This
would/should be called after changing the handles of a BezTriple.
2006-11-13 21:14:48 +00:00
Nicholas Bishop
de7322f96d Added missing null check when freeing multires level 1 dverts 2006-11-13 18:45:57 +00:00
Campbell Barton
ef56538c62 removed warning in last commit 2006-11-13 17:55:06 +00:00
Nicholas Bishop
414904ec43 Fixed bug #5219, Undo doesn't work in Sculpt mode when modifiers are applied
Just added a missing call to update the active object.
2006-11-13 17:47:57 +00:00
Alexander Ewering
e99703301a Removed redundant variable declaration in my previous commit. 2006-11-13 17:39:46 +00:00
Campbell Barton
26ef99157e made mesh.getFromObject() accept a python object as well as the object name.
accepting the name only was causing big problems when exporting library data, because duplicate names are possible the wrong data was exporting.
2006-11-13 17:37:01 +00:00
Alexander Ewering
745aaf01c6 Tiny usability fix:
Until now, pressing ALT-A in a sequencer space without image preview was
pretty useless: It only showed an advancing green frame pointer :)

Now, if you press ALT-A over a sequencer space with strips, it will also
animate all sequence previews. So, no need to press SHIFT-ALT-A in that
situation anymore.

Of course, pressing ALT-A over a preview will still only play that preview.

Windows other than sequencer windows remain unaffected by this commit.
2006-11-13 17:31:39 +00:00
Ton Roosendaal
b771cd9ca8 Two tiny compositor annoyances;
- Image Node: after loading new file it didn't update the header name
- File-out Node: header color suggested there was only 1 'active', which
  it isn't.
2006-11-13 16:43:45 +00:00
Brecht Van Lommel
a43ba01c84 Fix for bug #5220: crash on edgeloop delete. 2006-11-13 15:36:33 +00:00
Ton Roosendaal
d43ca75b8a Bugfix 5182
Mist option and "Ray Transp" didn't work together yet. Transparency
during tracing should not be influenced with mist though (as is for
Ztransp), so for this case an extra color blending after raytrace is
added. Still pretty primitive... mostly because mist isn't volumetric
in Blender at all... just an alpha trick.
2006-11-13 14:33:36 +00:00
Ton Roosendaal
6c941bb3e1 Bugfix #5217
Call to refresh Image Icon on load should not be done for background
renders... crashed blender then.
2006-11-13 13:32:52 +00:00
Joshua Leung
41b84e4ef0 Previous commit (Smooth Ipo) was indeed not too useful. I've
rewritten the code (less code now) so that it is more useful, and
doesn't just duplicate the functionality of another feature.

Now, IPO smooth works only on the selected keyframes in
selected frames. It finds the average value of all the selected
keyframes, and finds the halfway point between each keyframe
value and this average value. Handles are also automatically set
to 'aligned'.
2006-11-13 10:16:07 +00:00
Joshua Leung
6e46d87dd7 == IPO Editor Tools ==
* IPO Curve Smoothing:
This new tool smoothes (i.e. resets the adjusts) the handles on selected
ipo curves in ipo editor. The core code is based upon a python script
that used to do this (author unknown).

- Available from menus
- Hotkey Shift O
- Only available from ipo editor

If the usefulness of this tool is limited (adding bloat), I will consider removing it.
2006-11-13 08:56:02 +00:00
Andrea Weikert
32d49a8dae ==== scons ====
- cleanup for wintab library headers
- properly define BF_WINTAB and BF_WINTAB_INC
2006-11-13 06:40:08 +00:00
Joshua Leung
001fb2c722 Just a few fixes to the indention of some functions (purely cosmetic code changes) 2006-11-13 04:37:42 +00:00
Matt Ebb
fb9f21b614 Set the default material preview type to 'sphere' for newly added materials. 2006-11-13 01:24:46 +00:00
Nicholas Bishop
521815eab2 Removed erroneous switch to the front buffer when reading depth values in sculptmode and retopo. 2006-11-12 21:28:09 +00:00
Erwin Coumans
3a1b7ece40 updating Bullet 2.x with latest changes. The integration + C-API will follow at some stage. 2006-11-12 21:05:10 +00:00
Andrea Weikert
22d97b2e34 - compile fix for msvc 6 which doesn't declare M_PI at all it seems. 2006-11-12 17:23:26 +00:00
Jens Ole Wund
bbfb7e5483 bugfix
crash with duplicated softbodies
in copy_softbody() scratch pointer was not initialized to NULL in copy
did not know that function exists at all
2006-11-12 16:51:29 +00:00
Ton Roosendaal
8e487f3e29 Ooops, previous commit of mine forgot to commit the .h file. 2006-11-12 16:24:59 +00:00
Andrea Weikert
7abf00bbce compile fix for MSVC compiler.
- math.h doesn't include #define M_PI by default (_USE_MATH_DEFINES needs to be defined)
2006-11-12 16:21:16 +00:00
Jens Ole Wund
c6f9720eb6 msvc6 adding DNA_customdata_types.h to project 2006-11-12 16:13:07 +00:00
Ton Roosendaal
caea20a82e Patch #5185, Juho V (bebraw)
Convert menu for Text objects (ALT+C) now has option to directly degrade to
a Mesh.
2006-11-12 13:51:28 +00:00
Ton Roosendaal
af4422bdb2 Patch #5184, Juho V (bebraw)
One liner basically; makes toolbox pop up like in 3d window, if you've
set it to reveil on holding RMB.
2006-11-12 13:28:39 +00:00
Andrea Weikert
fe97147be8 ==== MSVC 7 project files ====
very small cleanup: add DNA_customdata_types.h header
2006-11-12 13:04:04 +00:00
Ton Roosendaal
a56b95c049 Bugfix #5107
Autosmooth didn't copy additional texture coordinates such as sticky
correctly. This was part of the vertex struct in 2.41 and older, but it
became dynamic in 2.42.
2006-11-12 11:41:43 +00:00
Ton Roosendaal
72f620fef3 Bugfix #5207
Silly error in code initialized envmap "Render" struct wrong. It didn't
work for ortho render, so also crashed on previews in ortho 3d window.
2006-11-12 11:03:34 +00:00
Brecht Van Lommel
883f7dd4d5 Missing check for pointer being NULL in last commit, could crash on
entering editmode.
2006-11-12 10:53:30 +00:00
Matt Ebb
20cf5deb46 Some clearer comments on the meaning of the tabletdata struct's variables 2006-11-12 09:52:03 +00:00
Matt Ebb
6f474ccaca Added tablet tilt data collection for GHOST/Win32 - thanks elubie for doing the hard work getting it all set up first! The tilt values still aren't being used anywhere in Blender (yet? :) but at least now the data is there reliably and consistently across platforms. 2006-11-12 09:50:44 +00:00
Ton Roosendaal
fbcb0c1e45 New 'TOG DUAL' button (for locking bone layers) disabled extend-press
with shift key.
2006-11-12 09:26:38 +00:00
Ton Roosendaal
c8a8760c41 Simple & efficient feature request from Campbell;
One of the annoying things in Blender was that the UV Faceselect mode
immediately forced the object to draw 'Textured', mimicing how the game
engine could show it. For modeling and texturing workflow not optimal.

UV FaceSelect mode now draws textured & default lighted, if the view is
set to 'Solid'. Switch view to 'Textured' to see again what the game
engine could draw (which is using real lamps, and the per-face lighted
flag).
2006-11-12 09:14:43 +00:00
Joshua Leung
328e032ab0 == Copy Pose Attributes Menu ==
I've added a few more options for the copy pose attributes menu - Copy:
* Transform Locks
* IK Limits/DOF settings
* Custom Bone Shape
2006-11-12 05:58:59 +00:00
Brecht Van Lommel
e4a1eb4e09 Added custom vertex data support to editmode. Only used for vertex groups
now, others can be added later (sticky, shape keys). Beside one small fix
for knife exact vertex group interpolation, is intended to work the same
as before.

Also fixes bug #5200, related to editmode undo and vertex groups. And
corrects the editmode to faceselect mode selection conversion, that was
broken in a previous commit.
2006-11-11 23:23:15 +00:00
Brecht Van Lommel
8857f4ce86 Patch #5195 by Anders Gudmundson.
On X11, make the table device name check case insensitive.
2006-11-11 22:47:41 +00:00
Peter Schlaile
c1b4132e8d == Sequencer ==
Major sequencer rewrite to add Speed Control effect.
Changes:
- Cleaned up large parts of sequence.c removing a lot of unnecessary code.
  (We first built old seqar array to decide, what is visible, then build
   dependencies with new code, then used old code to iterate through the
   strips and deciding using new code what is used and so forth and so on...)
  Should be much faster now.
- Now we build the strips recursively thereby elemenating the need of a
  seperate dependency calculation.
- Added a Speed-Control effect to change strip speed afterwards.
  (Offers global speed as well as IPO-controlled speed.
   There are several modes to play with:
   - Control by velocity (IPO = velocity where 1.0 is normal speed)
   - Control by frame number (IPO = target frame)
   - IPO-Value can be rescaled to frame-value, to make frame exact matching
     possible. (Matching video tracks to audio tracks with IPOs ;-)

Demo-Blend file is here http://peter.schlaile.de/blender/sequencer/speedcontroltest.blend

Since this was also a Plumiferos request I hope to be mentioned in the
credits ;-)

Enjoy! And please test the new sequencer thoroughly. It is really more like
a rewrite this time.
2006-11-11 22:35:40 +00:00
Chris Want
05c59da48f Fix for bug #4922
The VRML97 exporter was rounding a lot of stuff to three decimal points.
This is silly, since the spec says single-precision floats are used for
most things, which gives about 7 decimal points precision.
2006-11-11 19:12:43 +00:00
Ton Roosendaal
dddc04f0c4 Bugfix #5208
Dupli-group, with armature in PoseMode, made selections not work.
Weird that this wasn't reported before :)
2006-11-11 18:17:53 +00:00
Brecht Van Lommel
c41823cdb6 Compile error fix for last commit, using an undeclared variable. How GCC
allowed this to compile I have no idea.
2006-11-11 17:18:42 +00:00
Ton Roosendaal
f5cff857a5 Tinsy fix for ~ key (set all layers). It as actually doing 21 layers :)
Reported by Matt, via Campbell, thanks!
2006-11-11 17:15:42 +00:00
Ton Roosendaal
feb210f08e Experimental feature, especially for the animation department:
THE OBJECT PROXY

Or simple said; local control of referenced data from libraries.
Having library files with references is a very common studio setup, and
Blender did do quite well in that area. Were it not that for character
setups it was impossible to use still.

This commit will enable a full rig+character to remain in the library,
and still have - under strict control - local access for animation edits.

Full log:
http://www.blender3d.org/cms/Proxy_Objects.824.0.html
2006-11-11 16:45:17 +00:00
Brecht Van Lommel
97f892b86b Added custom face data support in edit mode. The code used to do this is
the CustomData module from the modifier stack rewrite, but with additions
to make it also usable in edit mode. Some of the datatypes from that
module were move to a DNA header file, they are not saved to file now, but
will be soon.

The only code that wasn't abstracted is the uv collapse / merging code. It
is rather complicated, will look into that in the future.

There should be no user level changes.
2006-11-11 16:38:37 +00:00
Jens Ole Wund
9e717b59cb softbody review
1. UI review -> disabeling options when not available .. giving hints why ( even tried to give usefull tooltips )
1.1 give some more user control to the solving process  (mins,maxs).. optional feedback on the console

2. replacing ugly object level 'sumohandle' with SB (private runtime) level/pointer 'scratch'
which holds runtime data like cached collider data and more .. and it's thread save this way :)

3.related no 2.  write a 'private' history of collision objects to ease the 'fast' collider tunneling syndrome'

4. some <clean> optimizations, 3-BSP for self collision,  general AABB checking before ever going to collision details

5. some <dirty>  ( in the sense of do some inacurate physics noone ever will see ) little tricks to make things faster .. ..fuzzy collision situation bypass .. forward collision resolution
2006-11-10 23:09:16 +00:00
Joshua Leung
68a2f29db3 Cleanup of evaluation code for Copy Rotation and Limit Rotation constraints.
Made them use the new the two new math functions I've added in arith.c (in
various patches) - Mat4ToEul and LocEulSizeToMat4 - cutting down on the
amount of code reuse.
2006-11-10 23:00:31 +00:00