Commit Graph

9150 Commits

Author SHA1 Message Date
Erwin Coumans
00e956477e fix crash in constraint conversion, fix reference frame transformations for generic 6dof constraint 2007-01-19 03:14:51 +00:00
Nicholas Bishop
a78683f08e Partial fix for bug #5749, Modifier redraw problems. The mesh wasn't being flushed properly to show updates when auto creating faces; also added missing undo push and view refresh. 2007-01-19 01:32:47 +00:00
Ton Roosendaal
b8f47f9204 Small fix to prevent people to compile 64 bits blenders, without knowing
it might be harmful.

(It will print warning in console and exits Blender.)
2007-01-18 20:57:08 +00:00
Ton Roosendaal
719964ea8e Bugfix, irc reported
Node shaders, Texture Node, without input connected it did not default to
use "orco" anymore. Was caused by commits that cleaned up render code.
2007-01-18 20:06:48 +00:00
Peter Schlaile
a1cb195343 == Sequencer ==
Fixes bug #5494 reported by Wiebe (halfgaar):
After duplicate, last_seq wasn't correctly updated.
2007-01-18 18:47:06 +00:00
Peter Schlaile
ebbd85de25 == Sequencer ==
This fixes Bug #5299 (patch by Vladimir Marek (neuron) ), silencing
Sun CC, which is very picky in it's name mangling behaviour.
2007-01-18 18:22:06 +00:00
Campbell Barton
6b67ba00bb IDProp, removed reference to self - other EPYDocs dont use this and its confusing.
Differentiated properties and "game properties" in Object docs.

Also the new NLA/Pose key docs were added in the property class instead of Object, tsk tsk.
2007-01-18 18:09:28 +00:00
Kent Mein
c46873819d removed since it no longer works and with render layers not really needed.
Kent
2007-01-18 16:44:50 +00:00
Ton Roosendaal
1ff93c41f9 Bugfix #5394
Option "Apply Modifier" did not work for meshes with shape keys. Even made
a very bad mess of the Mesh. Added warning in code and prevented apply.
2007-01-18 16:14:37 +00:00
Kent Mein
271b97282f very minnor cleanup of spacing, and modify upperbounds on plugin version #
so 5 is acceptable.  (So texture plugins work when compiled against cvs)

Kent
2007-01-18 15:39:59 +00:00
Ton Roosendaal
634fe56fbe Bugfix #5316
Order of freeing of Blender database is important, but the past year(s)
new database entries were added in wrong places, so freeing could go in
wrong order. In this case it was Groups being freed before Objects. But
there are more errors...

It only shows really in Windows, since it's the OS that is sensitive for
writing data in freed memory. For other OSes it doesn't make Blender more
stable, only mem-frees happened, no mem-allocs.
2007-01-18 15:23:28 +00:00
Ton Roosendaal
53aabe99f8 Part 2 of bugfix #5741
Modifiers; on read file it sets user counter of linked ID data, except
for Object IDs.
2007-01-18 10:59:23 +00:00
Ton Roosendaal
425bada3a1 Bugfix #5741
Displace modifier now increases user count for Texture it links with.

Note: user counters for objects should not be increased. This is handled
differently (delete object = clear modifiers)
2007-01-18 10:33:47 +00:00
Ton Roosendaal
d2cb060d6f Bugfix:
Compositing, depenency fix, so nodes execute only when really changed.
(Error was in nodes that don't get buffers as input, but only values. These
nodes flooded "execute" events through the node tree.)
2007-01-18 09:09:16 +00:00
Tom Musgrove
898fccf463 = line ending fix =
these files all had non unix line endings...
2007-01-18 08:39:31 +00:00
Nicholas Bishop
21f431047f Fixed bug #5742, Crash on sculpt mode. This bug was triggered when adding a new object while already in sculpt mode. Sculpt mode wasn't being deactived on cameras, lamps, etc. Fixed in add_object_draw() by turning off G_SCULPTMODE, also by adding a check in sculpt_init_session() to be sure any previous session is free'd before making a new one. 2007-01-18 07:04:08 +00:00
Nicholas Bishop
33e4391136 Bugfix for retopo paint: deleting a line didn't do an undo push. 2007-01-18 04:08:01 +00:00
Campbell Barton
848e93ce41 error in generating projections fixed.
also modified the margin value so you dont need to have values like 0.001
and added an option not to use face areas to weight projections.
2007-01-18 01:10:48 +00:00
Ton Roosendaal
4d44475543 Bugfix #5732
Python scripts: when setting a layer for an object, the function assumed
the object had to be in the current scene, thus ignoring layers for other
objects.

Now the object->lay value is set always.
2007-01-17 21:07:10 +00:00
Campbell Barton
b9039611c6 bugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c:\ to the start of a non root dir. it wold be nice to have a BLI_join_path for this to avoid #ifdef WIN32's in the main code and to check for existing slashes 2007-01-17 15:04:37 +00:00
Campbell Barton
b630794be7 bugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c:\ to the start of a non root dir. it wold be nice to have a BLI_join_path for this to avoid #ifdef WIN32's in the main code and to check for existing shashes 2007-01-17 15:01:56 +00:00
Ton Roosendaal
9bc90c1669 Bugfix #5725
Curves widget: using "clipping" option didn't work well when dragging
multiple points. Now it clips based on entire selection.
2007-01-17 14:12:48 +00:00
Kent Mein
fc633e46c5 in seqeffects.c I removed and extra ; and then did a lot of formatting
fixes.

gamma.c made it return B_PLUGIN_VERSION instead of a hard coded 4.
I haven't had time to look at the other plugins but I'm guessing
the deal was B_PLUGIN_VERSION was still 3 and gamma.c was float aware
so it was bummped to 4.  Now that B_PLUGIN_VERSION is 5 I'm guessing
the other plugins need to be updated so they are at level 5 as well.
(float aware)  I'm going to work on it later today.  At home with a
sick kid.  This is all in reference to bug #5692

Kent
2007-01-17 14:10:02 +00:00
Campbell Barton
f7522a5d77 button alignment for logic buttons 2007-01-17 12:40:40 +00:00
Nicholas Bishop
e773ecc6a3 Fixed bug #5718, retopo - undo after applying returns the pen strokes to the wrong location 2007-01-17 08:22:52 +00:00
Joshua Leung
a7ea449214 (Hopefully this commit is ok for current bcon status)
Moved function used for 'Visual' keyframing, to live with the rest of the
API calls I added for Pose-Mode bone snapping. Now, it is in a more
'releasable' state.
2007-01-17 05:53:44 +00:00
Nicholas Bishop
52f0648949 Fixed bug #5647, retopo - projection buffer not updated when changed via numpad. Was caused by not updating the depth and matrix retopo data when changing the view. 2007-01-17 04:02:09 +00:00
Nicholas Bishop
5f798002c9 Added a new function+struct to glutil that takes care of reading in the OpenGL data needed for gluProject/gluUnProject. This allows retopo and sculptmode to share some of the same code, and is probably useful elsewhere as well. 2007-01-17 03:57:01 +00:00
Joshua Leung
a3c9ae8a88 == NLA Visibility Tweak ==
In a few cases, it may be helpful to turn off the 'only show objects that are
in visible scene layers in the nla' trick. By default though, this is still on. Find
the switch in the View menu of NLA editor.
2007-01-17 03:24:21 +00:00
Robert Holcomb
ffa0cfc9d9 Corrected buffer generation in matte nodes after Ton showed me a better way to do it. 2007-01-16 21:52:46 +00:00
Kent Mein
ea7e3f05ea fixed stupid little warning about targets differ in signedness.
(unsigned char verses char)

Kent
2007-01-16 21:34:39 +00:00
Nicholas Bishop
2bf818a267 Retopo paint fix: cleaned up the hotkeys, added Lkey for selecting the line tool, Hkey for toggling the pen hotspot. 2007-01-16 19:39:30 +00:00
Nicholas Bishop
5c0961dade Fix for retopo: xkey and deletekey should remove the active paint line. 2007-01-16 19:21:24 +00:00
Nicholas Bishop
1e785638f9 Usabilility fix for retopo: allow user to disable hotspots on line ends, also only display the controls for each tool (pen, line, and ellipse) when that tool is selected.) 2007-01-16 19:06:58 +00:00
Martin Poirier
797565916d === Transform Bug Fix ===
[ #5458 ] Some transforms are not accurate while pressing shift key

Shrink/Fatten & Push/Pull: Shift slowed the transformation but didn't add precision. (integer division. fixed by applying the same solution used in Grab)

Warp: Shift was ignored. Fixed by changing warp to use the same input method has To Sphere. That is, the 3D view acts like a big horizontal slider: Left -> No effect, Right -> Full effect. This is somewhat of a "big" change from how warp used to work but this is more predictable and is not limited by the original position of the mouse pointer. (of course, this works with Shift correctly too).
2007-01-16 18:55:15 +00:00
Ton Roosendaal
bd5c6e3a21 Bugfix:
Render: Ambient Occlusion was being triggered now with the Material flag
(Shader panel) "Shadow". Nice idea, but that was not so in 2.42a and
before, breaking how previously renders looked.

Now the "Shadow" button in Shaders panel only triggers shadow again.
(Note: the Ambient slider in material triggers AO)
2007-01-16 16:30:16 +00:00
Campbell Barton
6d0089237e dont use python keywords as variable names. 2007-01-16 15:19:04 +00:00
Campbell Barton
05ecd017ca cleaned up uv island projection generation and added an option 'Init from view' - to use the view vector as one of the first projections 2007-01-16 14:33:32 +00:00
Joshua Leung
c967679bb8 == Armature Joining Bugfixes ==
Since 2.40 (and a few pre-releases around then), armature joining has not
worked correctly. Constraints and other attributes of bones in posemode
(IK DOF limits, transform locks, custom shapes, etc.) were not preserved
on the armature(s) that were joined onto the last selected armature. This
was a serious production problem, as it meant that you could not easily
add pre-made rig segments and merge them with the rest of your rigs without
having to redo all the constraints. After a few attempts, I've finally
managed to fix this.

All constraints and parenting relationships get name corrections for the post-
merge armatures. Action channels in actions don't really get any corrections
yet unless the action is being used by an Action Constraint.

Python-API people: beware, I may have broken something in this commit.
2007-01-16 09:18:01 +00:00
Nicholas Bishop
062843cca1 Retopo bugfix: freeing editmesh should set retopo fields to 0/NULL. 2007-01-16 08:29:39 +00:00
Nicholas Bishop
6f976db9f7 Fix for bug #5628, sculpt - ghost of circle left when going from 3d view to buttons window. Added a check to insure brush is inside the current view3d before drawing. 2007-01-16 07:35:42 +00:00
Nicholas Bishop
ceee069763 Fixed a memory leak caused by using sculptmode's partial visibility on a mesh with customdata. 2007-01-16 06:56:03 +00:00
Nicholas Bishop
9ff336d14d A few fixes for saving/loading partial mesh visibility (sculptmode): pay better attention to how many verts/edges/faces there really are (not just the visibile ones) 2007-01-16 06:49:57 +00:00
Campbell Barton
dc00d9c5de set the render aspect correctly when rendering non square images. 2007-01-16 06:39:15 +00:00
Nicholas Bishop
49d1d10c1b Disable partial mesh visibility when leaving sculptmode. 2007-01-16 06:36:50 +00:00
Stephen Swaney
fbfe27761a fix for warning: implicit declaration of function 'id_us_plus'. tsk. 2007-01-16 05:20:39 +00:00
Stephen Swaney
d917157f59 bugfix: #5581 Joining python created curves crashes Blender
Curve_appendNurb() was incorrectly appending Nurb to Curve
rather than using BLI_addtail().
2007-01-16 04:08:12 +00:00
Campbell Barton
dced690915 wasnt working for mixed modes 2007-01-16 02:49:58 +00:00
Willian Padovani Germano
feb63d7d3b Scripts:
More small updates to the ac3d importer, to calculate normals for the created meshes and to avoid problems with older .ac files.
2007-01-16 00:50:31 +00:00
Campbell Barton
72de9a64c9 was missing a check for the end edge that made skinning it raise an error. 2007-01-15 23:37:34 +00:00