Commit Graph

47594 Commits

Author SHA1 Message Date
Matt Ebb
b21e895d03 * Added a bit more 'padding' around the node sockets, so there's a
larger area to drop the noodle connection on. This helps a lot when 
working with lots of nodes and the view zoomed out to maximum.
2007-07-03 07:39:17 +00:00
Matt Ebb
f12ed164b7 * Added a hotkey (T) for the sculpt mode flatten brush
(part of this commmit snuck in the last one)
2007-07-03 07:30:42 +00:00
Matt Ebb
427d6fc21d * Removed the 'Beautify Fill' confirmation. None of the other fill
tools have them any more, it was an annoying historical artifact
from before undo.
2007-07-03 07:24:55 +00:00
Matt Ebb
cb82b297ad * Added the invisible 'Bone envelopes to vertex groups' command to
the 3D View Weight Paint -> Paint menu.
2007-07-03 07:22:28 +00:00
Joshua Leung
b6ccafc501 == Action/IPO Mute Icons ==
Added new defines for the icons used to show this, on the request of Matt Ebb. For now, the eye icons have simply been duplicated to the new spaces, but 'more descriptive' icons should be made.
2007-07-03 01:23:30 +00:00
Joshua Leung
2929e8f65a == Constraints/Arithb Code ==
* Formatting 'fixes' for more consistency with rest of code
* Moved Mat4BlendMat4 from constraint.c to arithb.c/h
2007-07-03 00:58:38 +00:00
Joshua Leung
d65816c49a == Action Editor ==
Some cleanups of the Action Editor drawing methods. These now make use of the filtering stuff I added for the backend cleanup.

Unfortuantely I still cannot get Blender's ui widgets to really work properly, so that toggle icons can have tooltips. There were some severe scaling issues.
2007-07-02 12:04:22 +00:00
Campbell Barton
39e4dc6202 replace PyInt_CheckExact with PyInt_Check, same for floats and strings so subclass and C/subtypes work.
was reported as a bug a while ago.
2007-07-01 05:41:23 +00:00
Joshua Leung
129290fbe1 readfile.c - fixed a indentention on a few lines 2007-06-30 03:26:18 +00:00
Campbell Barton
f6090e814a reversing unintentional changes. 2007-06-30 00:18:10 +00:00
Campbell Barton
7b05c1023d mixed decloration, own Lattice typo's 2007-06-30 00:00:04 +00:00
Campbell Barton
d31999767b same as 2.44 stable - missing NULL checks. 2007-06-29 13:46:15 +00:00
Campbell Barton
e192e7e024 remove unneeded checks from the python API 2007-06-29 08:59:26 +00:00
Campbell Barton
684869fd74 patch from harkyman to make it possible to extend images to span more frames in the sequencer.
Link includes example script
https://projects.blender.org/tracker/?func=detail&aid=6893&group_id=9&atid=127
2007-06-29 05:33:43 +00:00
Kent Mein
cdb07720ed Code cleanup's done by bedraw
This is patch #6886
https://projects.blender.org/tracker/index.php?func=detail&aid=6886&group_id=9&atid=127

removes some unused define's and some code that is no longer used and fixes some
formatting issues.

Kent
2007-06-28 15:57:54 +00:00
Campbell Barton
85bbc4c3e2 Mesh.c - added missing error checking for vert ranges and that verts are valid.
Mesh.c - removed unneeded checks for creating ints.
Text3d.c - own error - setting the 3d text didnt work, 1 liner fix.
2007-06-28 13:46:42 +00:00
Kent Mein
470dda4a21 This is a fix for game engine bug #6667
http://projects.blender.org/tracker/index.php?func=detail&aid=6667&group_id=9&atid=306

I moved some of the X11 initation code down a little bit so that
if you run gameplayer with no args or gameplayer -h 
it will not crash even if you do not have X11 present.
(All it does is print usage)

Kent
2007-06-27 15:08:31 +00:00
Roland Hess
a7a5e5c6cb Adds the following selection methods to the Sequence Editor:
Ctrl-RMB and Alt-RMB now call for different selection methods that are helpful when working within a single channel that holds several strips. The Ctrl modifier signals "Right" and the Alt modifier signals "Left".

Ctrl-RMB clicking a strip will select that strips left handle and the adjacent handle of any strip that abuts it on the left, allowing you to move the boundary between the strips without changing their outer endpoints. Ctrl-RMB clicking again on that strip will add to the selection all strips to the left of it, allowing you to slide the entire set of strips out of the way for a new one.

Alt-RMB works the same, but to the right.

Ctrl-Alt-RMB on a strip selects the surrounding handles only, allowing you to move the targeted strip and have the surrounding two strips adjust to follow.
2007-06-26 17:46:12 +00:00
Kent Mein
5bfefc6817 This is patch #6833
https://projects.blender.org/tracker/index.php?func=detail&aid=6833&group_id=9&atid=127

It adds the option when creating a new "screen" to create an empty one
(one with one window)

While its one more click, I think this is pretty dang useful.  If people
want to revert it feel free, and we can talk about it.
This seems more consistant with the Scene bar though so I figured it was safe 
to add it.

Kent
2007-06-26 16:16:13 +00:00
Jiri Hnidek
60e56fe480 - Added several new callback functions for geometry node.
- Refactored geometry layers.
- Removed several unused debug prints.
2007-06-26 12:19:19 +00:00
Joshua Leung
a82b7171a2 == Action/IPO Editors - Code Cleanup ==
Added two macros which are used to test if the active Action/IPO editor is displaying data from a scaled NLA-strip.
2007-06-26 10:08:58 +00:00
Ken Hughes
cc1a3941cc For scons: Add "-DWITH_DDS" to compile flags when dds is enabled. 2007-06-25 21:25:28 +00:00
Kent Mein
22ef0daefd This is patch #6825 (The patch missed a couple of them but
this should get it all.

recurse was spelled resurse in a couple of places.

Kent
2007-06-25 20:15:36 +00:00
Kent Mein
613646b33e This commit is a modified version of patch #6860
It adds read only dds support.  (Writing will come later)

Kent
2007-06-25 19:50:25 +00:00
Ton Roosendaal
9dd0c5abe5 Whoa, a new feature!
Sequence Editor: SHIFT+R, Remap Paths (also in pull down menu)

This allows to remap the root of a path to another directory.
Works on all selected Image strips. That way you can make absolute
paths relative, for example.

Example:
original path: /mnt/orange/finals/06_which_way/06_03b/
to be remapped: /mnt/orange/finals/
remap to: //
new path: //06_which_way/06_03b/
2007-06-25 13:01:46 +00:00
Nicholas Bishop
b5fb85aede == Sculpt Mode ==
Refactored and improved sculptmode-stroke.c.

* With smooth stroke on, the Spacing value is now taken into account (if zero, the default value of two is still used)
2007-06-25 11:07:12 +00:00
Nicholas Bishop
d44d203893 == Sculpt Mode ==
* Made partial redraw mode a bit more robust, fixed a couple of potential problem spots
* Fixed display of smooth stroke with partial redraw.
2007-06-25 04:55:09 +00:00
Nicholas Bishop
b7c8eb39ed == Sculpt Mode ==
Removed the draw_flag field from SculptData, moved the two draw flags over to SculptData.flags
2007-06-24 23:02:58 +00:00
Nicholas Bishop
8cf2d5ca4a == Sculpt Mode ==
Added a new input control that smooths the brush stroke.

This option controlled by the menu item Sculpt>Input Control>Smooth Stroke. When enabled, the brush has a delayed effect on the model; a green line is drawn to indicate the smoothed path of the stroke. After ~200 pixels, the first half of the stroke will be applied to the model; the process then repeats, with a new segment of the stroke being applied to the model after every 200 pixels. On mouse up, any remaining portion of the stroke will be applied.

Other changes:
* Added a flags field to SculptData; currently only used for smooth stroke but other flags can be moved into it
* Moved the damaged_rects/verts into SculptSession
* Simplified brush application by moving init_editdata into do_symmetrical_brush_actions
* Removed Averaging from sculpt Input menu; smooth stroke should take its place

TODO:
* Fix display of the smooth line in Partial Redraw mode
* Make the smoothing and delay factors adjustable
* Optimize the stroke application (currently using the old 'dot' style of applying the brush)
2007-06-24 22:28:28 +00:00
Campbell Barton
296758ff01 PyAPI - incorrect docstrings for colorbands 2007-06-23 12:39:22 +00:00
Joshua Leung
25194b5b09 == Action Editor - Keyframe Selection ==
Recoded this again to further simplify it. This method could apply to the NLA editor if keyframes remain in there after a redesign.
2007-06-23 12:09:41 +00:00
Joshua Leung
a01616198a == Action Editor ==
Fixed a few little memory leaks introduced during my recode. They were only likely to occur in a few cases that don't happen very often.
2007-06-23 07:12:09 +00:00
Joshua Leung
1c41d19964 == Auto-Keyframing ==
I've moved the Auto-Keyframing functionality out of the special_aftertrans_update function into two separate functions, which can be called independent of the Transform system. One is for Bones, while the other is for Objects.

This now means that the Shift-S Snapping Tools will now work with auto-keyframing.
2007-06-23 06:56:16 +00:00
Erwin Coumans
ca26aeb7b2 upgrade to latest Bullet 2.53. cross the fingers it doesn't break one of the exotic or less exotic platforms 2007-06-23 05:28:07 +00:00
Erwin Coumans
14ad8c9941 preparation to upgrade to Bullet 2.53 2007-06-23 05:02:31 +00:00
Erwin Coumans
5c8d1352ea bugfix: adding static objects will 'replace' previously added static object in game engine. need to use new motion state. 2007-06-23 04:49:17 +00:00
Campbell Barton
62ac9cba9c (Python Object API)
setting object layers didnt break once the base of an object was found.
DAG update and countall ran even when the object wasnt in the scene.
2007-06-22 13:38:15 +00:00
Joshua Leung
188e3ede4f == NLA/IPO Muting ==
This commit adds a few open/closed 'eye' icons to the NLA editor to toggle IPO-block muting on Object (IPO) channels, and Action Strip muting on Action Strips, like in the Action Editor.
2007-06-22 11:55:00 +00:00
Joshua Leung
aad13c1b87 == IPO Muting ==
It is now possible to temporarily 'mute' and IPO-block or IPO-curve. This functionality has been requested by the Plumiferos team, and is based off Patch #6866 by Juho Vepsäläinen (bebraw).


Usage:
* In the IPO Editor header, there is a toggle button (open/closed eye used for Outliner Visibility restriction) beside the IPO-blocktype menu, when there is an active IPO-block in the IPO Editor.

* In the Action Editor, beside the 'lock' icon for channel protection on Action/Constraint channels, there is the open/closed 'eye' that can be toggled to set the mute status of said channel's IPO-block.

* Also in the Action Editor, you can mute individual IPO-curve channels in a similar manner.
2007-06-22 11:09:31 +00:00
Joshua Leung
3d4a9c1c43 Silenced a few compiler warnings 2007-06-21 11:24:42 +00:00
Joshua Leung
371e52c32f == Clamp To Constraint - Depsgraph Fix Part2 ==
Now when editing the curve that a Bone with a Clamp To Constraint uses as its target, the Bones's position will be updated in realtime to match to changes in the curve. 

This should also work for the FollowPath constraint now too.
2007-06-21 06:23:38 +00:00
Joshua Leung
ba54e09fb7 == Clamp To Constraint ==
Now when editing the curve that an Object with a Clamp To Constraint uses as its target, the Object's position will be updated in realtime to match to changes in the curve. 

I was going to have this working for bones too, but I haven't got that quite working yet.
2007-06-20 12:09:05 +00:00
Joshua Leung
8975e34439 == PyConstraints - 2 Fixes ==
* Error print for getSettings was lacking a newline
* When adding a PyConstraint using Ctrl-Alt-C, the script is now queried to find out whether it uses a target.
2007-06-20 09:58:16 +00:00
Joshua Leung
d9b94275c0 Action Editor:
Removed a little bit of old code I forgot to remove :)
2007-06-20 07:33:25 +00:00
Joshua Leung
0616766f87 == Constraints - Code Cleanup ==
Simplified the code in two functions where checking for targets/subtargets could really have been done using Constraint API methods (constraint_has_target, get_constraint_target).
2007-06-20 07:11:31 +00:00
Joshua Leung
2bc96c07a7 Bugfix #6864:
Copying Displace modifiers by themselves did not work correctly. The code was incorrectly just copying memory for source modifier to the new copy, causing problems due to the ModifierData struct at the start of the DisplaceModifierData struct (linked list pointers still referring to old stack).
2007-06-20 05:23:31 +00:00
Matt Ebb
d3c4ec9e5c When saving render result images from the image editor with
image->save as, default to the scene image type settings (just like 
with F3: save rendered image).

Multilayer is still available in the list but most of the time, 
it's not what you want by default. Too many times I've saved out a  
render and frustratingly ended up with a huge 'filename.png.exr'.
2007-06-20 00:36:53 +00:00
Diego Borghetti
b3996a53c2 Fix segfaul reported by slikdigit in irc. 2007-06-19 22:03:08 +00:00
Campbell Barton
d6330266f2 changed floating point values in python to display one more decimal place- BMAE script needed to display more (as it worked with 2.41) and it seems resionable to add. 2007-06-19 18:40:17 +00:00
Joshua Leung
396cef6062 == NLA Editor - Bugfix 6780 ==
Deleting a marker using DELKEY or XKEY requires undoing action twice. Changed order of deleting markers and deleting keys/strips to be in line with Action Editor.
2007-06-19 12:25:44 +00:00