Commit Graph

9393 Commits

Author SHA1 Message Date
Ton Roosendaal
28f18ac9e6 bugfix #6047
Provided by Juho: proper softbody panel button refreshes.
2007-02-14 20:53:35 +00:00
Andrea Weikert
20a9712219 === bugfix ===
- possible fix for crash mentioned in [ #5781 ] Sculpt Brush Tool not working correctly
- workaround for possible compiler glitch with floating point conversion.
2007-02-14 19:40:17 +00:00
Ken Hughes
4aa33f5633 Python API
----------
Bugfix for problem reported with ac3d importer; Object_getData() wasn't
setting the real object type before calling EXPP_add_obdata().
2007-02-14 17:40:31 +00:00
Ton Roosendaal
a1b01f968f Bugfix #6038
Viewplane shift X,Y added to Ikey menu in camera buttons.
2007-02-14 14:53:37 +00:00
Ton Roosendaal
59548a7a74 Bugfix #6042
Shadeless material did not show correct in Shade View3D (Shift+z).
2007-02-14 14:42:48 +00:00
Ton Roosendaal
a7066480da Bugfix #6044
OnlyShadow material: was giving shadow on backfacing faces... should not.
Do note that on boundary cases ("terminator") this isn't well defined.
This feature was meant for simple flat shadow planes, comprende?! :)
2007-02-14 14:36:39 +00:00
Ton Roosendaal
58d6e51cb5 Bugfix, email report.
Copying texture space from Mesh to Curve crashed. Bad code. cleaned up.
2007-02-14 13:52:30 +00:00
Ton Roosendaal
e215937509 Sculptmode fix:
Texture brushes were writing outside of array boundary. Might be the bad
one as reported for windows...
2007-02-14 12:31:00 +00:00
Ton Roosendaal
0bb0c54f4b Regression test fixes:
- New Softbody panel now is named "Soft Body Collision" (instead of II)
  Also made it start tabbed, and made Fluids panel start untabbed.

- Infowindow: skip drawing buttons when width is smaller than 320 pixels.
2007-02-14 11:00:05 +00:00
Campbell Barton
c7a8f6cd9d Added GPL Headers to some of my scipts that were missing it. also changed the header of a few others.
Only code change is cookie cut from View now only uses 3d curves to cut.
2007-02-14 01:03:32 +00:00
Campbell Barton
1021949c3a removing this script- has been added back with correct spelling. 2007-02-13 18:34:31 +00:00
Willian Padovani Germano
caa671c2c7 Scripts:
- A few imported .ac models had wrong uv's, as reported by Melchior Franz (thanks). Well known reason: the vertex indices order in new faces is rearranged if the 3rd or 4th vindex is equal to 0, because of how Blender checks for tris/quads.

Fixing with that old trick of adding a vertex at index 0 in mesh.verts, adding 1 to each face vertex index, then removing the extra vertex after the model has been imported.
2007-02-13 17:37:32 +00:00
Kent Mein
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
Willian Padovani Germano
b2ce8ec9c9 Scripts:
- Minor updates to the ac3d importer to support bad files (with more data than reported, this time) and properly handle texture paths with win separators ('\')  and spaces. Again, thanks Melchior Franz for testing and reporting.
2007-02-12 17:24:09 +00:00
Ton Roosendaal
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
Nicholas Bishop
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
Ed Halley
5f3348f0ec Incorrect default value for new materials' transmissivity. Default value
should match "classic" non-transmissivity materials.
2007-02-11 14:59:01 +00:00
Joshua Leung
045c40b815 Tiny cleanups of marker drawing code. Shouldn't cause any problems. 2007-02-11 04:02:17 +00:00
Campbell Barton
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
Brecht Van Lommel
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
Brecht Van Lommel
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
Joseph Eagar
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
Joseph Eagar
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
Brecht Van Lommel
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
Willian Padovani Germano
148b8d8014 Scripts:
- Fixing bug #5950 reported by Stewart Andreason (thanks):
http://projects.blender.org/tracker/?func=detail&atid=125&aid=5950&group_id=9

Importing .ac models created Blender objects with user count equal to 2, instead of 1 (so they couldn't be deleted in Blender), because the script kept a second reference to each created Blender object and so Python didn't deallocate things properly at the end of the script.

Now these extra references are deleted in the script, preventing the problem. But this is surely something to fix in the API itself.
2007-02-10 15:11:11 +00:00
Brecht Van Lommel
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
Brecht Van Lommel
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
Brecht Van Lommel
298ee9d3dc Fix for bug #5891:
Knife cut didn't always subdivide UVs properly with degenerate triangles.
2007-02-09 21:46:08 +00:00
Andrea Weikert
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
Ton Roosendaal
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
Brecht Van Lommel
ac6e958e8e Bugfix: texture paint brushes didn't work correct with multiple
texture channels.
2007-02-09 15:08:53 +00:00
Robert Holcomb
f9ff156800 Fixed extra tab at beginning. Don't know how that got there. 2007-02-09 14:19:14 +00:00
Ton Roosendaal
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
Ton Roosendaal
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
Ton Roosendaal
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
Ton Roosendaal
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
Ton Roosendaal
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
Ton Roosendaal
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
Ton Roosendaal
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
Joshua Leung
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
Ton Roosendaal
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
Andrea Weikert
95f462e3d0 ==== icon themes ====
fix for potential issue with very long pathnames to the blender executable
2007-02-08 22:43:32 +00:00
Robert Holcomb
c02a71e211 Fixed missing '#' and tab errors 2007-02-08 19:16:43 +00:00
Tom Musgrove
0039468ebb = translation =
Bulgarian translation contributed by Victor Dachev
2007-02-08 19:11:04 +00:00
Stephen Swaney
b61d40c14c added a comment char in front of a comment to fix a syntax error.
added a newline at end of file.
2007-02-08 01:03:21 +00:00
Campbell Barton
bc15d06cfe * own error, importer would never load images.
* moved from NMesh to Mesh
* added more error checking.
* tested with 1660 lightwave models
* faster dictionary usage.

BPyImage - disallowed recursive searching of '/' or a windows drive letter.
2007-02-08 00:27:01 +00:00
Robert Holcomb
daf867ca6d chagned tanf to tan because of guidance received on IRC. 2007-02-07 23:43:08 +00:00
Martin Poirier
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
Robert Holcomb
55afa0a606 Fixed accidental commit from yesterday. 2007-02-07 18:47:48 +00:00
Robert Holcomb
3d167d443c Uncommit of previous working copy. 2007-02-07 18:26:21 +00:00