Commit Graph

47594 Commits

Author SHA1 Message Date
Joshua Leung
6b2a65a3b6 Bugfix #8948: Transformation constraint - destination rotation is in radians
Unfortunately, my previous fixes here to get gears working resulted in this problem. The flip side of that was that gears worked for quite a few cases. 

Alas, it is not to be... The bug is now fixed, but gears no longer work any more. Sadly, there is not much I can do about this.
2008-04-16 07:33:54 +00:00
Campbell Barton
190c18a62a mistake in adding Ipo Extend mode menu 2008-04-16 07:27:42 +00:00
Brecht Van Lommel
d5c1042ed8 Bugfix: editmode mesh transform was doing slow x-axis mirror
computations with the option disabled. Also small memory usage
optimization for vertex groups.
2008-04-15 18:07:04 +00:00
Kent Mein
6e6a6cdf55 This fixes a Buffer Overflow Vulnerability reported by
Secunia Research

SAID: SA29818 (http://secunia.com/advisories/29818/)
Credit: Stefan Cornelius, Secunia Research

The old code trys to do a sscanf %s %d %s %d from a line in the
image file.

Now it copies over that line to a max buffer of size 540 chars before doing
the sscanf.  
(I just picked a constant that was siginficatly large)

It also checks to see if it gets all 4 values if not return NULL.

Kent
2008-04-15 15:52:18 +00:00
Campbell Barton
e971f84927 lock view area wasnt working when all bones were de-selected 2008-04-15 15:29:32 +00:00
Campbell Barton
0346ed80bd added a E as a key shortcut to IPO Extend Mode 2008-04-15 14:34:57 +00:00
Campbell Barton
67e2d05dcd Ipo View Option - Loc View Area - stops using each ipo's view area when changing ipo's. 2008-04-15 14:15:56 +00:00
Brecht Van Lommel
13ec85aeb5 Bug #8950: dependency cycles weren't always printed correct. For
debugging, also added a name for each dependency relation, and when
a cycle is detected it now prints the full cycle to the console.
2008-04-15 13:07:56 +00:00
Campbell Barton
2147e74bc5 made sculpt axis locking use local/global space (using the transform space)
also added some checks for sculpt mixing with other modes (was possible to mix sculpt+posemode)
2008-04-15 09:20:13 +00:00
Benoit Bolsee
6bb327badc BGE fix: keep reference count consist on source object when replicating property copy actuator 2008-04-14 22:45:28 +00:00
Campbell Barton
815791920f terrain sculpting enhancements, axis locking and brush strength multiply by grid 2008-04-14 21:37:23 +00:00
Benoit Bolsee
566053319a fix BGE bug #8309: After Parent Object added to the visual layer, Child Camera won't follow.
This bug fix is made of two parts:
1) It's now possible to dynamically add a camera.
2) Empty camera name on a SetCamera actuator now points to the actuator's parent object if this object is a camera. 
This trick is useful to make current a dynamically created camera: just add a SetCamera actuator on the camera itself and leave the name empty. Later, when the camera is added in the scene with an AddObject actuator, either directly or via a parent object, you just need to activate the actuator to make the newly created camera current. If you set a name on a SetCamera actuator, it will always point to the original camera, even after replication.
2008-04-14 20:54:20 +00:00
Brecht Van Lommel
0b8b4369c9 Patch #8034: "soft" option for halos, which avoids ugly intersections
with geometry, and makes halos look more volumetric.

Patch contributed by Markus Ilmola, thanks!
2008-04-14 19:48:14 +00:00
Brecht Van Lommel
7eb1b45281 Fix for bug #7903 and #8960: arealight giving black borders and not
working correct with translucency. Removed a check that presumably
is an optimization, but can't work correct and also gives no noticable
performance difference in my tests.
2008-04-14 15:40:32 +00:00
Brecht Van Lommel
f8a29350ad Fix for bug #8957: undo lost scenes assigned to screens. 2008-04-14 13:09:08 +00:00
Brecht Van Lommel
6da7b60cd3 Attempted fix for bug #8349: QMC raytracing being very slow on some
computers, probably due to slow multithreaded malloc. Now each render
thread keeps a list of qmc samplers that it fills as needed while
rendering (since it is hard to predict the actual amount needed in
advance due to ray recursion).
2008-04-14 10:14:59 +00:00
Brecht Van Lommel
3dcb3cc4cd Bugfix: modifier buttons in the particle panel were locked unnecessarily
with edited hair.
2008-04-14 10:09:44 +00:00
Campbell Barton
ca5821af25 minor output button layout changes for touch/no overwrite/extension/set 2008-04-14 08:51:10 +00:00
Martin Poirier
7b0cd8a71f == Transform ==
adding missing init on handleEvent callback
2008-04-13 20:09:44 +00:00
Campbell Barton
ebae9b1a88 UV Editing
* Changed default UV wire drawing do be a grey line with a black outline, highlighting aroudn selected points.
* Moved some draw options out of the View menu into the View panel.
* Changed header buttons to make Vert/Face modes less confusing.
2008-04-13 19:42:39 +00:00
Peter Schlaile
4e40e6becc == FFMPEG ==
Added flash video menu entries. (Encoder was compiled in anyways)
2008-04-13 18:50:16 +00:00
Campbell Barton
6b81045bc3 * Made Armature auto name L/R, Top/Bot, Fr/Bk remove existing, known extensions.
* Added fromDupli MTex setting to python api
* Shift+RMB was setting the active face in the UV view.
* Armature scripts menu was broken
2008-04-13 15:14:32 +00:00
Geoffrey Bantle
209ff9e663 -> Bevel transform crash fix
Transinfo transform event callback is not cleared once
a transform event is over, this casued handleEventBevel
to dereference a null pointer. Added a check for this,
but it seems the callbacks should be set to NULL when
transform loop is done?
2008-04-13 05:51:13 +00:00
Campbell Barton
e17b13d9d2 Made octree size always available since its used for baking.
Documented obscure environment variables
2008-04-12 22:17:23 +00:00
Brecht Van Lommel
d0d4604dad Fix for bug #8927: halo blending with solid has poor antialiasing,
which as far as I can see is an old issue, but with FSA it is quite
simple to do better.
2008-04-12 21:44:08 +00:00
Benoit Bolsee
dfd7387641 fix BGE bug #8880: blenderplayer closing when esc is pressed
ESC now quits the game by default in all modes unless a keyboard sensor is set on ESC. 
In this case, the game designer must arrange for an alternative way to quit the game.
2008-04-12 21:18:58 +00:00
Campbell Barton
6b94db570f error in last commit. also use smaller fonts in the sequencer for frame numbers, number string was too long. 2008-04-12 20:36:35 +00:00
Campbell Barton
ad6b1e16a5 active face can now be unselected, also extrude and copy keep the active face. 2008-04-12 19:56:53 +00:00
Brecht Van Lommel
f8d1bc8ee7 Fix for bug #8463: object texture mapping for duplis was changed to
act as if the object was in its original position, instead of being
different for all instances. However, this is desired behavior in
some cases and so breaks compatibility. Now it only does the new
behavior when enabling the "From Original" option.
2008-04-12 18:44:03 +00:00
Brecht Van Lommel
ea4a315f3d Fix for bug #8936: particle system crash with vertex groups and
zero vertices in a mesh.
2008-04-12 18:15:10 +00:00
Brecht Van Lommel
98741e0392 Fix for bug #7100: when rendering on solaris, pressing esc could
kill the process. Some time ago SIGVTALRM was replaced with SIGALRM
to solve issues on linux, but this signal can kill the process on
solaris, so now it uses SIGVTALRM again there.
2008-04-12 17:34:48 +00:00
Brecht Van Lommel
f810245076 Fix or bug #8712: transparency + sss gave too bright results. 2008-04-12 16:31:29 +00:00
Campbell Barton
0ec76c6dcf removed blenders backup feature.
sprintf(str, "/bin/su root -c 'cd %s; /bin/tar cf - \"%s\" | (/bin/cd %s; /bin/tar xf -)'", from, file, to);
 return system(str);

This would ask for a password in blenders terminal, in ubuntu there is no root user...
If this feature is added back it should be written in a much nicer way.

Also made HKey toggle hidden files in the file selector.
2008-04-12 15:03:47 +00:00
Brecht Van Lommel
165bfce94e Fix for bug #8934: parenting or connecting armature bones didn't really
sync tip and root selection intuitively.
2008-04-12 14:53:29 +00:00
Brecht Van Lommel
0b60ff01b4 Fix for bug #6753: metaballs instanced by a particle system did not
refresh properly, also fixed a memory leak.
2008-04-12 14:30:17 +00:00
Brecht Van Lommel
ff77d00544 Fix for bug #5862: crash rendering to quicktime h.264. This would need
an upgrade to the new quicktime api to work, but that's not really
compatible with rendering out frames sequentially. For now it sets the
compression to minimum quality, which doesn't need seeking forward and
backwards.
2008-04-12 13:49:00 +00:00
Brecht Van Lommel
8355a71365 Fix for bug #8932: crash converting old particle system. 2008-04-12 13:00:01 +00:00
Brecht Van Lommel
6b02c7b12d Fix for bug #8930: issue removing temporary pointcache directory on windows. 2008-04-12 12:56:49 +00:00
Campbell Barton
1886872089 simple fix for "Unable to make version backup" warning when saving files. missing a return.
For *nix sustems, recent physics pointcache refactor uses stdio.h's remove() rather then system("rm -f ...") for removing files, since it was a lot slower for removing pointcache.

Ton used the system command because there was some problem using remove() ~6years back, but he cant remember why, (maybe its not a problem now)

Simple error, remove wasn't returning a value, but keep an eye out for problems removing files, and if anyone can reproduce the "Unable to make version backup" problem when saving, we should look into it.

Also added a note about using # in the output path for blenders command line help text.
2008-04-12 10:55:10 +00:00
Benoit Bolsee
4bab327c1b fix BGE patch #7892: dRot motion is reversed on non-dynamic objects
Positive dRot motion actuator will now make the dynamic and non-dynamic objects rotate counter-clock wise.
2008-04-11 21:19:00 +00:00
Chris Want
8f6a16c12e Moved initialization of vertex flags up a bit in the subdivide
routine because they were trumping a fix I had made earlier
to deal with subdivide smooth and mirror modifiers.

Campbell, could you please check that this commit is compatible
with the results you were expecting from commit 14227? Here
is the log of that commit:

http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/editmesh_tools.c?root=bf-blender&view=log#rev14227
2008-04-11 20:46:12 +00:00
Kent Mein
c92660b18c This is patch [#8531] Change gamma node max value
Submitted By:
Stephane SOPPERA (soppera)

It just increases the max value for gamma correction to 10f.  Which
as noted in the patch is the same as the Gimp's color level tool.

Kent
2008-04-11 18:07:27 +00:00
Campbell Barton
f057a38e98 Changed BLI_convertstringcode to replace any number of hashes with the frame number.
somefile_##.png -> somefile_01.png
somefile_########-image.png -> somefile_00000001-image.png

Before, A hash at the end of the string would be replaced by a number with 4 characters. This is still default if no #'s are in the string, so nothing has changed.

To use this function from the python api use scene.render.getFrameFilename()
2008-04-11 15:47:21 +00:00
Brecht Van Lommel
a02937d86c Fix for bug #8920: particles reactor crash and memory leak. 2008-04-11 12:29:29 +00:00
Joshua Leung
716f400182 Constraints-UI:
* Fixed typo in tooltip for IK Constraint
* Beautified Limit Distance constraint a little bit
2008-04-11 07:27:52 +00:00
Benoit Bolsee
539ff57015 fix BGE bug #8813: new rayCastTo() function hits near sensor collision box 2008-04-10 20:17:12 +00:00
Daniel Genrich
0e8a6448dd Little cloth code cleanup needed because of from new cache code merge 2008-04-10 18:00:59 +00:00
Daniel Genrich
f95f4ac8b4 2nd Part: Partial commit of patch #8812 (static caused problems on sunOS) 2008-04-10 16:42:19 +00:00
Daniel Genrich
bdafa1dd91 Partial commit of patch #8812 (fixing inlining on sunOS) 2008-04-10 16:36:46 +00:00
Brecht Van Lommel
7751a18c0b Fix for mistake in pointcache refactor commit. 2008-04-10 13:20:36 +00:00