Commit Graph

12305 Commits

Author SHA1 Message Date
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