Commit Graph

7527 Commits

Author SHA1 Message Date
98a81b3927 Bugfix #6089:
"Forward/backward 10 frames" option in Timeline menu now respects
steps (spacing between frames to jump) value.
2007-02-23 04:44:52 +00:00
1f8469b7fb == Multires ==
Fixed bug #6046, updating edge data after applying multires

* Changing the Edge level in the Multires panel should update the edge render flag as well as the draw flag
2007-02-22 19:34:38 +00:00
a7bccae477 == Sculpt Mode ==
* Replaced get_tex_angle() with tex_angle() and set_tex_angle(). This removes the need to do a bunch of error-prone NULL checking everywhere the texture angle is used.
2007-02-22 18:49:00 +00:00
685d26f901 Bugfix:
UV Image window: option "Add new" did not properly set 'image user',
causing image to not draw and not assign to meshes.
2007-02-22 16:00:20 +00:00
9759a373d7 Updating own scripts to use Blender.Main, remove Base files. 2007-02-22 15:48:26 +00:00
c540c8fa44 renamed Base to Main 2007-02-22 15:26:35 +00:00
1190b45263 Adding a new way of dealing with library data in blender, Blender.Base
Has a number of advantages over the existing method, described here.
http://wiki.blender.org/index.php/User:Ideasman42#Post_2.43_Update_to_the_Python_API

Only missing functionality is the ability to add new data through Base.scenes.new('name'), where scenes could be meshes, texts etc.

Other changes are minor,
Scene.h, bad var name in definition.
Text.c/h - moved the Python Struct into the header file, added BPy_Text_Check()
2007-02-22 14:37:30 +00:00
def30c5ff9 * Added the sculpt mode Ctrl/Shift/F interactive
brush scaling/strengthening/etc tools/hotkeys to
the Sculpt menu. Also made a couple of other small
changes for easier text scan reading.
2007-02-22 11:58:07 +00:00
Stephen Swaney
5cc58ba8fe Doh! prototype for Armature_CreatePyObject() was already added.
I plead incompetence.  more coffee, please.
2007-02-22 10:46:02 +00:00
Stephen Swaney
5cb958f305 broken build!
FILE_MAX undefied in util.c
implicit method def Armature_CreatePyObject() in Armature.
2007-02-22 10:20:27 +00:00
fbd8a16933 Compiling bugfix:
Campbell's change from yesterday (renaming PyArmature_FromArmature
to Armature_CreatePyObject) broke compiling here - was missing change to
this file.
2007-02-22 10:00:47 +00:00
a2ce2600d9 renamed posebone.ik to hasIK, removed unused code, made the function name of Armatue's py object from Blender object consistant with others. 2007-02-21 23:14:01 +00:00
f12d312275 === bugfix ===
- path without volume name still caused error when used as name for relative base
- could happen with name in .Blog file saved by older blender version
- fix for [ #6065 ] Blender refuses to save any renders
2007-02-21 20:00:03 +00:00
3a2c58b6ec When looking into code for centering the Ipo view on the current frame,
it turned out it was already in there (center_currframe), and already
had an event entry in the View menu. It only lacked an actual menu entry.

Added the menu entry, along with hotkey Shift-C. Consistency with other
window types would indicate it should be C-key, but that is already taken
by what's probably an obscure curve edit mode function. With event refactor
in the future, I'm loathe to start changing hotkeys ;)
2007-02-21 16:48:36 +00:00
943007abbf text.makeCurrent() works now, it depends on the script menu type, so will only work from some menu's. 2007-02-21 13:00:12 +00:00
f71458b904 adding menu slot Armature
adding menu slot ScriptTemplate
new script scripttemplate_mesh_edit is a template for an editmesh script.

The function Text makeCurrent() is a dummy until I can get it working when the script runs from a menu.
2007-02-21 11:17:17 +00:00
6831c04533 * added MTex uvlayer string attribute
* added Pose attribute "ik" True/False depending on the pose bones IK.
  limitX/Y/Z bool's
  lockX/Y/ZRot bool's
  stiffX/Y/Z floats
  stretch (ikstretch) float
2007-02-20 23:23:54 +00:00
64231d19bf Object parentType could never match Object.ParentTypes.LATTICE, Id incorrectly assigned the lattice constant. Armature and Lattice parent types are the same. documented this. 2007-02-20 09:23:13 +00:00
316df82cb4 == Sequencer ==
Bugfix: fixed missing plugin init on file load with open 'N'-key
  dialog reported by paprmh.
2007-02-19 21:35:32 +00:00
25f7d6693f Fix for a potential crasher bug in the textured brush code, as found
by Andrea (thanks!). This code is known to run OK in the release builds
though, so not that big a deal.
2007-02-19 16:25:44 +00:00
481eb71ef6 Part one of 2.43 release commit! 2007-02-15 21:31:57 +00:00
05de3fb3d5 Bugfix #6053
When in sculptmode, enter editmode, add faces or vertices, exit editmode,
then undos/redos screw up mesh.

Now the stack for sculpt is freed. Later on one could precisely test why
this undo isn't resistant to such changes.
2007-02-15 20:32:08 +00:00
7d40bc5ed6 Simple Fix: Compo AlphaOver Fac socket and Texture node sockets
accepted more than 1 input.
2007-02-15 12:01:41 +00:00
78a12943b1 Bugfix #6049
Calling a pop_space_text(st) crashed in Python code that was drawing areas.
Why this was there? No idea... remainder of NaN days. Ugly, bad, go away!
2007-02-15 11:26:19 +00:00
5b816ab8f8 Bugfix (via email)
Bake crashed when baking to float images. Caused by an Imbuf call not
handling float imbufs well.
2007-02-15 10:46:10 +00:00
28f18ac9e6 bugfix #6047
Provided by Juho: proper softbody panel button refreshes.
2007-02-14 20:53:35 +00:00
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
a1b01f968f Bugfix #6038
Viewplane shift X,Y added to Ikey menu in camera buttons.
2007-02-14 14:53:37 +00:00
59548a7a74 Bugfix #6042
Shadeless material did not show correct in Shade View3D (Shift+z).
2007-02-14 14:42:48 +00:00
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
58d6e51cb5 Bugfix, email report.
Copying texture space from Mesh to Curve crashed. Bad code. cleaned up.
2007-02-14 13:52:30 +00:00
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
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
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