Commit Graph

7479 Commits

Author SHA1 Message Date
Brecht Van Lommel
e28ca47908 Fix for both cage and final DerivedMeshes being created in editmode even
if they are identical, as reported by Campbell on the mailing list. Now
uses a single DerivedMesh, saves on memory and drawing time.
2007-01-06 01:01:38 +00:00
Brecht Van Lommel
5c92969a5a Fix for bug #5583:
Crash when doing a boolean operation on a linked duplicate of the
same mesh.
2007-01-06 00:25:22 +00:00
Brecht Van Lommel
70d982f1d5 Fix for bug #5510:
Alt-B clipping doesn't work in side view. This seems to be a bug in
some gluUnProject implementations, used the same workaround as sculpt
mode did already.
2007-01-05 23:55:09 +00:00
Brecht Van Lommel
130f135d2a Fix for bug #5096:
Geometry shader node storage (added for UV name) wasn't allocated reading
older files, could crash on render.
2007-01-05 23:49:51 +00:00
Peter Schlaile
00c82cd3b2 == Sequencer ==
== Plugins ==

Made sequencer plugins work again by boosting the version number and
working around recent changes to the ImBuf-structure for older binary
plugins.

This commit also restores the original length of name in VarStruct.
2007-01-05 14:26:04 +00:00
Joshua Leung
429ec5eea3 Bugfix #5212:
IK Locks/Limits were applied to bones in IK-chains even when the IK
constraint for the chain had an influence value of 0.

I've added a check to see if the ik-constraint found has any influence
over a chain, before the chain is made available for ik-solving.
2007-01-05 08:16:23 +00:00
Joseph Eagar
5ddd48f140 =IPlugins=
Updated iff.h to use the latest imbuf struct definition.
2007-01-05 07:35:16 +00:00
Erwin Coumans
ea71aeb254 fix, static objects were not dynamically added at the right position. 2007-01-05 02:31:34 +00:00
Joshua Leung
770e816cee Bugfix #5600:
When clicking on the basis curve of a Curve's shapekeys in the IPO Editor
with 'Relative' turned off, Blender crashed. This was caused by the call to
set_sculpt_object() which only works on meshes (at the moment).

I've added a check to make sure this is only called for meshes. Also, silenced
the 'implicit declaration' warning my compiler was giving me about this function.
2007-01-05 00:23:55 +00:00
Joshua Leung
8fe3de0618 == NLA Editor - Object Collapsing ==
Now, objects without actions/nlastrips cannot get collapsed anymore
as it didn't make sense. The open/close triangle is no longer shown
for these.

Also, I went through and made sure all the NLA tools to comply with this.
This fixes bug #5591.
2007-01-04 23:39:09 +00:00
Joshua Leung
8039ad32df A few code cleanups for the IPO cleaning stuff in an attempt to get rid
of a bug which hides all but the active ipo-curve after cleaning. The bug
still remains, but I hope to have a solution soon.
2007-01-04 22:35:19 +00:00
Nicholas Bishop
834495b5ff Fixed two compile warnings I introduced. 2007-01-04 22:16:49 +00:00
Nicholas Bishop
1ccc7c46bf Retyped texcolfaces.tex_page to match MTFace. 2007-01-04 22:14:40 +00:00
Nicholas Bishop
98d3115ffe Multires bugfix: texcolface.tex_page needs to be updated on file load. 2007-01-04 22:09:58 +00:00
Nicholas Bishop
e526b0a06e Fixed bug #5587, emulated numpad viewport rotation keys non functional in sculpt mode, was just missing a call to convert_for_nonumpad. 2007-01-04 21:42:52 +00:00
Andrea Weikert
0c62c2551d fix for [ #5553 ] Command line broken
Loading iconfile list via BLI_getdir did change the current directory,
so the file wasn't found anymore.
2007-01-04 14:08:05 +00:00
Campbell Barton
7cacb35845 toolbox.c - for the label in VarStruct use the tooltip for the text to get around the 15 char limit that only allowed you to fill about half of the available area on the clever numbuts panel,
the tip isnt used for a label anyway. added comments explaining whats going on. only effects clever numbuts internaly.

type fixes for weightpaint_envelope_assign.py
2007-01-04 11:43:13 +00:00
Campbell Barton
b91d5bf951 Changing the VarStruct name length messed up plugins, so changing back. 2007-01-04 11:15:06 +00:00
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
Nicholas Bishop
bf95995bbc Made auto face fill (used in retopo) accessible from FKey editmode menu. 2007-01-04 05:24:00 +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
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