Commit Graph

10338 Commits

Author SHA1 Message Date
753a0e9746 Tweaks to labels on brightness/contrast node 2008-03-25 06:10:03 +00:00
88c2358f4f Bugfix #8736: Follow Path constraints does not work for Bones
This appears to be a long-standing bug, and it only affected the Follow-Path constraint as it was the only one which was dependant on time-based changes. An oversight in the depsgraph code meant that Follow-Path constraints on armature bones were not evaluated, unless there was an Action or some NLA-Strips for that armature. 

I've added a new flag to pose->flag (POSE_CONSTRAINTS_TIMEDEPEND) which only gets set/cleared by update_pose_constraint_flags. This flag indicates that the depsgraph needs to do an update for such cases, and will require going in/out of EditMode to set this for old files. 
It's been implemented as such to avoid having costly searches when trying to run animations realtime (as is done for modifiers).
2008-03-25 05:32:04 +00:00
7de584337f == Sequencer ==
Forgot directory in input panel for sound files...
2008-03-24 21:01:36 +00:00
8d2a0a566f == Sequencer ==
A lot of fixes for anim_startofs / anim_endofs:
* crashed when striplen was 0 and startstill / endstill still in use
* made it work for Audio (HD and RAM)
* made it work for Image Sequences
* added a new cutting tool, that uses anim_startofs / endofs instead of
  startofs / endofs. This is now the default and called "hard cut"
* moved old cutting method to "Shift-K" and renamed it "soft cut"
2008-03-24 17:35:01 +00:00
2b7e4f4d4a subdivide would give weired results especially when used after proportional edit mode because vertex temp flags wernt zero'd 2008-03-24 11:55:43 +00:00
659db30d50 Fix for transforming constraint-channel keys that appeared in a group-channel, but belonged to constraint channels that were collapsed and/or hidden. 2008-03-24 11:28:49 +00:00
186320f458 Peach Request: Fix for little bug in Action Editor
Quick patch for action-filtering system, so that the IKEY (Insert Key) -> "Key Only Selected" doesn't key in channels that are hidden. Documented the convoulted logic there a bit. 

Note: constraint channel keys in group channels seems to have become broken again at some point before this commit
2008-03-24 11:25:34 +00:00
dbd64ac751 uv stretch display respect image aspect ratio,
tooltip correction (bug #8660)
ghostwinlay.c was missing string.h include
2008-03-24 09:00:39 +00:00
b20f6e27ff Commit patch #8724:
This patch modifies the BL_ConvertMesh method from the data conversion module in order to reduce the number of polygon
material objects that are created.

Normally, there should be only one material object for each material bucket(the group of meshes that are rendered together
with a single material). However, the number of materials that are created right now in the converter is much higher
and eats a lot of memory in scenes with large polygon counts. This patch deletes those material objects(KX_BlenderMaterial)
that are used only temporarily in the converter(and are now deleted only when the converter is destroyed, at the end
of the game).

For a cube that's subdivided 7 times(90+ k polygons) I get 200 MB usage in the game engine in 2.45 and 44 MB with a
svn build with this patch applied if the "Use Blender Materials" option is activated in the Game menu.
2008-03-23 23:12:40 +00:00
f162428bd2 [#8717] ZOOM with CTRL+mouse drag (consumes all cpu)
patch from André Pinto to stop zoom from redrawing when the mouse didnt move.
2008-03-23 18:53:45 +00:00
0f8fee26cf == Sequencer ==
Additional fixes to metastrip handling. The code is now even shorter :)
2008-03-23 18:32:20 +00:00
a572fb0e45 Fixed bug #6079, sculpt mode thin mesh problem
Calculating the area normal now checks each normal against the angle of the camera. If the normal is pointing away from the camera, it is ignored.
2008-03-23 18:08:20 +00:00
c52695bafe == Sequencer / ImBuf ==
Fixed a long standing bug in IMB_dupImBuf: refcounter should be better 0
within the duplicated ImBuf...

Finally removed this strange STRIPELEM_META mumbo jumbo.

On a way to asset management: made METAs behave like true input strips:
* proxying should work
* input filter options should work (including transform and color balance :)
* IPOs now work in replace mode
2008-03-23 17:56:44 +00:00
096fcb3c8f fixed UV selection hide/reveal in the UV window. 2008-03-23 16:27:34 +00:00
4a6d75af27 added support for linux on pa-risc 2008-03-23 12:59:26 +00:00
cd3cf57842 Collision Modifier: 1. Bugfix: Enable hiding in modifier stack again, 2. Bugfix: Recalculate bounding volume if GUI setting changed 2008-03-22 22:08:46 +00:00
7e69e77609 lasso select for nodes 2008-03-22 20:54:09 +00:00
6615f8b74f BGE correction: AddRef() on source object of property actuator to protect against crash if the source object is deleted (bad game design anyway) 2008-03-22 14:47:42 +00:00
1d0e1d5406 [#8693] Align view to selected works differently called from menue then from shortcut
The header menu was sending the wrong axis (off by one) to the tool.
2008-03-22 13:27:34 +00:00
95e781c601 == Action Editor - Preview Range (Ctrl-Alt-P) ==
Quick feature for setting Preview Range in Action Editor: the hotkey Ctrl-Alt-P sets the Preview Range so that it matches the extents of the active action.
2008-03-22 11:06:51 +00:00
126ab7974d NDOF support added to trunk from ndof branch.
The latter is now obsolete and will be soon 
removed.

Some tiny build tweaks for darwin committed
in preparation of bigger changes for proper
SDK suport both on intel and ppc
2008-03-22 01:39:11 +00:00
1930a925c8 Removing some compiler warnings.
(Note to who-ever made all the changes referring to r.scemode:
r.scemode is an int, not a short!)
2008-03-21 23:10:23 +00:00
76f34bcdd9 Fixed bug #8597, Subsurf error
This was actually an error with the array modifier. Merging vertices would sometimes create degenerate faces (e.g. face.v1 == face.v3)
2008-03-21 23:06:15 +00:00
7e031b7a39 Correction on BGE fixes:
- check that an object has been created before setting the physics environment
- check that there is an active camera before using it
- when a camera is deleted, remove it from m_cameras list
2008-03-21 22:44:12 +00:00
4e8f06604f This commit disables fix for revision 14202 effectively.
The claim was:
Bugfix: don't do full sample merging on re-rendered layers in
the compositor.

But result was that rendering didn't happen at all for scenes
with a composite.

I also don't understand the commit, seems like it's incomplete?
2008-03-21 22:26:26 +00:00
4c29f3cf09 added camera shiftx/y for the UVProject modifier 2008-03-21 21:03:31 +00:00
c49316a9eb Bugfix: don't do full sample merging on re-rendered layers in
the compositor.
2008-03-21 17:37:24 +00:00
d3116dd4d2 use Z depth for the ortho border zoom also, if there is no depth values set then fallback to previous method. 2008-03-21 17:13:35 +00:00
32b5138e64 update to trunk r14199 2008-03-21 17:00:40 +00:00
df1ba7da75 make border zoom ignore backfaces in texture mode and zero alpha areas of billboards. 2008-03-21 16:27:43 +00:00
473ba6ac71 corrected minor error of the merge
object center button was duplicated
2008-03-21 15:31:02 +00:00
76adde8d19 == Sequencer ==
Forgot REDRAW in obscure cases...
2008-03-21 10:54:40 +00:00
217401b593 == Sequencer ==
Reworked seq_cut completely. Now it is equivalent to: dup and set startofs /
endofs, which is what most people probably expected...

Fixes:
[#8388] Sequencer Cut on empty meta
[#8546] Sequencer: 2 different problems cutting some metastrips
2008-03-21 10:47:59 +00:00
9e9d88d7fc Two changes:
* Attempted fix for bug #8599c (inserting new keyframes mucked up existing IPO-Keys). Now it calls make_ipokey() regardless of whether they exist already (if ipokeys are being shown in the IPO-Editor). This might be a bit slower on some files.

* 'Auto-Sync PoseLib' button is now only visible when there's a PoseLib
2008-03-21 09:46:37 +00:00
e78d2b360a Fixed bug #8180, Simple subdivide modifier performs catmull-clark on single edges
Removed an incorrect check for original vertices on whether any faces used them.
2008-03-21 03:08:04 +00:00
b7bdc6c7a1 Fixed bug #8514, sculpt: pivot last and undo
Undoing in sculpt mode correctly returns to previous pivots now.
2008-03-21 01:10:32 +00:00
734db8cbff Objects with transp and xray work with border zoom (shift+b),
zooming behind an object to one with xray now works, transp objects work like normal objects.
2008-03-20 21:43:32 +00:00
6111ad6551 Collision commit was messed up - reported by Mr. Barton :) 2008-03-20 20:28:51 +00:00
107bed0170 shift+b zoom in perspective mode, (apricot feature for better navigation on large maps) 2008-03-20 20:03:13 +00:00
af8c68ddc4 Cloth structure names update: Sorry about this commit, it will kill all your cloth settings in old files but I had to do it before release because naming convention was really bad in cloth (e.g. using SimulationSettings instead of ClothSimSettings in DNA). Same for some structure in CollisionModifier but with no sideeffects. 2008-03-20 18:28:40 +00:00
9362772ffd Collision modifier: Update from mvert was using only static update, now uses dynamic update and catches therefore also faster movements - reported by nudelZ (#blendercoders) 2008-03-20 18:16:11 +00:00
f59d353af2 == Skeleton Generator ==
Not time for documention and polishing before release, hiding the panel behind (rt == 42) check.
2008-03-20 15:16:33 +00:00
Stephen Swaney
cd3a910bf5 typo for REDRAWBUTSOBJECT broke build. 2008-03-20 14:54:57 +00:00
a4aee00c61 Bugfix #8599b:
Insert-Key in Action Editor didn't work correctly for Constraint Channels yet. This was because a pointer to constraint data was not being obtained (it's now hacked to assume that 'Influence' is being keyed all the time).
2008-03-20 11:31:52 +00:00
4eb0614c5b * Bugfix #8599a:
Deleting the first Action Channel in an Action Group acted odd. In some cases it crashed, other times it corrupted stuff (removing all subsequent Action Channels). Was missing a call to remove the Action Channel from group(s).

* Fixed whitespace in many places...
2008-03-20 10:50:46 +00:00
Ken Hughes
3c7308614a Python API
----------
Bugfix #6543: Blender.Library.Load() could segfault if called more than once
with a library of different endian type.  In the process discovered an
invalid memory reference in other another function calling library_append().
Thanks to Brecht for the pointers on tracking this old bug down.
2008-03-20 04:59:59 +00:00
Nathan Letwory
1a4bbf988c * add notification of new hotkey in object select menu 2008-03-19 22:59:11 +00:00
8c704ec5a6 test commit: fix autothreads on irix 2008-03-19 22:58:16 +00:00
Nathan Letwory
1ced0b5e10 * add CTRL-I for Invert Selection in object mode.
* sanitise IKEY handling block for view3d (really weird if-structure)
2008-03-19 22:46:06 +00:00
Nathan Letwory
b400168e6d * enable hotkey Ctrl+I (Invert Selection) in UV editor 2008-03-19 21:53:00 +00:00