Commit Graph

16327 Commits

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