Commit Graph

53000 Commits

Author SHA1 Message Date
Campbell Barton
8bb97b6efa patch 7145 - Copy Select objects by PassIndex, Ctrl+C, Ctrl+G
Sequencer Feature, Split Image Sequence.
Splits a image sequence into strips. useful for importing frames for animatics.
 Also added undo calls in a few places that did not have it.
2007-10-17 11:17:11 +00:00
Campbell Barton
51ca77a114 patch, 7340 from frank richter add glPush/PopClientAttrib 2007-10-17 09:51:13 +00:00
Joshua Leung
919e5baba8 IPO-Transform Bugfix:
Peach/ideasman_42 report... 

After transforming sequence IPO's, there were occasional crashes.
2007-10-17 08:23:08 +00:00
Campbell Barton
5b755bade2 ipo error kept popping up and lock ipo didnt redraw the sequencer view (note, still not realtime, but at least it redraws now) 2007-10-16 18:04:56 +00:00
Campbell Barton
8e3b881181 sequencer,
simple fix for extend (aka ripple editing)
dont operate on metastrips makes them work as expected (since the seq's inside are moved).
2007-10-16 00:10:37 +00:00
Campbell Barton
e9c2aa691e updated pyconstraint template from nathan (cessen) which exposed some
bugs with pyconstraints, also added a missing decref from python (wasnt freeing the return value from the settings 
button).
2007-10-15 15:28:09 +00:00
Campbell Barton
15ad8e7e66 pyconstraints USE_TARGET wasnt being checked for true/false, was assumed True whenever it was assigned in the
script
2007-10-15 14:41:29 +00:00
Campbell Barton
4fa17b2eb4 pyconstraints doTarget function was getting an uninitialized matrix. 2007-10-15 14:19:11 +00:00
Brecht Van Lommel
565316909e Bugfix:
Object constraints with a driven influence ipo were not being evaluated
properly. The code for adding the depsgraph relation and updating without
time changes was simply missing.
2007-10-15 10:36:30 +00:00
Ken Hughes
ff5fd2eb38 Tools
-----
Bugfix #7493:  boolean difference operator was being applied in the wrong
order (difference modifier worked correctly).
2007-10-14 20:58:57 +00:00
Kent Mein
6fe98f19a9 This is patch [#7483] imbuf support for uncompressed DDS images
provided by Amorilia

NVIDIA updated the dds stuff so we get a nice new patch.

Kent
2007-10-12 16:09:59 +00:00
Peter Schlaile
3697e08524 == IMBuf fix ==
Fixed Campbell's patch for IMB_flipx:
- header file declaration is corrected
- reordered loops to make things faster (less cache misses 
  and no tests for float-buffers on a _per pixel basis_!)

(Campbell: it'd be nice, if you could check with me before patching
the sequencer. Or at least pay attention to compiler warnings :) )
2007-10-12 06:37:20 +00:00
Brecht Van Lommel
4f96108137 Fix for error in recent b-bone rest pose commit. 2007-10-10 23:36:58 +00:00
Campbell Barton
4a43099c5a Peach request
new option for the image sequencer's image strips, flip x/y, (useful when making animatics to test the direction characters walk across the screen)
added IMB_flipy was alredy there, needed to add IMB_flipx.
2007-10-10 23:34:40 +00:00
Brecht Van Lommel
5f6d775e0c Fix for bug #7447
Pressing twice on a constraint or modifier button did 2 undo pushes,
the ROUNDBOX button they use also generated an undo push.
2007-10-10 22:24:26 +00:00
Joshua Leung
d51fbd2bf2 Bugfix for Auto-Keying: (blenderartists.org report)
When auto-keyframing AND 'around selected' were both activated, extra keyframes were being added when the view was moved. 

This was because the transform code was being used for special center calculations (using TFM_DUMMY), so auto-keying is not skipped for that mode.
2007-10-10 10:22:43 +00:00
Campbell Barton
e59bf9fa6f initial splitting of egde/face response 2007-10-10 09:33:34 +00:00
Brecht Van Lommel
87b186e6e7 Make B-Bones not deform in rest position by default.
B-Bones already deformed the mesh in the armature rest position, which is
unconvenient. For backwards compatibility existing .blend files still have
a button for the old behavior enabled.

(peach feature request)
2007-10-10 09:00:47 +00:00
Campbell Barton
da792a426a Sequence editor, (peach request)
Grab/Extend from frame - similar to a feature thats know as ripple editing in other applications. this is a fast way to add or remove frames 
from 
clips. to use.

Select all, drag the playbak head to the area you want to extend and press Ekey, the clips will be extended on the side the playhead that 
the mouse is on.

Also did more cleanups to sequencer transform code.
2007-10-09 20:37:53 +00:00
Joshua Leung
a38d7d6338 IPO-Transform Bugfix:
Now MMB-constraint select should now work better than it did after the refactor. I've made some changes to setNearestAxis so that it is now an entrypoint from which spacetype (currently divided into 3D or 2D) specific methods can be used. The old code for this (IPO MMB-constraint) has effectively been restored.
2007-10-09 09:30:22 +00:00
Joshua Leung
088c3083a3 Bugfix:
When transforming on one axis in a 2d-editor, it no longer mentions 'global' in the header print.

Un-related note: the mmb constraint selection in 2d-editors is currently quite wonky, as the current code for this only suits the 3d-view.
2007-10-09 07:49:54 +00:00
Joshua Leung
f9535b4eb5 Bugfix #7482:
Trackball transform did not work correctly for "individual centers" pivot mode in face-select mode. It was missing a case that would allow this happen.
2007-10-09 06:21:26 +00:00
Joshua Leung
3a6494c4b8 Bugfix #7489:
Warp Tool (Shift-W) suffered from 'division-by-zero' (TM) problems when there was only one element (selected object or selected vertex) to transform.
2007-10-09 05:54:31 +00:00
Campbell Barton
a89db366a0 made sure sequencer header is always visible 2007-10-09 00:54:37 +00:00
Campbell Barton
80af4ce69d Sequencer
changed teh way single images operate,
* they dont act like a sequence of 1 image - so you can drag and resize without the trouble of having teh center image.
* they draw without the single frame in them. and no 'gutter?' strip drawing.
* the start frame is always set to be where the handles start.

This is done in the transform and draw areas of the sequencer. added 2 functions,
fix_single_image_seq - moves the seq start without any visible change - so it will load in older blend's
check_single_image_seq - quick way to check for single image.
2007-10-09 00:22:59 +00:00
Campbell Barton
7d82b77209 Sequence editor,
rewrote the part that deals with moving the strips on the X axis - only user visible functionality is that you can move the seq bounds in one step now.
internally added macro's to make dealing with sequence's less touble.
2007-10-08 23:38:50 +00:00
Matt Ebb
74f744010b * Patch #6877: Zoom to Mouse Position
by Fahrezal Effendi (exavolt)

This adds an additional preference to the view and controls section, which uses the mouse's position as the centre of the zoom when zooming in the 3D View with Ctrl-MMB or the mouse wheel. It's very nice for big scenes, thanks Fahrezal!

A nice todo would be to add this for 2D views as well.
2007-10-08 22:17:51 +00:00
Matt Ebb
ca1ea2ce65 * Replaced some hard-coded 10000.0 with MAXFRAMEF in the Image sequence node 2007-10-08 22:14:22 +00:00
Kent Mein
d2ecbefa16 This is a fix for the following bug:
7096  	bitfields not c++ standard compliant, can't compile using sun CC

Kent
2007-10-08 19:07:50 +00:00
Campbell Barton
c535939726 gridsubdiv was not initialized properly 2007-10-08 17:37:04 +00:00
Campbell Barton
0b9f1be464 UV Editmode
made UV face selecting into a generic function that respects UV sticky modes.
moved this out of lasso so border select uses too.
2007-10-08 15:13:07 +00:00
Matt Ebb
2062aa6838 * Fix for NLA with Map Old/Map New
NLA wasn't getting the correct strip start/end times when Map 
Old/Map New was being used. This fixes it and makes the animation
get scaled properly.
2007-10-08 09:24:29 +00:00
Peter Schlaile
9087ff2dec == Sequencer ==
Raised the number of prefetch frames for people with a _lot_ of memory :)
2007-10-07 14:42:14 +00:00
Joshua Leung
d6c4abb56f Removed a variable that wasn't really needed
(Note: gcc doesn't give any more compile warnings about the new code here, but other compilers may)
2007-10-07 09:21:28 +00:00
Campbell Barton
36ebd78cfd minor change to UV lasso select - dont need to index verts twice 2007-10-07 09:16:08 +00:00
Joshua Leung
c60cc6ac85 == Anim Editor Transform ==
Restoring the 'force redraw' functionality, which is only active when the 'lock' icon on the header of the respective editor is turned on.
2007-10-07 08:44:14 +00:00
Campbell Barton
8703dd9f52 This did not work how brecht intended - shared location sticky mode first uses the vert then checks the locations match, not just the locations.
updated lasso tool to support this.
2007-10-07 02:49:03 +00:00
Joshua Leung
e96b27dd72 Action Editor - Sliders Bugfix:
Pasting values into/onto sliders in the Action Editor didn't insert new keyframes for the related channels. 

I've added a one-liner to the interface/buttons code which calls the button callback upon pasting values, thus fixing this bug and perhaps some others in the future. This shouldn't cause any problems in general (I haven't seen any yet!).

Thanks to venomgfx (Pablo Vazquez) for reporting this.
2007-10-05 09:03:37 +00:00
Daniel Genrich
0efce1fa79 Merge with trunk: svn merge -r 12182:12207 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2007-10-04 11:22:54 +00:00
Joshua Leung
a41da4fe11 Some code cleanups:
* editaction.c - merged the functions for channel properties (renaming, slider limits, protect/mute, etc.) 

* blenlib
- added a new function BLI_findindex which finds the index position of a given item in a list. It will return -1 if it can't find the item 
- tidied up code formatting so that (the bits I have checked) have a single formatting style instead of a few different ones
- added a few paranoia checks for NULL in one of the listbase-related functions
- removed some half-dutch variable names still lurking around
- culled a few compiler warnings... there are still two in util.c related to (const char *) and (char *) type things
2007-10-04 10:50:15 +00:00
Joshua Leung
ee15957f04 Fixing incorrect tooltips for bone layers in Buttons Window 2007-10-04 09:30:52 +00:00
Joshua Leung
476ebfc5d0 Bugfix for Move Bone to Layer:
The case for EditMode needed to occur before the one for PoseMode as PoseMode can still be 'on' for an armature even while it is in EditMode.
2007-10-04 09:20:01 +00:00
Joshua Leung
4e7128f5fd Added menu entries for armature/bone layer changing 2007-10-04 01:36:12 +00:00
Daniel Genrich
626edd8de8 New: Collision detection for inter-timestep-collisions for edge-edge contacts. 2007-10-04 00:19:59 +00:00
Daniel Genrich
265572744e New: Collision detection for inter-timestep-collisions for triangle-point contacts. No response yet though. 2007-10-03 22:43:26 +00:00
Jens Ole Wund
7c4955ee04 bug fix #7399 crash with certain Physics button settings
-- on the fly allocating of ob->pd data was missing in SB_II panel .. still is ugly that .. shudder
2007-10-03 21:01:14 +00:00
Matt Ebb
3a46c74a6e * Fix for bug #7445, black dots when using Constant QMC AO sampling
Was a bit of a typo that only showed up when ao samples UI value was less than oversample level
2007-10-03 14:55:00 +00:00
Daniel Genrich
62107985dd Recoded cache, fixed some crashes there 2007-10-03 13:58:05 +00:00
Campbell Barton
d3382b8d1f UV EditMode
-lasso tool now respects sticky selection setting when used 
with face 
mode
-use constants for sticky value.
2007-10-03 10:36:04 +00:00
Joshua Leung
ba1f2248d0 Weekly purge of compiler warnings 2007-10-03 03:50:46 +00:00