Commit Graph

8919 Commits

Author SHA1 Message Date
Campbell Barton
50edac630b removed blender2cal3d.py, this is the second time where nobody has been able to maintain this script to fix minor bugs, aparently the cal3d/soya guys maintain their own scripts anyhow.
Adding switchDirection() for curNurbs. simple function and double checked to make sure its ok.
2007-01-04 10:18:37 +00:00
Ton Roosendaal
eb1ca77fc4 Bugfix #5411
Selecting option conflict... shift+alt+click was used both for 'select with
a menu' as for 'flush selection to group members'.
Solution for now: keep the group select for shift+alt+click, and menu select
for alt+click.
2007-01-04 09:30:50 +00:00
Nicholas Bishop
6643cc53d9 Fixed bug #5592, change from sculpt mode to edit mode crashes 2.43RC1 on OsX Intel. Fix was to check that undo data is taken from the correct object. 2007-01-04 07:48:26 +00:00
Nicholas Bishop
31e4149c44 Reverted my fix for bug #5539, brush circle cursor is slow. The fix was causing more sculptmode drawing artifacts for some users. Since this is a non-critical performance related bug, it can wait until after 2.43. 2007-01-04 07:03:00 +00:00
Nicholas Bishop
0762a5a975 Fixed bug #5582, Subsurfed Multires'd objects don't display properly with interactive display unset. Added a new function for sculptmode that checks to make sure that not only are there some modifiers active, but that they are actually enabled for realtime editing. 2007-01-04 06:11:45 +00:00
Campbell Barton
6d5b24fcb8 bugfix for #5167 images are now exported from the material, (todo - texface) thanks to digiboy
Also found that the exported UV coords were scrambled, now fixed.
2007-01-04 05:59:23 +00:00
Nicholas Bishop
bf95995bbc Made auto face fill (used in retopo) accessible from FKey editmode menu. 2007-01-04 05:24:00 +00:00
Chris Want
0092c55595 Added IlmThread to the list of OpenEXR libs for WIN32 by request of
Eugene Riley. Untested, and I hope the capitalization is correct
-- please test!
2007-01-04 01:56:31 +00:00
Matt Ebb
04dea66458 == Compositor ==
* Ported Math node from shader nodes to composite nodes too

It's a good general purpose utility node and also allows stupid stuff
like this more easily :)

http://mke3.net/blender/etc/math-spiral-h264.mov
http://mke3.net/blender/etc/stupidmath.blend.zip
2007-01-04 01:56:21 +00:00
Joshua Leung
0b6eb9d283 == Armatures - Path Drawing Bugfix ==
Now, when several highlighted points on the path occur at the same place
(i.e. when there is a pause) only the first frame number when this is the case
is drawn. This results in less overlapping frame numbers (causing an unreadable
blob of digits)
2007-01-03 23:22:58 +00:00
Kent Mein
7356ede09c I commited a dumb little icon for Sculpt mode since we didn't have anything.
If anyone has anything better feel free to blow this one away.
I was going for a chunk of marble and a chisel if anyone is going wtf?

Kent
2007-01-03 21:12:56 +00:00
Ton Roosendaal
6f23af1504 Bugfix #5515
Having splitted a screen almost into 128 subwindows gives crashes when you
try to make a 'full window'. Code was missing NULL pointer checks for when
new window failed to open...
2007-01-03 13:45:03 +00:00
Joshua Leung
e670bd273a Fixed crashes in the Action Editor when keys for shapekeys were displayed
and user tries to snap keyframes to frame(s) or mirror keyframes.
2007-01-03 09:13:42 +00:00
Nicholas Bishop
b6264c6b0a Modified the multires loading code so that it always checks for a NULL edge flag array. 2007-01-03 07:21:04 +00:00
Campbell Barton
59e44e4afa added sharp edge theme color 2007-01-03 05:50:17 +00:00
Joshua Leung
6742659312 == 'Smarter' Keyframing Bugfixes ==
'Smarter' keyframing tools ('needed' option for manual and auto keyframing)
now work better than before, with more cases handled in an predictable
manner. There are still a few cases it still doesn't handle well yet. Those will be
fixed in the next few days.

See comments in code for rules in place now. Also, I've changed the code
to use the IS_EQ macro instead of my clumsy sqrt((a-b)*(a-b)) calculations.
2007-01-03 05:13:40 +00:00
Nicholas Bishop
430f6d04b1 Sculptmode propset bugfix: texture angle should be ignored if there's no texture enabled. 2007-01-02 22:53:44 +00:00
Nicholas Bishop
6286f8b565 Multires bugfix: when deleting lower levels, edge flags should be subdivided to the next level. 2007-01-02 22:40:45 +00:00
Nicholas Bishop
d813fb3da8 Added undo push for retopo all. 2007-01-02 20:33:11 +00:00
Nicholas Bishop
0901438215 Another multires loading fix: if edge_flags is null, allocate a new array 2007-01-02 19:28:54 +00:00
Nicholas Bishop
abb9475729 Fix for a multires crash: when loading dverts, extra call needed to relink them. 2007-01-02 19:23:55 +00:00
Nicholas Bishop
557f2b5c8d Disabled interaction between multires and shape keys. Attempting to add a shape key on a multires mesh will give an error, and attempting to add multires to a mesh with shape keys will give the user an okee before deleting shape keys. (This isn't an optimal solution to the multires/shapekey situation, but a real fix is non-trivial.) 2007-01-02 18:42:41 +00:00
Robert Holcomb
60c2a7eeae The combine HSVA node was missing, now all the color space seperators
and combiners are available.
2007-01-02 14:45:59 +00:00
Matt Ebb
aa030ba90b == Compositor ==
* Added patch 5251 X/Y Offset to Split Viewer node, by Juho
(with some modifications from the patch version).

Also various small tweaks to compositor drawing & buttons.
2007-01-02 14:15:41 +00:00
Campbell Barton
05338c7c1b improved z-locking (would previously still try to rotate about the view axis and then right it).
also added error messages for libdata and dont allow views with object locking to fly.
2007-01-02 13:54:24 +00:00
Campbell Barton
426cc6dca3 weightpaint_envelope_assign - was making an error checking a null vgroup
API_intro - changed URL from elysuin
others - added __copy__() docs.
2007-01-02 13:12:23 +00:00
Joshua Leung
4f90a3a627 == Armatures - Bone Paths ==
* Shuffled a few bone-path buttons in the Armature Visualisation panel.

* Added a new option for bone-paths drawing: Calculate/show the path
travelled by the 'head' (fat end) of bone. By default, this option is off.

* Also, I forgot to mention in last commit that I had added an option which
specified the time-difference between each highlighted point on the curve.
2007-01-01 22:48:09 +00:00
Campbell Barton
e07a76ea3f bugfix for #5552, please check this is as you expect (argunda)
Also added ease in/out for roll correction and a small lag for directional changes to motion shouldnt be jurky.

If people are serious about using this to record camera path IPOs then we should have a panel for motion settings (roll correction speed x and z and motion lag for eg.)
2007-01-01 15:27:47 +00:00
Simon Clitherow
6f5512c3a6 Corrected IThread.lib to IlmThread.lib.. thanks Stephane :) 2007-01-01 12:01:41 +00:00
Simon Clitherow
87e4cf1283 Updating scons VC config to OpenEXR 1.4.0 2007-01-01 11:48:17 +00:00
Simon Clitherow
9a102223a2 Small change to keep MSVC happy -- defined variable at the start of a conditional block. 2007-01-01 11:30:47 +00:00
Geoffrey Bantle
d48a472fe5 -> Fix for bug #5472
Vertex snapping now works with backbuffered selection modes. Previously
backbuffer sampling had no way to check whether or not the indices that
it retrieved were selected or not. To resolve this I added two optional
arguments to sample_backbuf_rect in drawview.c. The first argument tells
the function that some additional testing  of the retrieved index values
needs to be done and the second argument is a pointer to a function to
do the testing. findnearestvert() in editmesh_mods.c now makes use of this
and passes sample_backbuf_rect() the appropriate argument when being used
for vertex snapping.
2007-01-01 09:41:10 +00:00
Joshua Leung
c96e3e6e7d == Armature Ghost and Path Drawing ==
The Plumiferos Team have requested some improvements to the
ghost and path drawing tools for armatures. These changes make
these more useful, with more customisable settings. A new panel in
the editing panels for armatures has been added to house these
settings.

-> Ghosts
In addition to the existing method of showing ghosts either side of the
current frame, it is now possible to show ghosts from a given frame range.
This is useful for visualising how the poses in another part of the animation
changed, while editing another part. The colour of ghosts goes from light
(earlier on) to darker (later on).

-> Paths
Several new options for path drawing have been added.
* It is now possibly specify a frame range in which to calculate paths too.
This offers speedups for longer timelines as a shorter span of time can be
sampled.
* Keyframes from the active action/action strip can be shown in a different
colour (in the default theme, this is yellow) on the path.
* Frame numbers for the highlighted positions on the path can be drawn.

Two notes of caution:
* For ghost range: keep the frame ranges relatively small (20-50 frames),
otherwise you will experience a slowdown.
* For path frame numbers: if you have a graphics card which is picky about
text in the 3d-view (like x,y,z labels on empty), this may cause issues.
2007-01-01 08:32:11 +00:00
Nicholas Bishop
2406567b7d Added support for load/save of multires edge flags 2007-01-01 07:53:14 +00:00
Geoffrey Bantle
7212711225 ->Fix for bug #5542
Missing a check for non-manifold edges in new alt-j code. Fixed now.
2007-01-01 01:05:40 +00:00
Joshua Leung
a20666f349 == Action Editor ==
Little cleanup to the drawing-internals removing the need for a little
hack I put in for drawing keyframes in the NLA editor for active action
strip.
2007-01-01 00:56:16 +00:00
Nicholas Bishop
a8cb4a7860 Fixed bug #5557, retopo - toggling fullscreen shifts painted lines 2006-12-31 22:18:21 +00:00
Nicholas Bishop
0909fa71ea Added Ctrl+FKey shortcut for rotating the brush texture. Also improved the drawing of rotated brushes in propset mode. 2006-12-31 21:55:12 +00:00
Nicholas Bishop
e9bdfa4a3a Fixed bug #5556, sculpt - rotated texture is shown unrotated in the brush image 2006-12-31 19:49:59 +00:00
Peter Schlaile
1834540830 == Sequencer ==
Bugfixes:
* The speed controller changes now dynamically the IPO-curve range to
  it's needs. (Frame matching and negative velocities didn't work...
  Obviously nobody tried ;-)
* Fixed some redraw bugs. The IPO window is correctly updated if one pushes
  the IPO Frame locking button.
2006-12-31 15:38:14 +00:00
Nicholas Bishop
d63a2760b0 Extended the brush texture rotate option to work with Tile mode. 2006-12-31 11:31:39 +00:00
Nicholas Bishop
8b60504199 Bugfix for sculptmode texture tiling: tile size should not be affected by brush size. 2006-12-31 11:17:57 +00:00
Nicholas Bishop
9903c78c12 Prevent user from applying editmode operations that will be ignored by multires. 2006-12-31 10:51:21 +00:00
Nicholas Bishop
c101ee5d22 Added propagation of the edge seam flag for multires. Note that the flag is only stored for level 1. 2006-12-31 10:36:48 +00:00
Joshua Leung
75735b839b == Bugfix #5550 ==
* UV and Radiosity passes are now visible in Outliner (like for other passes)

* Changed tooltip of overwrite material to:
"Name of Material to use as Materials instead"

* Also, fixed Reflection and Refraction passes in the Outliner - flags were
mixed up, so turning on Reflection turned on Refraction and vica-versa.
2006-12-31 07:26:23 +00:00
Matt Ebb
2dd1c96761 == Compositor ==
* Added a new top-level add menu category for compositing nodes: Distort

It currently contains Translate, Rotate, Scale, Flip, Displace and Map UV

Also did some cleaning up of the ordering of add node menu items to be a
bit better organised.
2006-12-31 00:28:46 +00:00
Willian Padovani Germano
91b2bc5c23 Python API:
-Added missing access to Node win theme (thanks Mickaël Le-bihan for pointing) and also options group and group_active.
-Added Node space to Window.Types dict.
-Tiny update to the save theme script version numbers (keeping 2.42 for now to avoid popups, but should change to 2.43 right before release).

BTW: Happy New Year everyone :).
2006-12-30 18:28:49 +00:00
Martin Poirier
822a88959b === Code Fixes ===
Adding missing define for displace node (Matt can change the number when he gets back, this is just to fix compilation)

Removing "#pragma mark" from node.c. IIRC, that's XCode leaving crap around, so be sure to remove them when you commit (it outputs warnings on other compilers).
2006-12-30 16:35:46 +00:00
Matt Ebb
7d7714a675 == Compositor ==
* Displace Node

Displaces an input image's pixels based on an input vector mask. This can be
useful for a lot of things, like hot air distortion, quick-and-dirty compo
refraction, compositing live footage behind refracting objects, and more!

The amount of displacement in the X and Y directions is determined by:
* The value of the mask's channels
  - (red) channel 1's value determines displacement along the positive or
  negative X axis
  - (green) channel 2's value determines displacement along the positive or
  negative Y axis

If both the channel's values are equal (i.e. a greyscale image) the input
image will be displaced equally in both X and Y directions, also according to:
* The X scale and Y scale buttons
  - These act as multipliers to increase or decrease the strength of the
  displacement along their respective axes. They need to be set to non-zero
  values for the node to have any effect.

Because of this, you can use the displace node in two ways, with a greyscale
mask(easy to paint, or take from a procedural texture), or with a vector
channel or RGB image, such as a normal pass, which will displace the pixels
based on the normal direction.

A quick practical example:
http://mke3.net/blender/etc/displace-desert-h264.mov
http://mke3.net/blender/etc/displace-desert.blend.zip

And some techie examples:

Using a greyscale mask
http://mke3.net/blender/etc/displace-bw-h264.mov
http://mke3.net/blender/etc/displace-bw.png

Using a vector mask
http://mke3.net/blender/etc/displace-vec-h264.mov
http://mke3.net/blender/etc/displace-vec.png
2006-12-30 14:47:03 +00:00
Campbell Barton
98f607e127 use new edge/face keys ittributes 2006-12-30 09:40:05 +00:00