Commit Graph

47594 Commits

Author SHA1 Message Date
ac06724418 This fixes a bug in the mplayer bug tracker ;)
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=642

Help provided by Reimar Doeffing.

It removes two special cases which were creating empty huffman tables.
So videos would play all black in players that were working correctly
and looking at the tables if they exist.

I also deleted commented out malloc statements that seem to be working
just fine(they were replaced with MEM_mallocN statements).
If people need them they can just look at cvs to see how they were done before.

I also removed an empty else statement.

(This fix does not fix the black bar in the sequencer with blender made avi's but
I hope to have a fix for that later today)

Kent
2007-02-13 15:50:28 +00:00
f95f812b2c Horrible raytrace bug!
Flipping the facenormal into direction of ray accidentally did not work
anymore, the normal was initialized again in nice new code. This made
objects in mirror appear shaded wrongly.
2007-02-12 13:16:30 +00:00
1ff7d772c7 == Multires ==
Fixed bug #5990, Adding 5 levels of Multires crashes blender 2.43rc3

* Caused by old values in hashedgetab hanging around after all the edges were deleted. Fixed by just calling free_editMesh before building an editmesh from multires.
2007-02-11 21:47:33 +00:00
5f3348f0ec Incorrect default value for new materials' transmissivity. Default value
should match "classic" non-transmissivity materials.
2007-02-11 14:59:01 +00:00
045c40b815 Tiny cleanups of marker drawing code. Shouldn't cause any problems. 2007-02-11 04:02:17 +00:00
b90a0ce285 Made multires and shape keys throw errors when adding if the other existed (so both can never coexist) documented this too. 2007-02-11 02:21:26 +00:00
cf00e675ed Addition to last bugfix:
Give the correct error message on saving instead of simply defaulting
to "not enough diskspace".
2007-02-11 00:13:07 +00:00
89f4ca65f2 Fix for bug #5910:
Saving in sculpt mode with partial visibility would give "not enough
diskspace" errors. That wasn't the error at all though, but blender
gives this diskspace error message on any error (this is for another
commit to fix though).

The cause of the error was that with partial visibility it saved the
MEdge and MFace arrays as if they had the full length, which is not
the case, so it was reading past the end of the array. I added an
exception for these.

Also removed the oldstyle tface saving, this was only there to provide
temporary upward compatibility until release.
2007-02-10 23:47:31 +00:00
8852d6ccf4 =Armature Undo Fix=
I forgot a few hide functions that needed undo pushes, and misnamed
an undo push in one of them.
2007-02-10 19:32:12 +00:00
fd05f23dce =Armature Undo Fix=
Armature undo was incomplete; no less then 6 places needed undo pushes.
Added undo pushes, and made sure deselectall_armature/posearmature played nice
and only did undo pushes when they're called with AKEY.

This seems like a fairly old issue.  I guess people just didn't notice it enough
to file a bug report. :)
2007-02-10 19:07:47 +00:00
8e837d6f86 Fix for bug #5980:
Baked textures not updating in the 3D view. This bug was a side
effect of the image not being marked as loaded after changing
parameters (uv test grid, size) of a generated type image.
2007-02-10 16:59:20 +00:00
de0e9d8b20 Fix for bug #5975:
Clear location and rotation confirmation dialogs were shown in edit mode
but did nothing. These should be disabled in edit mode.
2007-02-10 14:38:50 +00:00
f26e67e9d6 Fix for bug #5976:
Object separated from mesh in edit mode did not draw in the correct
green wire color when part of a group.
2007-02-10 14:23:32 +00:00
298ee9d3dc Fix for bug #5891:
Knife cut didn't always subdivide UVs properly with degenerate triangles.
2007-02-09 21:46:08 +00:00
c7c0e7bf80 ==== bugfix ====
- fix for #5955
- fixing too short pathnames causing memory overwriting when
  starting blender from a path with a very long name.
2007-02-09 18:27:20 +00:00
a6cbfb617f Bugfix:
Sculpt Multires render: the Orco table should be made based on 'render'
level, not on '3d view' level. Now, how this could have worked even...

Nick, could you check?
2007-02-09 15:09:55 +00:00
ac6e958e8e Bugfix: texture paint brushes didn't work correct with multiple
texture channels.
2007-02-09 15:08:53 +00:00
3320a39e0d Bugfix #5969
Sculpt: option "Partial Draw" was hanging, causing wrong mesh drawing
outside of sculptmode (and no visible faceselect etc).
2007-02-09 14:05:12 +00:00
23980a1783 Bugfix #5971
Crash in retopo paint, caused by missing NULL test.
Fix provided by reporter, thanks Stephan Kassemeyer!
2007-02-09 13:06:43 +00:00
65a4debc72 Bugfix #5866
Report showed a Mesh that crashed on entering editmode and use some tools.
Appeared to be a mesh index 4 equal to one of the other indices (which
makes a corrupted quad). Fix is a sanity check in addfacelist() for enter
editmode.
2007-02-09 13:02:10 +00:00
a61e2dce42 Bugfix #5909
UV Image editor: the Nkey panel did now show the buttons for UV values
anymore (was moved to "game properties", incorrect).
2007-02-09 12:26:25 +00:00
d814f01610 Bugfix #5959
Save .blend file: when setting option "Relative Paths", blender tried to
save in the root directory.
Saving .blend files is always with a real path, do the relative option
should be skipped.

Also removed the totally annoying error popup when trying to save something
before you saved a .blend. That warning was almost never correct. I left
in this warning for loading files btw.
2007-02-09 11:47:51 +00:00
e04f5bda31 Bugfix #5962
New Image texture option for "Repeat Mirror" didnt work when the texture
"Map input" had a translation.
2007-02-09 10:35:04 +00:00
91bc713467 Bugfix #5941
When making an area fullscreen, the 3d preview render should be reset.
This already worked correct in 2.42, but stopped working after bugfixes!
2007-02-09 09:38:30 +00:00
6332fc3d8c Action Editor Bugfix:
Right-clicking in either the horizontal/vertical scrollbars now works
correctly again. What damage 1 little number can do ;-)
2007-02-09 09:28:19 +00:00
0806d5df29 Bugfix #5949
Ambient Occlusion: with option "Sky color" a material "Only Shadow" did not
render correct; it should use in that case AO type "Plain".
2007-02-09 09:23:50 +00:00
95f462e3d0 ==== icon themes ====
fix for potential issue with very long pathnames to the blender executable
2007-02-08 22:43:32 +00:00
daf867ca6d chagned tanf to tan because of guidance received on IRC. 2007-02-07 23:43:08 +00:00
7bf2f72be4 === Transform ===
[ #5833 ] 2.43 RC2: Incorrect Bone rotation when 3D cursor set as Pivot

There's really ugly stuff going on with pose mode rotation in transform which I'll have to fix later, in the mean time, this commit fixes the problem (which happens when you rotate bones in post mode around an arbitrary point) and includes some juicy comments to further document the actual architectural problem.
2007-02-07 23:28:33 +00:00
55afa0a606 Fixed accidental commit from yesterday. 2007-02-07 18:47:48 +00:00
3d167d443c Uncommit of previous working copy. 2007-02-07 18:26:21 +00:00
9e83e0edd2 Fixed chroma key to use tanf instead of tan (float vs double). Fixed input/output checking to prevent running the node if nothing is connected. Drawnode.c in error. will fix in a second. 2007-02-07 18:24:51 +00:00
6c6a9f42b2 The Object restriction flag 'do not allow select' was only handled in the
end of the selection code. That gave bad errors, especially in solid
drawmode.

Instead, when an object is not selectable it is excluded from the opengl
selection code entirely now.
2007-02-07 11:25:56 +00:00
cc93c03cbb Bugfix for reading DXF files, custom data layer wasn't always
added properly.
2007-02-07 10:56:44 +00:00
15750c82cd Upward compatibility fix:
Redundant variables for postprocess gamma, multiply etc were removed.
Unfortunately that makes new saved .blend files initialize these vars
to 0.0, so renders come out black entirely.

Lets keep them in for at least 1 release cycle. Just 16 bytes per
scene :)
2007-02-07 09:17:57 +00:00
b3e6a6a9c1 animation_trajectory - was printing deprecation warnings. cleaned up some of its code too.
Mesh - removing UV or Color layers didnt check if the active object was in vpaint of uv mode, removing the last layer could crash blender - now switch to object mode if its the last layer like the UI.
2007-02-07 07:43:10 +00:00
00cdff156f When converting a VAL buffer to RGBA the alpha is also set to the value in the VAL buffer. This should be set to 1.0f as in the other conversions or it results in an unevenly transparent buffer. Corrected to result in an opaque buffer.
BKE_node.h commit is in error, but harmless (oops).
2007-02-07 03:40:59 +00:00
a10ed3b0de == Action Editor ==
Added a few checks here and there to prevent crashes related to
no action being active.

This includes patch 5933 by Diego Borghetti (Plumiferos TD).
2007-02-06 22:43:54 +00:00
7d3e392cbf Bugfix #5919
Baking error: dupligrouped objects were not included in database for
bake. That should be, it can be used as shadow casters or AO casters.
2007-02-06 15:35:06 +00:00
a185758581 added missing reference in the docs for the edgesplit modifier
Extended the add object tooltip to note that new objects cant be on a visible layer.
2007-02-06 07:11:44 +00:00
75b32a6f54 fixed bug #5921, artifacts when image input used instead of zbuffer. 2007-02-06 05:34:00 +00:00
efaa6990ea == Armature Buttons - ChildOf menu ==
This menu now respects armature-layers, so that it works better on
armatures with a lot of bones.
2007-02-06 03:38:32 +00:00
b67a6ac5b7 = python bugfix=
flareseed and haloseed minimums were off by one, thanks Carsten for the fix
2007-02-06 00:20:33 +00:00
9217f12c76 Patch #5928 from Diego Borghetti (bdiego)
Blender crashed when selecting column-select options in Action Editor
if there was no action active at the time.
2007-02-05 23:29:10 +00:00
e5d96c2c22 === Transform ===
Align mode (rotation that only translates the target) didn't work for elements using quats (Pose). Fixed.
2007-02-05 18:02:57 +00:00
4754e37539 === Transform ===
Reverting Aligorith's fix for bug Bugfix #5833 (the fix was incorrect, see bug report for details).

That means the translation part when rotating "free" bones in pose mode is still broken.
2007-02-05 18:00:03 +00:00
abc2a4ca44 Left out the case where MTFace can be null. 2007-02-05 08:07:55 +00:00
2afea953e3 Bug fix for TF_BMFONT faces. Colors on the material were backwards when rendered. 2007-02-05 05:48:09 +00:00
Stephen Swaney
41911da258 Bugfix #5918 GE Crash when press Esc
Modifier.c had ref count problems from TypeDict being added twice
to module.

Congratulations due to Tom Musgrove (LetterRip) for chasing this down.
2007-02-05 05:09:15 +00:00
4d5bd6872b Bugfix #5833:
When rotating bones around the 3d-cursor in posemode with a rotated
armature, rotation was around strange points other than the cursor.

This bug has been around for quite a few releases now. Somehow, the
maths used to convert the world/global space locations to local locations
only worked on things in editmode, but not bones.
2007-02-05 01:28:14 +00:00