Commit Graph

47594 Commits

Author SHA1 Message Date
Andrea Weikert
86ce9c71b6 [ #4585 ] - fix for reading videoscape files
- yet again a file path that was too short ;)
2006-07-06 17:15:13 +00:00
Ton Roosendaal
cfa193ad0b Very minor warning fix for gcc4 in these 2 files (unitialized array) 2006-07-06 17:14:03 +00:00
Ken Hughes
861e0a347a ===Python API===
Bugfig #4527: add more robust bitfield checking for Mesh.mface.flags;
unconfirmed bug report that an exception was caused with RC3a that could
not be reproduced.  It was possible that a pre 2.42 .blend might have
some additional flag bits set that would have caused an error.
2006-07-06 16:40:49 +00:00
Ton Roosendaal
e460747680 Bugfix #4630
They're getting rare, but here's another bugfix from issue since NaN days:

Orco texture coordinates for surfaces didn't work *at all*!
(Try 2 nurbs spheres in 1 object). Fixed!
2006-07-06 14:20:44 +00:00
Ken Hughes
e5fbe8cf1e Discovered a missing "break" inside a switch statemtn while looking for
another bug.
2006-07-06 14:00:50 +00:00
Ken Hughes
02dcea079e ===Python API===
"Campbell-fix:" correct two minor misspellings in last commits.
2006-07-06 13:47:21 +00:00
Ton Roosendaal
d13ad8fe94 fix #4629
Material buttons view, using channel buttons, didn't send refresh event to
texture preview render.
2006-07-06 13:26:48 +00:00
Ton Roosendaal
cd976bfd42 Bugfix #4628
Ancient issue in making screendumps in Blender. It used to support making
dumps of popup menus, but that disappeared a while ago. However, when you
press CTRL+F3 in a menu now, Blender hangs in some eternal loop in ghost.

This commit fixes making menu screendumps (nice for docs!).

- press CTRL+F3 *twice* for an exact copy of a menu. (first press exits
  menu, 2nd press opens filewindow)
- note, it is ALT+CTRL+F3 in OSX
- what is saved is only the topmost open level of a menu
- full-screen dumps work too by holding SHIFT extra.
2006-07-06 12:50:48 +00:00
Ton Roosendaal
d82ec08331 Bugfix #4625
Using the 3d window preview render, fluidsim objects gave drawing errors.
Was caused by missing object recalc signals after creating the render
database (happens on different resolutions for fluidsim).

Note to self: the separation between 'render' and 'display' is still a
weak part in the Derived/Displist code...
2006-07-06 10:10:41 +00:00
Erwin Coumans
6b90f20e87 some minor webplugin changes, new loading .blend, upgraded version to 2.42, enabled PhysicsConstraints module within sandbox. 2006-07-06 07:58:07 +00:00
Campbell Barton
68fc1ce02c added an example for face.col - normal mapping 2006-07-06 06:24:49 +00:00
Campbell Barton
ba13c4082b Added an example of using edge flags in the epydocs 2006-07-06 05:51:13 +00:00
Campbell Barton
1c9a7a032b fixed a bug in poly redux's vgroup weight merging (was reducing the weight each collapse by about half)
fixed some other UI logic in the python menu script
Added an option to use a vertex group for a reduction weight map to force reducing some areas more then others.

Mesh epydocs activeGroups can be None as well as string.
2006-07-05 20:37:07 +00:00
Ton Roosendaal
2ca81ba8cc Bug from own testing (yeah, writing logs means finding bugs!)
The Curve widget flag 'premultiply' should be cleared on read. This could
lead to an occasional crash...
2006-07-05 20:30:44 +00:00
Ken Hughes
64d0d62ddd ===Python API===
Bugfix #4605: mball_to_mesh() doesn't create edges for new mesh, so
me.getFromObject() wouldn't display the new mesh until edit mode was entered.
Added a call to displistmesh_add_edges() to calculate them and then insert
into the new mesh.
2006-07-05 18:28:51 +00:00
Ton Roosendaal
be3c3a24b5 Bugfix #4620
Hurmf, then you bring back old backbuffer, and they want to have fields
work on that!
OK... here it is. Although using Compositor features will make this much
easier and advanced to control. :)
2006-07-05 17:32:49 +00:00
Ton Roosendaal
28f08bd122 Plumiferos report:
Bone renaming goes over a complex series of checks, which includes
checking all objects that have relations to the armature. the call
modifiers_usesArmature() didn't check properly for existing pointer...
2006-07-05 15:59:26 +00:00
Ton Roosendaal
bb15d0f60f Bugfix #4609
ESC for OpenGL render (in anim) was hanging, so a 2nd anim render always
returned immediately.

Own bug collection: the SHIFT+NumPad-0 option didn't do an undo-push.
2006-07-05 15:47:15 +00:00
Ton Roosendaal
54931c1192 Protests! So, we then better live with a switch to edge-select on using
the 'region to loop', and implement the notice using a non-blocking status
line once.

Nice proposal:
http://mke3.net/blender/interface/interaction/statusline_error.png
2006-07-05 13:34:03 +00:00
Ton Roosendaal
7032a904a5 Bugfix #3787
Option "rotate view about active object" was disabled when object was in
editmode or posemode. Removed this limit so the option just always uses
active object as center, disregarding mode.
2006-07-05 12:41:16 +00:00
Ton Roosendaal
b33d71749c Testing in irc becomes more of battle in finding stupid ways to crash
Blender!

Nevertheless, this case was fixable, so...

Bug: While rendering opengl anims, closing the output window crashes
blender.
2006-07-05 12:23:29 +00:00
Ton Roosendaal
f8377553c8 Minor fix: the "Region to Loop" option changes selection mode to 'edge'
by default. Was already a report in tracker... I think it is nicer to
notify user of such changes first.
2006-07-05 12:18:02 +00:00
Ton Roosendaal
c2a2913ba6 Enabled Audio scrubbing in LMB dragging in IpoWindow and TimeLine. 2006-07-05 11:59:00 +00:00
Ton Roosendaal
8640615ac6 Bug #4616
Node Editor: selecting Material buttons in header crashed, when no buttons
window was opened. Code didn't check for proper window it was called from.

Also: autoname "Cyan" was spelled dutch! :)
2006-07-05 11:33:09 +00:00
Ton Roosendaal
6f2e6f0721 Bug #4610
Object buttons, the "Scale" constraint didn't draw a backdrop behind
buttons as the others did. Fix provided by Joshua Leung.
2006-07-05 09:35:05 +00:00
Ton Roosendaal
034c197d61 bugfix #4604
Hemi light accidentally got shadow bias applied (to hide terminator probs).
This whilst this lamp type doesn't have shadow at all.
2006-07-05 09:20:46 +00:00
Campbell Barton
f3b9d38b2c broken noticed VecAngle3 and VecAngle2 comments wernt that helpfull. updated to make more sense. 2006-07-05 04:03:40 +00:00
Campbell Barton
cb8fa00a09 Added a note in mathutils about how line intersect works
getSBEnable was removed and replaced by isSB, docs needed to be updated.
2006-07-05 03:51:32 +00:00
Ton Roosendaal
de0af9d951 Bugfix #4603
UV coordinates for plane preview (buttons) was rotated 90 degrees.
2006-07-04 20:56:55 +00:00
Peter Schlaile
fe54be1358 == Sequencer ==
Bugfix: seq_cut still used short-frame numbers preventing it from working
on long timelines.
2006-07-04 19:46:08 +00:00
Brecht Van Lommel
9c9f5dc81f Fix for bug #4607:
- Crash in recalc normals with vertices in infinity.
2006-07-04 19:22:14 +00:00
Ken Hughes
bdafdaa171 Bugfix #4590: typing in large translation values caused string buffer overflow. 2006-07-04 16:53:11 +00:00
Ton Roosendaal
d22e4059e5 Random missed a seed per frame render. 2006-07-04 16:14:39 +00:00
Ton Roosendaal
d21207e2e9 Bug as reported on irc often: in default .B.blend a first opening of
Outliner happened in Oops block view. I found this was caused by commit of
of a new .B.blend in may 2005 (after 2.36, before 2.37). That file had
already opened Oops views stored, which have to remain that way of course.

A full cleanup of .B.blend i rather not do now, so I've added a patch in
code that on read of the built-in .B.blend it sets all existing Oops
windows to Outliner.

And while working on it anyway, on first opening of a new Outliner, the
current Scene level is opened, but showing objects closed.
2006-07-04 12:10:37 +00:00
Ton Roosendaal
b6984214f0 Fix #4601
Buttons window "align" is being set to default on files read older than
2.30. This is giving very bad panel layouts now.
2006-07-04 11:06:00 +00:00
Ton Roosendaal
0458c50f63 Bug #4597
More Driver fixing...
Commit of over week ago to make drivers update correctly on cyclic
situations, forgot to fix another driver call... which then got called
always with 'current frame' set to zero.

Error only happened with animated (Ipos) Object-Object driver relations.

Also in this commit: when loading file, lattices with hooks were not
updated correctly.
2006-07-04 10:19:26 +00:00
Ken Hughes
e6f4bd6baf ===Python API===
Plumiferos request: added sceneRender.set attribute, which give access
to the Render "Set" link for scenes.  Always wondered what that button
was for.
2006-07-04 00:08:40 +00:00
Ton Roosendaal
64ff9ae4a8 Mac intel commit
- patch from Douglas with endian fixes
- Makefile adds static libiconv.a from lib/
- this version will use OpenEXR libs from lib/ too, and is latest release
  with threading support
- openAL is missing, added it as default to not include it
2006-07-03 19:50:53 +00:00
Ton Roosendaal
d55b5240b9 Composite node "Separate RGBA" didn't do a typecheck.
Errors happened when inputting a Normal or Value buffer in this node.
2006-07-03 15:25:11 +00:00
Ton Roosendaal
3c11a1bd61 Bugfix #4586
TimeLine window; option [>>] (skip to next keyframe) crashed on actions
with NULL ipo pointers.
2006-07-03 12:18:14 +00:00
Ton Roosendaal
71de727f3e Bugfix #4583
Shader Group nodes crashed on render... it was accidentally calling
composite free-buffer option.
2006-07-03 12:08:08 +00:00
Ton Roosendaal
cc85c0951e IRC report fix:
- Halos were not sorted, for ages! Meaning that they were rendered in order
  of creation, instead of back to front.
- Made ESC testing for halo render to check per halo, is a fast routine now
  anyway.
2006-07-03 11:53:52 +00:00
Ton Roosendaal
780b8d83c5 Bugfix #4578
Images saved with "Save..." menu in Image Window ignored the RGB or RGBA
setting in Scene Output panel.

Also:
- changed menu in "Save As..." to indicate it can change type/name
- added proper info about image in properties panel (RGB, A, Z)
2006-07-03 11:21:38 +00:00
Ton Roosendaal
21a5ea85cd * Fix for Matt's fix!
The "generator" class for nodes then better completely disappears, also
from theme color choices menu. Since there was room for it, made the
generator themecolor to become color for 'Convertor' node types.
2006-07-03 09:49:12 +00:00
Campbell Barton
c21b1c78eb missed a call in transform editmode active pivot to calculateCenter2D, now it works as expected. 2006-07-03 09:23:08 +00:00
Campbell Barton
b6c9d86905 BeBraw noticed that canceling fly mode didnt return to Ortho mode. fixed 2006-07-03 07:20:19 +00:00
Matt Ebb
4ca0e9070a * Fix: Shading nodes 'value' and 'RGB' were still set to the old node class
Generators' so they didn't appear in the add menu under 'Input' where they
should be.
2006-07-03 07:00:08 +00:00
Erwin Coumans
3b1a592fb7 debug lines / register the applied impulse for constraint (for breaking) 2006-07-03 05:58:23 +00:00
Campbell Barton
da83509dca fixed an error in DECREF'ing a variable that could have been null, also gave more helpfull error messages, thanks Theeth 2006-07-03 05:27:29 +00:00
Campbell Barton
aaf05a1d20 Made geometrys polyfill work with all iterators (not just lists) and updated bpymeshes ngon to ignore polylines with <3 verts. 2006-07-02 23:09:37 +00:00