Commit Graph

10593 Commits

Author SHA1 Message Date
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
Brecht Van Lommel
8b2b470d44 Fix for bug #8898: QMC AO not working correct on objects pointing
directly at the camera in some cases.
2008-04-10 12:52:48 +00:00
Brecht Van Lommel
1fe5302cce Point Cache Refactoring
=======================

Caching and Baking:
- The point cache is now cleared on DAG_object_flush_update(), and not cleared for time dependency graph updates.
- There is now a Bake button instead of Protect. Also cache start and end frames were added to softbody and particles.
- The cloth autoprotect feature was removed.
- The Ctrl+B menu now also bakes cloth and particles next to softbody and fluids. Additionally there are now frree bake and free cache menu entries.
- The point cache api has been changed. There is now a PTCacheID struct for each point cache type that can be filled and then used to call the point cache functions.
- PointCache struct was added to DNA and is automatically allocated for each physics type.
- Soft body now supports Bake Editing just like cloth.
- Tried to make the systems deal consistently with time ipo's and offsets. Still not sure it all works correct, but too complicated to solve completely now.

Library Linking:
- Added some more warnings to prevent editing settings on library linked objects.
- Linked objects now read from the cache located next to the original library file, and never write to it. This restores old behavior for softbodies. For local simulation the mesh and not the object should be linked.
- Dupligroups and proxies can't create local point caches at the moment, how to implement that I'm not sure. We probably need a proxy point cache for that to work (ugh).

Physics UI:
- Renamed deflection panel to collision for consistency and reorganized the buttons. Also removed some softbody collision buttons from the softbody panel that were duplicated in this panel for cloth.
- Tweaked field panel buttons to not jump around when changing options.
- Tabbing e.g. Soft Body Collision into the Soft Body panel, it now only shows Collision to make the panel names readable.
- I tried to make enabled/disabling physics more consistent, since all three system did things different. Now the two modifier buttons to enable the modifier for the viewport and rendering are also duplicated in the physics panels. Toggling the Soft Body and Cloth buttons now both remove their modifiers.
- Fixed modifier error drawing glitch.

Particles:
- Particles are now recalculated more often than before. Previously it did partial updates based on the changes, but that doesn't work well with DAG_object_flush_update() ..
- Fixed memory leak loading keyed particle system. Now keys are not written to file anymore but always created after loading.
- Make particle threads work with autothreads.

Continue Physics:
- The timeline play now has a Continue Physics option in the playback menu, which keeps the simulations going without writing them to the cache.
- This doesn't always work that well, some changes are not immediately updated, but this can be improved later. Still it's fun to get a feel for the physics.

Todo:
- Point cache can get out of sync with and undo and changing a file without saving it.
- Change the point cache file format to store a version (so old point cache files can be either converted or at least ignored), and to do correct endian conversion.
- Menu item and/or buttons for Ctrl+B.
- A system("rm ..") was changed to remove() since the former is very slow for clearing point caches. These system() calls were already giving trouble in a bug in the tracker, but really most use of this system("") should be changed and tested.
- The Soft Body Collision and Clot Collision panel titles don't mention there's point cache settings there too, doing that makes them unreadable with the default panel setup.. but may need to make the names longer anyway.
2008-04-10 11:39:20 +00:00
Brecht Van Lommel
36288dabb8 Fix for render scemode in the python api, forgot to commit this file
when i changed it from a short to an int.
2008-04-10 11:34:36 +00:00
Daniel Genrich
b955a53425 Cloth bugfix for new timescaling feature 2008-04-09 19:10:03 +00:00
Brecht Van Lommel
ec1262944e Bugfix: scaling images anti-aliased with either the width or height
staying the same did not work correct (showed up in the sequencer).
2008-04-09 17:14:02 +00:00
Daniel Genrich
906666a4d8 Cloth enhancement for upcomming cache changes: support different speed using clmd->sim_parms->timescale 2008-04-09 16:38:26 +00:00
Campbell Barton
235f793f28 Made aspx/y into floats so we can render precise regions (for apricot terrain baking) 2008-04-09 15:46:26 +00:00
Daniel Genrich
9f6080cf1b Cloth/Collision modifier now gets add to the tail of the modifier stack as that is normal behaviour for all other modifiers, too. 2008-04-09 15:28:46 +00:00
Joshua Leung
e324cbd1e1 Action Editor - Renamed 'AfterTrans Delete Dupli-Frames' to 'AutoMerge Keys' for 2008-04-09 10:33:15 +00:00
Stephen Swaney
d30cc5f2d8 API Doc for new Object attributes trackAxis and upAxis.
contributed by Cedric Paille.  Thanks!

Fix broken indentation in Constraint doc.
2008-04-09 07:27:37 +00:00
Stephen Swaney
daeedc1144 fix compiler warnings - deja vu all over again.
buttons_object.c:2326: warning: too many arguments for format 
buttonns_object.c:3829: warning: ordered comparison of pointer with integer zero
2008-04-08 16:50:20 +00:00
Brecht Van Lommel
61bbccaee7 Optimization for the sequencer wipe effect, was doing a lot of unnecessary
computations for each pixel making it quite slow.
2008-04-08 16:28:55 +00:00
Campbell Barton
fa5d0309b2 setting the blend value for a sequencer strip would crash when the strip had both char and float buffers. 2008-04-08 15:07:40 +00:00
Martin Poirier
ca982d2a23 Proper fix for camera transform with snap.
Please email me or report a bug when such problem arise, it's simpler if done properly the first time.
2008-04-08 13:40:05 +00:00
Daniel Genrich
589e641f97 Sorry, reverting bad things in modifier.c 2008-04-08 12:58:25 +00:00
Daniel Genrich
fef157ac07 Cloth bugfix: used old dm instead of new created result derivedmesh; Code cleanup + deactivation of unsued selfcollision code in kdop.c + little speedup there 2008-04-08 12:55:35 +00:00
Campbell Barton
2af8964d7c moving the camera on the local Z axis while in the camera view didn't work when snapping was enabled (even though the CTRL key was not pressed) 2008-04-08 11:57:10 +00:00
Jens Ole Wund
aed7f950d0 bug fix
UI panel issues with soft bodies 
code cleaning .. remove some G.rt code
2008-04-07 21:58:12 +00:00
Brecht Van Lommel
6dec5db1e6 Fix for bug #8073: texture nodes connected to a viewer could crash.
Also fixed a bug where procedural buffers did not convert correctly
to different buffer types (e.g. value -> rgba would give red).
2008-04-07 15:21:25 +00:00
Stephen Swaney
77639a5cde Doh! Typo - replace [Y] with [Z]. 2008-04-07 14:16:26 +00:00
Campbell Barton
7c15baff16 added an optional arg for object.getBoundBox(worldspace) - so you can get localspace boundboxes, this is useful when getting a dipli's boundbox where the objects worldspace matrix has no useful meaning. 2008-04-07 13:16:56 +00:00
Campbell Barton
66e74e6057 annoyance with python api, Blender.Library.Datablocks should always return an empty list, rather then None when there is no datablocks. 2008-04-07 10:12:21 +00:00
Janne Karhu
391191a7e3 Silly copypaste mistake. Thanks for noticing! 2008-04-07 05:54:19 +00:00
Campbell Barton
e4d25da698 fix for [#6342] Collada 1.4 import (of perhaps corrupt collada files) leads to a complete crash of Blender 2.43 under Windows XP
NMesh wasnt checking 16max material limit, also made collada import work with the user scripts dir.
2008-04-06 20:13:14 +00:00
Benoit Bolsee
34771ef405 add KX_GameObject::rayCastTo() PyDoc 2008-04-06 20:02:41 +00:00
Benoit Bolsee
88ce1c0638 Removed my own patch #8208: export SCA_ISensor::Evaluate() to Python. It was only useful for the ray sensor and the new rayCastTo() function provides better functionality 2008-04-06 19:14:04 +00:00
Campbell Barton
108bed660a reversing 14289, it included Ton's homedir as a default path and disabled scriptlinks by default 2008-04-06 19:04:17 +00:00
Benoit Bolsee
e7384c9dd2 Commit patch #8799: Realtime SetParent function in the BGE
This patch consists in new KX_GameObject::SetParent() and KX_GameObject::RemoveParent() functions to create and destroy parent relation during game. These functions are accessible through python and through a new actuator KX_ParentActuator. Function documentation in PyDoc.
The object keeps its orientation, position and scale when it is parented but will further rotate, move and scale with its parent from that point on. When the parent relation is broken, the object keeps the orientation, position and scale it had at that time.
The function has no effect if any of the X/Y/Z scale of the object or its new parent are below Epsilon.
2008-04-06 18:30:52 +00:00
Stephen Swaney
6c3bd2a02d fix compiler warnings.
I'm not sure about the intent for this one:

warning: too many arguments for format:
 sprintf(md->name, "FluidParticleSystem", BLI_countlist(&ob->particlesystem));

Something for Janne ?
2008-04-06 13:44:50 +00:00
Benoit Bolsee
9edb6c7510 Patch #8740: enable negative axis radar sensor 2008-04-05 22:08:15 +00:00
Stephen Swaney
6e5984ce39 Python API - read access to Track and Up axis attributes for Object.
Part of Patch 8557.  Contributed by Cedric Paille.  Thanks!

Still waiting for API doc for new attributes.  Finger is poised
over Revert button...
2008-04-05 21:33:06 +00:00
Jens Ole Wund
83906a614b bug fix soft body can resume with point cache
sneak in .. springs preload
2008-04-05 21:29:17 +00:00
Stephen Swaney
d0004bed8c fix compiler warning: comparison between signed and unsigned 2008-04-05 14:49:41 +00:00
Benoit Bolsee
cc33fcfe7b Commit patch #2439: Mesh replacement in BGE will react properly to armature deform
Changing the mesh of an object that has a deform controller (armature) is now properly handled. The new mesh must have vertex groups matching the armature bones. In simple terms, the new mesh must deform correctly when you assign it to the object in Blender and you test the action. It will deform the same when you replace the object mesh during the game.
2008-04-05 13:33:08 +00:00
Campbell Barton
8fdfd4cc4c PyAPI - setting a buttons string value crashed. suspect this is a 64bit problem since replacing the string length of int, with Py_ssize_t or long prevented the crash. worked around the problem by removing the PyString_AsStringAndSize command.
wizard_curve2tree - removing id properties didnt work. exit button used a callback it didnt need to.
2008-04-04 23:12:20 +00:00
Martin Poirier
c3905009c4 No need for unions in transform code.
Unneeded size optimisation.

There's much better way to tackle this if it really is a problem.
2008-04-04 22:21:24 +00:00
Benoit Bolsee
1bdc909555 BGE bug [#4839] fixed: joystick keeps working after an overlay scene is removed 2008-04-04 20:39:31 +00:00
Campbell Barton
b46ef6ecb3 fix own bug with scripts drawing, could crash when a script failed 2008-04-04 16:32:13 +00:00
Campbell Barton
5b06c03884 selecting a new scripts dir didnt rebuild the menu's 2008-04-04 16:11:27 +00:00
Campbell Barton
dd944e88ee wire was being drawn for solid curve objects in editmode when it should not have been. 2008-04-04 15:57:13 +00:00
Campbell Barton
e8e1007386 moved some duplicate lines into their own function 2008-04-04 15:22:19 +00:00
Campbell Barton
6b6e5eb4c9 Restore bezier handles to their original flag if the transform is canceled, for IPO's and curve edit mode.
Also retopo was running of curve transform was canceled.
2008-04-04 15:06:50 +00:00
Brecht Van Lommel
eb667866df Fix for bug #8870: crash converting curve to mesh. The object was being
used for curve deform, but after conversion wasn't a curve anymore, and
there was no check for this.
2008-04-04 12:33:01 +00:00
Brecht Van Lommel
4574dbea98 Bugfix: crash with strand surface AAO and layer ipo's. 2008-04-03 00:40:53 +00:00
Janne Karhu
feb603248e Fix for bug: [#8610] Hair Particle 'cut' edit mode not respecting backface culling / z-depth
-Cut-brush didn't use depth testing at all, now it does, but unfortunately this changes the behavior of the brush so that cutting is not perfect for hairs that are partly visible from behind an edge of the emitter (this change effects the brush only when z-buf clipping is used of course)
2008-04-02 23:59:25 +00:00
Janne Karhu
78b250f693 Fix for bug: [#8576] Heir always in the back 2008-04-02 23:12:05 +00:00
Brecht Van Lommel
5dbe42af07 Fix to make grass render the same on solaris as linux, by doing
pointer comparisons in qsort. This works for glibc according to
the documentation, and appears to work on solaris too.
2008-04-02 22:18:32 +00:00
Janne Karhu
49c65433cc Fix for bug: [#8117] Particles with fluid broken
-Handling of fluid particles was not coded at all
-Now things should work properly, but as fluid particles are not very familiar to me I'd appreciate some thorough testing
2008-04-02 17:48:46 +00:00
Campbell Barton
bab535ce1a removed printf 2008-04-02 16:22:43 +00:00
Campbell Barton
8a6f9f2a88 Sculpts calc_area_normal() could result in a zero length vector if all faces were pointing away from the view.
deal with this by making 2 average vectors, one for front pointing faces, and another for back pointing faces,
also removed an unneeded acos().
2008-04-02 16:19:12 +00:00
Kent Mein
b73ba9c181 This commit reverts the #include <mesa/glu.h>
stuff used for peach to the standard <GL/glu.h>
the mesa stuff was needed for the machines for peach but its
not the stanard location of the headers, now that its not
needed were switching it back.

Kent
2008-04-02 15:03:03 +00:00
Campbell Barton
04be9955d0 dpx saving would fail if there was no float buffer, which is a problem when rendering from the sequencer because a float buffer can be generated for some frames but not others depending on their contents. 2008-04-02 12:56:23 +00:00
Brecht Van Lommel
17cb235f91 Small last-minute peach feature: loading an image into the image node
now automatically detects if a sequence of images is selected, and sets
the frames and image type to sequence.
2008-04-02 12:03:31 +00:00
Joshua Leung
64201b0f24 Whitespace commit for editarmature.c while I try to find the cause of some bugs here. 2008-04-02 04:31:41 +00:00
Hamed Zaghaghi
65a4f5c556 BUGFIX8847 Multires didn't free some memory.fixed 2008-04-02 03:17:52 +00:00
Brecht Van Lommel
53e91df196 Fix for bug #7875: node editor creates links to nowhere, fixes at
least one instance where it happens, when dragging a link onto an
already taken socket, and the existing link being moved to a hidden
socket. Couldn't find other cases in testing, so assuming it's
fixed unless another case pops up.
2008-04-01 22:28:00 +00:00
Brecht Van Lommel
c68588ea98 Fix for bug #7368: flipping issue with dual quaternions and scaled bones. 2008-04-01 21:16:24 +00:00
Hamed Zaghaghi
cf12557c5b BUGFIX 8824: RGB Curves now work correctly with "use clipping" option
on  with maximum values greater than 1.
2008-04-01 21:09:50 +00:00
Brecht Van Lommel
eec6454335 Fix for #8806: strand shadow bug, only showed up on windows. 2008-04-01 21:07:32 +00:00
Benoit Bolsee
51ea7645e2 Fix BGE bug: BGE will crash if objects with display debug property is deleted (bad practice anyway). The actual deletion is now postponed until end of scene 2008-04-01 20:46:20 +00:00
Campbell Barton
82e816eb1a added a sloppy option for getting the active face, which returns the last selected if none is active, made the uv calculation aspect correction use the active faces image rather then the last used image viewports. 2008-04-01 13:35:52 +00:00
Campbell Barton
7d6e7c716f function for getting object texspace settings, without dealing with curve/mball/mesh separately. 2008-04-01 11:14:34 +00:00
Brecht Van Lommel
22149c95ba Bugfix: the defocus node "no zbuffer" settings was automatically set
if there was no zbuffer input. However this means a user settings can
be permanently changed without a user knowing. Now it just runs as if
this option is set if there is no zbuffer, but doesn't change the
setting.
2008-04-01 11:08:48 +00:00
Brecht Van Lommel
4f6493d1a7 Fix for bug #8629: python object.boundingBox was not in worldspace
anymore for meshes due to a bugfix. The python code assumed ob->bb
was in worldspace while it isn't, also meant metaball bounding boxes
were wrong.
2008-04-01 10:15:39 +00:00
Campbell Barton
5c9a729734 add a button for object color access, previously could only be accessed via Ipos 2008-04-01 10:10:37 +00:00
Campbell Barton
e9b7ce9f22 fix for [bf-blender-Bug Tracker][8833] View selected in UV editor 2008-04-01 10:06:06 +00:00
Janne Karhu
3932c747d6 Fix for bug: [#8810] Sticky button in particle effector menu creates unexpected effect
-Particle dietime was calculated wrong when a collision killed particles before their natural death
-Collision code still had some issues with object vs. global space
2008-04-01 00:40:28 +00:00
Janne Karhu
c10ba357ca Fix for bug: [#8816] File saved with Explode modifier crashes blender
-Explode modifier didn't check for empty psmd->dm at file loading
2008-03-31 22:11:10 +00:00
Janne Karhu
fd46b91650 Fix for bug: [#8817] Particleradius doesn't update until changing the amount of particles
-Reactor particles didn't initialize their birth times etc. properly when cache was cleared
2008-03-31 21:51:46 +00:00
Janne Karhu
0ce8fe1ec4 Fix for bug: [#8818] Particle reflecting strange from a simple plane 2008-03-31 20:54:00 +00:00
Brecht Van Lommel
0efe0aa27b Bugfix: world exposure and range settings were applied twice to SSS materials. 2008-03-31 20:02:27 +00:00
Janne Karhu
5e3ff914cb Fix for bug: [#8302] Particle atributes (Materials) wrong behavior
-Particle texture calculations weren't using the mtex->def_var properly
-Texture buttons didn't set proper update flags for hair
2008-03-31 19:57:40 +00:00
Janne Karhu
1ccf92aecd Fix for bug: [#8782] particle mode issues 2008-03-31 19:03:18 +00:00
Kent Mein
e16a766620 I let a sqrtf in by accident when commiting this patch.
converted to sqrt for solaris and other platforms.

Kent
2008-03-31 17:01:08 +00:00
Campbell Barton
fe2d134a07 fix for odd error with image loading broke normal file loading 2008-03-31 14:57:09 +00:00
Campbell Barton
009e5d00cb TimeLine PyType was not getting initialized, causing auto-completion in the interactive console to crash. 2008-03-31 14:29:40 +00:00
Campbell Barton
8f48888bff fix for [#8795] Unable to load an image into Image Texture Type 2008-03-31 08:30:10 +00:00
Joshua Leung
5b73d96fd5 == Armature Tools - Separate (not yet functional) ==
Initial commit of Separate tool for Armatures. Currently, the functionality is hidden behind a temporary patch, as there are still issues to be worked out (crashes under certain conditions and a re-linking issue). It may remain like this for the release if I can't get it to work correctly.

Note:
- Hotkey for separate is Ctrl-Shift-P (it's a bit clumsy, and isn't consistent with P for separate for meshes, but Select Parent(s) is better as P)
2008-03-31 03:40:47 +00:00
Ton Roosendaal
bdfe2a6e0a Fix for change in default behaviour of adding objects: (commit oct 2007)
- The new default remains to add not aligned, not in editmode.
  But, this is only for new users (in .B.blend default)
- It's nicer  we don't change this for everyone automatic.

  Means: people who like the new options have to set the buttons in user
  menu and save .B.blend.
2008-03-30 18:08:55 +00:00
Brecht Van Lommel
e433465fc6 Fix for crash with UV unwrap without an image window open. It really
shouldn't be using the image window but for now this fixes the crash.
2008-03-30 17:54:06 +00:00
Ton Roosendaal
8c3c1c4a0b The next testing build, the 2.45-16, nicked "Gamera". :)
(Also: removed the ugly arbitrary 2 x rgb color hack that tried to make
shadeless color "useful" in opengl solid mode. Without overflowing
color it at least now shows the color you created.)
2008-03-30 17:29:32 +00:00
Andrea Weikert
d9de141077 == bugfix ==
fix for [#6950] Blender crashes when .blog file top line is 160 characters or more
- made sure BLI_convertstringcode doesn't return more than 240 chars 
- went through all callers and fixed places where string passed to BLI_convertstringcode was too short
- TODO: look into increasing sample->name and sound->name too, I prevented crashes, but filename might get shortened.
2008-03-30 16:18:01 +00:00
Peter Schlaile
cc4858cde0 == Sequencer ==
Added IPO-support to color strip.
2008-03-30 14:23:15 +00:00
Peter Schlaile
0eda26d126 == Sequencer ==
This fixes: [#8792] unable to de-assign ipo's from sequence-strips
2008-03-30 09:06:56 +00:00
Martin Poirier
3c0466ed31 [#8796] 2.46RC1 -- Incorrect Tool Tip on Ray Transp Gloss Button 2008-03-30 01:53:05 +00:00
Martin Poirier
2f1420301d [#7289] Orbit around selected in edit mode goes crazy with no verts selected
[#8784] orbiting around selection bug + a few kind of a must features (partial fix)

As suggested by Ton, keep last center and use that when nothing selected.

I don't really like it though as it wouldn't work ok when changing scene  or when using a different 3D view and is somewhat non trivial to explain (it's not the last selection, it's the last used orbiting center).
2008-03-30 01:47:06 +00:00
Campbell Barton
68f1f2b08d own typo in py api 2008-03-29 15:20:41 +00:00
Campbell Barton
73ca8a6fbf with displacement baking, white should be high 2008-03-29 15:16:33 +00:00
Campbell Barton
8960f53676 some fixes for python baking function
needed to add a small value to the baking distance for it to include faces of that distance (maybe should make this happen from the user interface too)
2008-03-29 14:50:05 +00:00
Joshua Leung
3ac7a415f7 Minor tweaks to action-groups code, while trying to track down some bug for broken. 2008-03-29 10:23:51 +00:00
Ken Hughes
4c2b6c4bee Tools
-----
Bugfix #6961: in certain circumstances, array modifier would use deleted
copies of merged vertices, resulting in memory corruption and crashes.
2008-03-28 17:03:34 +00:00
Kent Mein
967917ace9 This is patch:
[#8766] Scons build does not take into account WITH_BF_OPENEXR for 
	source/creator
Submitted By: Stephane SOPPERA

Fixes -F EXR on the commandline...

Kent
2008-03-28 14:55:49 +00:00
Kent Mein
35db540b49 This is patches:
[#8578] imbuf for DDS textures: minor bugs fixed 
	(syncing with upstream nvidia texture tools)
[#8727] imbuf for DDS textures: fix for DXT5 alpha channel corruption

Submitted by our DDS person, Amorilia

Kent
2008-03-28 14:44:31 +00:00
Campbell Barton
e7651c53c3 baking normals could crash in rare cases because the intersection data wasn't copied when the lambda was bigger then the previous or initialized.
python baking script had a simple error.
2008-03-27 16:28:21 +00:00
Campbell Barton
08bc0efecb made editmode only force smooth shading when vcols are present (as joe suggested)
pythons api's image.unpack() was broken
2008-03-27 11:52:58 +00:00
Brecht Van Lommel
c2ae2b51cf Fix for bug #8769: SSS materials were sometimes not rendered with nodes
due to recent bugfix.
2008-03-27 11:44:36 +00:00
Brecht Van Lommel
4dee3dc0ef Fix for bug #8771: hide deselected in particle editmode didn't work
correct. Also made it not do a depth test when editing in wire mode,
was using outdated depth buffer even.
2008-03-27 11:10:18 +00:00
Joshua Leung
bc518579a6 Fixed compiler warnings. (unused vars) 2008-03-27 05:12:14 +00:00
Nicholas Bishop
09e48b406b == Sculpt ==
Removed Painting Mask button from view3d header when in sculpt mode.
2008-03-27 01:11:48 +00:00
Brecht Van Lommel
5b6763fec3 Fix for bug #8595: texture mipmaps with gauss filter didn't work correct,
gave black borders.
2008-03-26 22:14:40 +00:00
Nathan Letwory
4e941b2eb7 * add stub for GLUByte stipple_quarttone[]; 2008-03-26 21:31:33 +00:00
Brecht Van Lommel
5183788fd6 Fix for bug #8746: the fake user button for datablocks was not a toggle
button, while it should be.
2008-03-26 20:17:50 +00:00
Campbell Barton
0599a56468 make solid faces draw vertex colors in editmode (they used to use only one of the faces colors per face) 2008-03-26 20:17:20 +00:00
Campbell Barton
87b5701b26 resetting defaults didnt set the some colors, added face dot size and color as uv/image theme options 2008-03-26 19:38:59 +00:00
Brecht Van Lommel
750836ec7d Fix for bug #8609: radius setting for hair child particles not symmetrical.
Bug might have actually caused more issues, there were some assumptions
that ParticleCacheKey and ParticleKey structs had members in the same order,
but the rotation was in a different place.
2008-03-26 18:34:24 +00:00
Brecht Van Lommel
b37cf7d75d Fix for bug #8407: merging vertices at first/last did not
preserve UVs correct.
2008-03-26 17:56:14 +00:00
Ken Hughes
2976a38fd9 Python API
----------
Bugfix #8615: NMesh.update() did not check if faces had less than 3 vertices, so would create bogus faces.  

Also discovered in the process that documentation and error message for Mesh.assignVertsToGroup() was wrong.
2008-03-26 17:29:20 +00:00
Brecht Van Lommel
972b0a5218 Fix for bug #8713: edge loop delete did an undo push too much. 2008-03-26 16:46:04 +00:00
Campbell Barton
4197e37200 made editmode face copy menu appier with when there is no active face (without options that required an active face)
active face drawing didnt always work since it used the last selected element for drawing.
moved stipple into glutil.c rather then using 128 bytes in the stack for each stipple draw.
2008-03-26 16:06:25 +00:00
Brecht Van Lommel
2af78ac944 Fix for bug #8750: depremul in the image texture code should check
with an epsilon rather than 0.0f, could give random spots otherwise
with e.g. calcalpha + negalpha.
2008-03-26 15:25:56 +00:00
Brecht Van Lommel
ba1f58ea73 Fix for bug #8747: normal map tangents didn't work correct with
splitting of non-flat quads.
2008-03-26 14:58:34 +00:00
Campbell Barton
5fa576a89f UV Unwrap (lscm, project from view, cube etc) now default to correcting for the active images aspect ratio.
This is now default but can be disabled in the UV Calculation panel. At the moment its called "Image Aspect" but another name could be better.
2008-03-26 14:50:29 +00:00
Campbell Barton
6184c07474 fix for [#8732] Unwrap Project from View not matching View
the active face could be unselected. now unwrapping with no UV layer will assign the current image to the selected faces.
2008-03-26 11:56:41 +00:00
Brecht Van Lommel
2a47d02975 Bugfix: selecting or muting an ipo curve in the action editor
would be undone on redraw with an ipo window open in editmode,
or with show keys enabled in the ipo window.
2008-03-26 11:27:52 +00:00
Campbell Barton
192021f068 check for null data when using ffmpegs swscale (for corrupt/partially corrupt videos) 2008-03-25 20:30:33 +00:00
Campbell Barton
4bf152fbcd lib error message was inconsistent when changing texture channels, enabled it for texture colorbands 2008-03-25 19:27:49 +00:00
Campbell Barton
1b94e21f9c selecting similar edges (Shift+G in edge mode) didnt flush selection from edges to faces, so you could have all edges of a face selected without the face being selected. 2008-03-25 16:16:11 +00:00