Commit Graph

6273 Commits

Author SHA1 Message Date
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
Ken Hughes
f000ce6fba ===Python API===
Bugfix: key curve names compared using strncmp instead of strcmp,
resulting in wrong comparisons.
2006-07-02 21:37:06 +00:00
Ton Roosendaal
cbae5f9628 Beauty fix: if you use AA fonts in UI, and set 'texture draw' option,
the info text in file window sometimes displayed in wrong scale.

Moved order of drawing to ensure this cannot happen.
2006-07-02 19:32:48 +00:00
Andrea Weikert
df9c9e6caa === warnings cleanup ===
- removed obvious typo after #include
- put back include for using EXPP_check_sequence_consistency and EXPP_ReturnPyObjError
2006-07-02 18:59:40 +00:00
Ton Roosendaal
bb9cafc257 Bugfix #4557
Report noted the slow icon renders for menus, which indeed is an issue,
especially when texture images need to be loaded (not to mention that
will eat up loads of memory).

Added a flag in scene to disable loading of images, makes it 50 times
faster, at least :)
2006-07-02 18:26:20 +00:00
Campbell Barton
6adf0e6543 finish adding Geometry module, removed polyfill from mathutils, updated epydoc links and updated BPyMesh NGon function 2006-07-02 15:28:28 +00:00
Campbell Barton
156f2030fd Adding new geometry module, at the moment it only contains polyfill.. more commits to come, moving from mathutils. 2006-07-02 15:25:37 +00:00
Ton Roosendaal
c6af151b00 Bugfix #4536
FTF_GetStringWidth() was calling for translations, whilst translation was
not set even, causing crashes in strings.
Probably this was instable for many cases using Internation Font...
2006-07-02 13:08:27 +00:00
Ton Roosendaal
3c1956f5cd Bugfix #4556
When a curve guide animates, it doesn't correctly work on dynamic particles.
This because the guides work on a fixed starting position (the birth of
particle) and then defines a full path for the entire particle. It is clear
this was only coded with static particles in mind...

Nevertheless, I've added a line of code to at least put the curve guide
on correct location for the moment a particle gets born.

Report moved to the todo tracker; this should be a spec for particle recode
2006-07-02 12:46:41 +00:00
Ton Roosendaal
e4354bbf12 Bugfix #4569
Global undo didn't restore correctly the camera in unlocked 3d views.
("Lock" icon option next to layer buttons)
2006-07-02 12:03:07 +00:00
Ton Roosendaal
e16df991ab Bug #4568
No fix... the Object "TimeOffset" option to work on own ipo doesn't work
at all, not since NaN days. Enabling it is easy, but might screw up a lot
of previous saved files.

I moved that report to the todo, for a make-over of the entire internal
timing system. Added tooltip in button this option doesn't work.
2006-07-02 11:47:27 +00:00
Ton Roosendaal
1673b56dd3 Bugfix #4565
Curves without bevel/extrude don't react to buttons to fill front/back.
That is coded that way, so added this info to the tooltip

Bug report #4566

Creases drawing became very awkward in commit in august last year. Flipped
the drawing order so the fat lines - denoting creases - are drawn first.
That way the value of crease is visible, as well as edge selection state.
2006-07-02 11:21:06 +00:00
Ton Roosendaal
7b07fcca91 Bugfix #4564
Environment mapping on channel "Mirror color" didn't support stencilling.
2006-07-02 10:42:29 +00:00
Campbell Barton
f2d80ee097 wasnt decref'ing items I got from PySequence_GetItem for PolyFill or ob.join() fixed and tested, memory dosent increse when used in a large loop. 2006-07-02 10:37:24 +00:00
Ton Roosendaal
ae59f05c85 Bugfix #4563
Wave Modifier defaulted to Y waves, even when both X and Y buttons were
disabled. That case isn't very useful, nevertheless... if buttons allows it
then it should just work!
2006-07-02 10:36:26 +00:00
Ton Roosendaal
9f6f44938e Bugfix #4562
Another thread render issue, now in Image texture, the 'repeat' value was
still a global... how did I think that would ever work? Just forgot about
that one I guess. :)
2006-07-02 10:30:48 +00:00
Ton Roosendaal
5e30fb119c Bugfix #4561
Sequence renders, calling scenes with compositing, didn't execute composite
correctly. Confusement caused by the rule that a "Render" handle has same
name as Scene, which gives conflict for the case when a Scene has
sequencing with Scene strips with its own scene in it.

The previous solution for that conflict caused composite not to work. This
commit solves that, but it is still hackish. Main reason is the still
bad global G.scene, in use by compositor.
2006-07-02 09:56:41 +00:00
Ton Roosendaal
9467a55d1a Fix: While checking on render stats timer, I found there was already stats
reserved for field and blur steps, but never used or printed.
2006-07-02 08:31:54 +00:00
Ton Roosendaal
fc1becdcd2 bug #4559
Render timers were called in the internal render loops (tile processor),
they still had to be moved to the outer loop, so they include fields/blur
or sequencer render timing correctly.
2006-07-02 08:15:16 +00:00
Ton Roosendaal
0cbb917e60 Bugfix #4558
Thread render error: a flag was stored in read-only data to indicate
whether top or bottom hemisphere of sky was rendered. That can't work
with tiles (but did work when scanlines were threads).
2006-07-02 07:59:42 +00:00
Stephen Swaney
1eb2724983 bugfix for #4533 Text3d.Get() fails in retrieving Text3d objects
The objects were returned properly, however the repr() method was
printing "" making it look like the Get() failed."
2006-07-01 16:59:10 +00:00
Campbell Barton
7809809e8a Added a scanfill wraper to Mathutils, allows you to fill polylines without using Meshes .fill() function.
Takes a list of polylines and returns a list of face index triplets.

Added this so using mesh.fill() could be avoided since it requires making an object, linking to the scene and cycling editmode for every NGon imported.
Since this is so close to release, It might be good if ken, willian or stivs takes a look at the function to make sure its ok. - Ran 100's of times for importing lightwave models but would be good to doublecheck.
2006-07-01 15:29:04 +00:00