Commit Graph

12305 Commits

Author SHA1 Message Date
Joshua Leung
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
Joshua Leung
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
Campbell Barton
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
Benoit Bolsee
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
Campbell Barton
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
Peter Schlaile
0f8fee26cf == Sequencer ==
Additional fixes to metastrip handling. The code is now even shorter :)
2008-03-23 18:32:20 +00:00
Nicholas Bishop
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
Peter Schlaile
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
Campbell Barton
096fcb3c8f fixed UV selection hide/reveal in the UV window. 2008-03-23 16:27:34 +00:00
Stefan Gartner
4a6d75af27 added support for linux on pa-risc 2008-03-23 12:59:26 +00:00
Joshua Leung
fa2d6c195e Bugfix #8710:
Typo fix in PyConstraint template
2008-03-23 02:28:24 +00:00
Daniel Genrich
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
Campbell Barton
7e69e77609 lasso select for nodes 2008-03-22 20:54:09 +00:00
Benoit Bolsee
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
Martin Poirier
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
Joshua Leung
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
Campbell Barton
a7ee2674db added stdio.h includes, gcc-4.3 is picky 2008-03-22 10:53:35 +00:00
Jean-Luc Peurière
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
Joshua Leung
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
Nicholas Bishop
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
Benoit Bolsee
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
Ton Roosendaal
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
Campbell Barton
4c29f3cf09 added camera shiftx/y for the UVProject modifier 2008-03-21 21:03:31 +00:00
Brecht Van Lommel
c49316a9eb Bugfix: don't do full sample merging on re-rendered layers in
the compositor.
2008-03-21 17:37:24 +00:00
Campbell Barton
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
Jean-Luc Peurière
32b5138e64 update to trunk r14199 2008-03-21 17:00:40 +00:00
Campbell Barton
df1ba7da75 make border zoom ignore backfaces in texture mode and zero alpha areas of billboards. 2008-03-21 16:27:43 +00:00
Jean-Luc Peurière
473ba6ac71 corrected minor error of the merge
object center button was duplicated
2008-03-21 15:31:02 +00:00
Peter Schlaile
76adde8d19 == Sequencer ==
Forgot REDRAW in obscure cases...
2008-03-21 10:54:40 +00:00
Peter Schlaile
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
Joshua Leung
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
Nicholas Bishop
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
Nicholas Bishop
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
Campbell Barton
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
Daniel Genrich
6111ad6551 Collision commit was messed up - reported by Mr. Barton :) 2008-03-20 20:28:51 +00:00
Campbell Barton
107bed0170 shift+b zoom in perspective mode, (apricot feature for better navigation on large maps) 2008-03-20 20:03:13 +00:00
Daniel Genrich
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
Daniel Genrich
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
Martin Poirier
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
Ricki Myers
8bf91e42e7 Fix for Crash on X11. Buffer was not the correct size. So strcpy would blow-up. 2008-03-20 12:27:15 +00:00
Joshua Leung
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
Joshua Leung
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
Stefan Gartner
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
Geoffrey Bantle
895e871d6b -> Color Fixing tool in FLT toolbar
A new tool for for fixing colors on meshes imported from other files with
conflicting color palettes has been added to the FLT toolbar script. This
will find the closest match for all the colors in the faces of selected
meshes and update their baked vertex color representation.

Also added a small tweak to the 'update all' tool which will fix black faces
2008-03-19 21:14:49 +00:00
Geoffrey Bantle
0899bccef5 -> Path handling fix for External references in FLT import
FLT importer had problems with external references that used
relative paths. Fixed.
2008-03-19 19:23:42 +00:00