Commit Graph

47594 Commits

Author SHA1 Message Date
Joshua Leung
301c767a9f IPO Transform Bugfix:
When IPO-Keys were being shown, the y-values of the keyframes should not change during transform.
2007-10-02 10:59:02 +00:00
Joshua Leung
d5fe701370 == Bone Size Transform Tool ==
Fixed a few bugs with the Alt-S transform tool when the armature drawtype is set to B-Bone:

* Transform constraints seem to have been turned off for this sometime in the past few weeks. Re-enabled this.
* Numeric input for this tool was not working correctly. You could only set the value of the x-axis width only. Also, giblish was being displayed for the other channels
* The char array used in the BoneSize function was smaller than the one used in the headerBoneSize (new function added for this transform mode instead of reusing some old one).

Also, I've added some menu entries for both Alt-S tools in editmode, which did not exist in the past. How were the users supposed to figure this out???
2007-10-02 10:45:22 +00:00
Daniel Genrich
a5db16f913 Fixed crash with ipo'ed collision object 2007-10-02 09:47:08 +00:00
Andrea Weikert
565570058f == imagebrowser ==
- activated image browser for texture databrowse (texture buttons)
- activated image browser for brush texture databrowse (+small fix of callback function)
- activated image browser for image databrowse in UV/image editor
- fixed: filter didn't work with databrowse and append/link. 
- filter buttons in header now don't appear when doing databrowse or append/link
- loading previews for textures added when linking/appending.
2007-10-02 09:11:50 +00:00
Joshua Leung
27b239f89c Bone/Envelope Size Bugfix:
When in envelope draw-mode for an armature, it would not be possible to change the envelope distance of a bone using Alt-S if the distance was 0.
2007-10-02 06:30:33 +00:00
Joshua Leung
9bfcbe9505 Action Editor - Sliders Bugfix:
The Action Editor slider callbacks were missing depsgraph update calls, so the 3d-view wasn't correctly updated after using to sliders to add keyframes
2007-10-02 00:43:35 +00:00
Joshua Leung
e1ebf22921 sequence.c - compiling bugfix/hack
When compiling Blender without FMMPEG here, compiling broke on this file after the prefetch buffering commit. I've added some #ifdefs to fix this in the meantime, but Peter should check.
2007-10-02 00:00:06 +00:00
Daniel Genrich
261597835a Bugfix #7371 2007-10-01 23:13:48 +00:00
Daniel Genrich
b91cb25986 Merge with trunk: svn merge -r 12151:12179 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2007-10-01 21:36:39 +00:00
Daniel Genrich
777c16d444 Bullet is back, but now generalized enough to allow own distance/calculation. Some bullet makefile-fix by 'gsr b3d'- please test it. Also fixed some crasher with cache. Also implemented moving-collisions enabled kdop (response missing in the moment) 2007-10-01 20:19:22 +00:00
Campbell Barton
dff6276711 made changing mesh vert/edge/face modes redraw the image view since,
draw verts and faces in UV mode when face select is enabled but syncing 
with the mesh selection is not.
2007-10-01 09:51:45 +00:00
Joshua Leung
387d05aaef IPO Editor Transform - More bugfixes:
* Rotation/Scaling now use the correct center-point. The helpline is now drawn correctly too for this 

* For Rotation in UV/IPO editors, constraints are now disabled as they didn't make sense
2007-10-01 08:10:08 +00:00
Peter Schlaile
5b1d669006 == Sequencer ==
This patch adds prefetch buffering to the sequencer
(see the tracker for additional details:

https://projects.blender.org/tracker/?func=detail&aid=7307&group_id=9&atid=127
)

We create seperate render threads (currently one, because of the fact,
that sequence rendering modifies global structures...), that
render up to the defined userpref value "Prefetch frames" in advance.
(Pressing Alt-A will _first_ fill the buffer and then start playing.)

Bassam and I did some extensive testing, so it should work.

If you don't configure your number of prefetch frames, prefetching is disabled!
(Sane defaults... :)

Also: if the machine is definitely too slow and runs out of the prefetch
area, prefetching is disabled automatically and we are back to good old
frame skipping mode.

My Dual Athlon is able to handle 4 parallel DV streams at once (sometimes
a little bit choppy, but prefetching is never disabled!)

I fixed also a long standing bug in the audio code, that made playback run
backwards at the beginning...
2007-10-01 08:03:11 +00:00
Joshua Leung
2182f53a9a == IPO Editor Transform ==
* It is now possible to rotate the Bezier controls for the IPO Editor (RKEY)
* IPO Record has now been remapped to Ctrl R.
2007-10-01 07:10:50 +00:00
Joshua Leung
4205924168 == IPO Editor Transform - Bugfix ==
This commit fixes one of the bugs mentioned yesterday. Now cancelling a transform will result in the right behaviour.
2007-10-01 03:11:11 +00:00
Joshua Leung
6833fa4148 == IPO Editor Transform Refactor ==
As with the Action and NLA editors, I've refactored the transform code for the IPO editor to get rid of the special (and clunky) transform loop that had been created. The approach this time is closer to the one taken for the UV/Image editor.

What's New/Will-be-possible-in-the-future:
* Numeric input now works for the IPO editor
* Proportional Edit support for the IPO editor will eventually be added. 
* Rotation (hopefully), once some hotkeys have been remapped

Known Problems:
* If a keyframe moves past neighbouring keyframes and the transform gets cancelled, it doesn't get restored correctly. This problem is quite icky to resolve (I've got a large hack for this, but that currently segfaults randomly).
* When scaling, the dashed-line (helpline) is drawn from the wrong starting co-ordinates. This does not affect the actual scaling though
* Trying to scale BezTriples with autohandles still doesn't work if either of the handles haven't been transformed yet. This behaviour was already present prior to this commit.
2007-09-30 11:43:16 +00:00
Campbell Barton
b47c75953b - rewrote UV Stitch, (seperate from limit stitch now), does much less
work for same results.
- UV Stitch with the V key was not working (as stated in the menu)
- Rotate UV's and Colors now have an option for CCW (was in the menu 
but not implimented)
- Draw face dot in UV when in face mode
2007-09-30 08:28:15 +00:00
Mal Duffin
51b56a4d3f GE Patch by Hamed Zaghaghi - Adding Motion Blur to the Game Engine.
I reviewed the code, suggested an update ( initialising accumulation buffer ), and tested the resulting update successfully.

It's great to see more GE developers!GE Patch by Hamed Zaghaghi to add motion blur to the GE ( using the accumulation buffer ).

I reviewed code and tested, gave some feedback ( initialising accumulation buffer ) which was implemented straight away, and re-reviewed.

It's great to have another GE coder on the team!
2007-09-29 18:51:01 +00:00
Geoffrey Bantle
ae40a1d86e -> Active face wasn't getting set properly on editmode exit
Active face was being set for the editmesh instead of the mesh on editmode
exit. Fixed.
2007-09-29 05:49:51 +00:00
Joshua Leung
1ea472a903 Bugfix:
For transform in UV/Image editor (and soon, the IPO editor), transformations on 'local' axes (i.e. GXX, or GYY) won't work. Therefore, I've disabled this for those cases.

Note: A small part of the IPO editor transform-code port is in this commit too.
2007-09-29 03:52:25 +00:00
Daniel Genrich
6a72fecca7 Some additional wind problems (hopefully) fixed, added force fields, reported by Rui Paulo Sanguinheira Diogo 2007-09-28 11:06:13 +00:00
Ken Hughes
6fd43fd68a Python API
----------
* changed a few hardcoded low frame limits in wave modifier to use MAXFRAMEF
2007-09-27 23:42:21 +00:00
Joshua Leung
b8deeb934a Bugfix #7419:
Adding missing NULL checks for the Geometry Targets feature for Constraints.
2007-09-27 23:36:17 +00:00
Matt Ebb
41e79c054d * changed a few hardcoded low frame limits in wave modifier to use MAXFRAMEF 2007-09-27 23:33:19 +00:00
Campbell Barton
18bd726f0b bugfix from 11860, the derived mesh was getting free'd twice (crashed
editmode + linked-dupes + texture-drawtype)

Also fixed own bug with face mode setting (wasnt checking for texface)
2007-09-27 20:41:56 +00:00
Martin Poirier
0345b3b221 Improve consistency in editmesh tmp unions.
EditVert had "float *fp" while the others had "float p".
changed to "float p" and made all code using the float pointer use the already existing tmp.p (void*) instead.
2007-09-27 17:45:53 +00:00
Campbell Barton
8c2ebc2dec glitches with UV tools fixed - P was grabbing, snap cursor to selection
didnt work, and constants for black and white were reversed (not user 
visible error)
2007-09-27 16:47:08 +00:00
Matt Ebb
379d7827ae * Fix for typo in AA curve commit. Thanks Stephan K for the notice! 2007-09-26 13:40:38 +00:00
Daniel Genrich
311694e7a5 Merge with blender svn -> svn merge -r 12064:12150 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2007-09-26 10:28:30 +00:00
Campbell Barton
7d7fcdc033 mistake in my last commit - reversed black/white UV line draw 2007-09-26 07:35:04 +00:00
Joshua Leung
7cf9c31272 == Clamp To Constraint ==
Now there's an option for the owner to follow the path of the target cyclically. Previously, if the owner moved past the extents of the side of the bounding-box used for the calculations, the object was placed on the curve at the nearest extent. 

This option is only really useful if the curve itself is cyclic, although you can still use it otherwise. To enable, just turn on the cyclic option.
2007-09-26 07:33:31 +00:00
Matt Ebb
1aef5641b3 * Made the UV editor dashed lines a little less overbearing 2007-09-26 06:49:16 +00:00
Campbell Barton
c2331e06cb re-arranged buttons from matts suggestions. removed some unused vars and added some constants to replaced magick numbers for draw types. 2007-09-26 06:46:08 +00:00
Campbell Barton
cac6bb259e mistake when setting the active vert color (was setting the color value outside the range of the value) 2007-09-25 14:39:04 +00:00
Joshua Leung
98c87f16cd Track-To Constraint - Bugfix:
Now this should work nicely again. Somehow I thought I'd committed this change already, but anyways, here it is.
2007-09-25 09:12:02 +00:00
Campbell Barton
ea32119d0b snap transform for UV editing, missing the draw circle at the moment. 2007-09-25 07:42:55 +00:00
Matt Ebb
7658066fe9 * Use nice AA lines for curve ui control 2007-09-25 06:36:02 +00:00
Joshua Leung
2d429e1d54 == Armature Animation Fixes ==
This commit fixes several bugs related to animating armatures. I've also tidied up the formatting in a few files along the way, and also commented the flags for this pose->flag.

What's new/fixed:
* Undo will no longer destroy entire un-keyframed poses. Now it behaves as expected, and only reverses the most recent change.
* On some files, POSE_DO_UNLOCK somehow got set on files and never cleared. The symptom of this was a file in which you suddenly could no longer pose an armature at all without using auto-keyframing. A check to prevent this from happening again has been added (it will also fix old files too)

Notes:
- Now, all PoseChannels get tagged with BONE_UNKEYED after they have been transformed. This flag prevents IPO data being flushed over these new values, even after undo. 
- These tags only get removed on frame-changes or inserting new keyframes.
2007-09-25 05:04:34 +00:00
Campbell Barton
4ad6ac1cad store snapping in the scene, (theeth's suggestion) 2007-09-25 04:11:57 +00:00
Campbell Barton
2c0db4d707 made active vert/edge/face draw properly with modifiers applied and made their theme default white.
removed active face draw in Face/UV (which is now paint mask mode) mode.
2007-09-25 03:31:12 +00:00
Matt Ebb
3a5db1c40c * Changed the "Not allowed" error message in the Scene set chooser to
something a little more meaningful
2007-09-25 01:33:29 +00:00
Joshua Leung
fe99ea0518 Copy Rot. Constraint - Bugfix:
I've removed the quaternion-based rotation copying that I added during the recode as it was causing artifacts on some rigs.
2007-09-25 00:15:21 +00:00
Joshua Leung
e2c82e15b6 This commit might fix some compile errors reported by jms on MSVC 8.0.
error C2036 : http://msdn2.microsoft.com/en-us/library/1kay26wa(vs.71).aspx
2007-09-25 00:05:53 +00:00
Matt Ebb
f7cd7bc1b9 * Adaptive QMC ray shadow sampling wasn't working with transparent shadows - fixed. 2007-09-24 13:17:42 +00:00
Martin Poirier
d888a6e0da fix typo that broke compilation 2007-09-24 12:25:13 +00:00
Joshua Leung
4809597775 == NLA Editor ==
Added some features to the NLA Editor that had previously only been added for the Action Editor.

* It is now possible to choose whether timing is displayed in Frames or Seconds like in many of the other Animation Editors. Use Ctrl-T or the View menu to change this.

* Autosnap behaviour from Action Editor is now also available for the NLA Editor. It was partially done in the previous commit (for transform). Use the new combo-box on the NLA Editor header (like the one on the Action Editor header) to set this.


* editaction.c: silenced a compiler warning from the previous commit related to a function which is no longer needed.
2007-09-24 12:14:36 +00:00
Joshua Leung
c4860afba3 == Action and NLA Editor Transform ==
I've refactored the Action and NLA Editor Transform tools to use the Transform System instead of setting up their own transform loops. This should have happened ages ago, but no-one got around to doing so. 

* There are still a few bugs left to iron out of a few features, but on the whole it should work as well as it used to. These are: the values which get displayed when working with NLA-scaled actions may not all be correct yet; and the Time-Slide tool in the Action Editor is currently kindof broken.

* One of the main benefits of this work, is that it is now possible to use Numeric Input during Transforms.

* Also, a bug that meant that it was not possible to negatively scale keyframes in the Action Editor has been resolved.
2007-09-24 11:29:25 +00:00
Campbell Barton
1fde6d4570 Made the remaining UV py scripts work with editmesh now.
DrawShadow option didnt check the final derived mesh had CD_MTFACE's can would crash when enabled with mirror modifier.
2007-09-24 09:40:09 +00:00
Matt Ebb
adef239fc0 * Changed the "Make Links -> To Scene..." menu to use a columned
popup menu - more manageable when you've got a lot of scenes.

Also changed an error message from using a popup menu to the proper
error() function with icon etc.
2007-09-24 03:03:43 +00:00
Matt Ebb
091d1e15a9 * Change/fix to texture comp node
Previously if the texture node was not connected directly as the 
second input to a node like Mix, the size of the generated image 
was initialised to 140x140, which is not that useful. It now is 
initialised to the size of the render result if it exists, and if 
not, the size of the scene render sizeX/sizeY.

This alleviates bug #7068, which is caused by the displace node 
trying to get pixels from a texture node, where the texture node 
doesn't contain pixels to cover the entire image (only 140x140) 
but it's not really a bulletproof solution...
2007-09-24 02:18:00 +00:00