Commit Graph

3362 Commits

Author SHA1 Message Date
Brecht Van Lommel
bae3862439 Fix for bug #4448:
- Degenerate triangle issue for LSCM with reported .blend.
2006-06-24 15:14:13 +00:00
Campbell Barton
81a3aac88e Added strafe (side stepping) with WASD keys - for all those quake junkies! 2006-06-24 14:57:42 +00:00
Brecht Van Lommel
2c72f5d5d6 Fixes for bugs #4450, #4451 and #4452.
- Unwrapper setting got reset unnecessarily in do_versions.
- UV pixel snapping did floor rounding, nearest pixel is nicer.
- Draw Faces button didn't trigger UV editor redraw.
2006-06-24 14:16:36 +00:00
Andrea Weikert
a4315376da === bugfix ===
[ #4434 ] 3d view transform propereties float "Dim" fields lock
float comparison was inaccurate, resulted in code thinking  DimX was changed always
with change not noticeable.
Replaced it with comparison against small epsilon.
2006-06-24 12:35:34 +00:00
Ton Roosendaal
ffff27c897 Changed error message for "Screw" tool in Edit Mesh into:
"You have to select a string of connected vertices too"

(Was: "You have to select a Curve").
2006-06-24 11:30:19 +00:00
Ton Roosendaal
a9a2c19c1f Bugfix #4436
RenderWindow redraws (after rendering) was still using GL_FLOAT. Replaced
it with the faster glaDrawPixelsSafe_to32() call. Stupid ATIs! :)
2006-06-24 10:55:11 +00:00
Ton Roosendaal
5d3ddc842c Changed order of RenderLayer options to reflect the order of processing:
Sky - Solid - Halo - Ztransp - Edge

And added better info in the tooltips for it. It's important to know that
Halos will always be covered by Ztransp, if rendered in 1 RenderLayer.
2006-06-24 10:25:30 +00:00
Joilnen Leite
aeddc2ac0f fix for report 4440 in the bug tracker
.
2006-06-24 07:43:13 +00:00
Campbell Barton
4d061263a9 Draw.c fixed error in exception I added with string max length.
Window.py added note about the view offset being flipped.
editview.c Fly mode timed redraws so motion is the same speed erespective of scene complexity.
2006-06-23 23:58:50 +00:00
Ton Roosendaal
9818b75a28 Small code cleanup for checking correct identifiers for Images called
"Render Result". (Image name vs Image ID name).

Also solves: when you saved Render Result image (with pulldown), Blender
was reading that image from disk on a re-render.
2006-06-23 20:40:22 +00:00
Ton Roosendaal
ad37091594 bugfix #4431
Sequence render: when a Scene strip renders from within the UI (because
the sequencer preview option demands so), the render-result for this
rendering was not stored or accessible for redraws in render window.
2006-06-23 20:11:02 +00:00
Ton Roosendaal
a1e77e2394 Bugfix 4424
When using the button in a RenderLayer node to render a single node, the
new 'render to fullscreen' crashed in end. Reason; the node editor was
still handling events after a render, as if the node editor was still open.
2006-06-23 19:43:48 +00:00
Andrea Weikert
b4a61c441b ==== bugfix ====
fix for [ #4422 ] 2.42 RC1 Win32 build: IPO curve resize+flip = crash
bad size for a string could overwrite memory
2006-06-23 17:43:02 +00:00
Kent Mein
6d79aed0f2 Patch(s) provied by Fabien Devaux
This fixes bug# 4421

http://projects.blender.org/tracker/index.php?func=detail&aid=4421&group_id=9&atid=125

Initalizes audio in scrub mode properly.
also avoids playing back some samples twice.

Kent
2006-06-23 15:08:13 +00:00
Campbell Barton
db3b6374df Made outliner default over oops - looks like it was intended to be but it didnt work,
need to change the .B.blend file so the default isnt OOPS.
2006-06-23 11:31:04 +00:00
Campbell Barton
d812e66138 face select mode would allow you to enter it even if the object was not on a visible layer.
Changed this to be the same as editmode.
2006-06-23 09:14:13 +00:00
Ton Roosendaal
d27c4e09ea Bugfix #4418
Too strict code prevented saving OpenGL rendered images with F3.
2006-06-23 09:13:05 +00:00
Ton Roosendaal
481364cc40 The "Render Result" image should get tagged "ok" after being set. Some of
the other functions in blender check for it.

Important note; this builtin generated image, also "Viewer Node", should
not be used as input for composite, or for Image texture. I should make
this excluded from browsing probably...
2006-06-22 16:56:55 +00:00
Ton Roosendaal
8be0682ea2 Bugfix #3773
Option SHIFT+CTRL+5, "select all non-tria/quad" didnt work at all.
2006-06-22 14:00:05 +00:00
Ton Roosendaal
7cb459b95d fix #4327
The Mesh Bevel tool doesn't look at selection (works on all) but it called
a recalc-normals that assumed selection. Added a select-all prior to bevel.

(bevel doesnt even respect hidden!)
2006-06-22 13:04:11 +00:00
Ton Roosendaal
7f72afa650 Button alignment error in Particle panel (set 'static').
Appeared to be a missing check in the alignment code even. :)
2006-06-22 12:25:28 +00:00
Ton Roosendaal
75c6fe760f Bugfix #4411
New option "Loop to region" selection crashed when no valid loop was
selected. Just a NULL pointer check.
Also: unified function declaration syntax, so it matches with rest of code.
2006-06-22 10:34:01 +00:00
Ton Roosendaal
7a95aad832 Bugfix #4397
3D Window preview render accidentally called Yafray. That's a not working
feature yet. Could work for external renders though, but that's for
another time i think. :)
2006-06-22 09:35:09 +00:00
Matt Ebb
973ffe5319 * Two sequence editor fixes, found by Peter
- strip handle selection now properly uses the new clamped handle size, instead
of the old triangles

- fixed an issue where a strip resized inwards would disappear when the original
start < window edge < resized start, and vice versa
2006-06-22 07:06:42 +00:00
Campbell Barton
86bd0e6a32 Fixed error in fly mode mouse scaling,
Commented almost all variables in fly() to say what they do
Added BIF_view3d_previewrender_signal so preview is redone after flying- its not working at the moment but it shiould :/
Made the 3d view use the cameras near/far clipping while flying.
2006-06-21 16:44:53 +00:00
Campbell Barton
c276501a10 small change, the edge collapse limit was only 0.001, whats way too big and I found it removed more points then just the ones that collapsed.
changed to 0.000001 - the verts are collapsed to the same location so it they shuld not to offset from eachother anyway.
2006-06-21 15:36:05 +00:00
Ton Roosendaal
c9e6635a8b Bugfix #2716 (old one)
While ALT+A playback, a redraw event was added to queues, which was not
read until playback stops. Gave crashers when you leave Blender playing
for like a day. :)
2006-06-21 15:16:47 +00:00
Brecht Van Lommel
503f7ec248 Fix for bug #4393: initial vertex colors were not created from shaded
mode colors anymore, which also affected python scripts that depend on
this feature. Restored that now.
2006-06-21 15:14:44 +00:00
Ton Roosendaal
224d0e41a5 Bugfix #4392
Lasso select didn't check for clipped away coordinates, causing wrong
selections in some cases (reported for edit mode Armature).
2006-06-21 12:46:18 +00:00
Ton Roosendaal
c8550f9132 Bugfix #4389
Action Editor:
Menu options for Extend/Interpolation and Snap didn't work for Constraint
channels.
2006-06-21 11:50:57 +00:00
Ton Roosendaal
f28a1b438a Fix: the new "render out to Image Window" option didn't get a refresh
event on compositing changes.
2006-06-21 08:58:08 +00:00
Ton Roosendaal
0deed7d1d7 Switched the glaDrawPixelsSafe to glaDrawPixelsSafe_to32 in drawing the
previews in buttons and 3d window.

Drawing in frontbuffer a GL_FLOAT rect seems to be instable for ATIs still.
2006-06-20 20:05:10 +00:00
Campbell Barton
2b0699fc47 Fixed fly mode so moving from camera mode to prespective dosent move the view.
Applied the same fix when panning from camera view.
2006-06-20 16:52:11 +00:00
Ton Roosendaal
4506e65902 More preview fixes, after irc reports:
- Ztransp looked weird in Node previews, only showing the backfacing pixels
- previous change in preview.blend accidentally set camera clipping too low
  for correct display of lamp preview
- refresh issue solved in preview when using Node shaders with ray-mirror
2006-06-20 14:32:42 +00:00
Ton Roosendaal
9410c7a731 #4361
Eyedropper (in ColorPicker) bug: It was reading a 4xfloat color into a
single float. tsk tsk!
2006-06-20 11:15:00 +00:00
Ton Roosendaal
5124edfcc5 Bugfix #4365
Node Editor: using menu "View -> View All" crashed when no nodes exist.
2006-06-20 09:41:35 +00:00
Ton Roosendaal
81a7271351 Preview render fixes:
- previous preview.blend rendered OSA, is too slow, especially for raytrace.
  now made it an extra option for buttons preview. (icons render without).
- made monkey one level subsurf lower for speed
- in previewblend, made the tiled cube environment entirely closed, so a
  mirror reflection will show nicer.
2006-06-20 09:31:54 +00:00
Campbell Barton
c8b6425f61 scaled comparison adjustment only effects editmode select group
documented a workaround for python drawinf pixel aligned text in teh 2d view
Added links from Draw.Test to the OpenGL functions that set the location and color.
2006-06-20 00:30:10 +00:00
Simon Clitherow
77506aa141 Fix #4353
Fixed a case where loading an invalid font crashed blender.

Now displays a message advising "invalid font selection" and
reverts to default 'built-in' international font.

Credits to Elubie for pointing out the problem function!
2006-06-19 19:53:27 +00:00
Ton Roosendaal
e384f4d6f6 Fix #4358
Was on the todo as well; previews in Shader Nodes didn't get cleared on
re-renders, noticable when you switch preview type (i.e. sphere -> cube).
2006-06-19 17:29:44 +00:00
Joilnen Leite
bca96a4f99 moved defines for top of file
.
2006-06-19 17:03:02 +00:00
Joilnen Leite
f791271839 fixing line 1350
.
2006-06-19 16:34:45 +00:00
Campbell Barton
56435b5833 renamed uv mapping menu items to make more sense.
=== UKEY UV MAPPING MENU===
Cube -> Cube Projection
Cylinder -> Cylinder from View
Sphere -> Sphere from View
Bounds to */* -> Project from View */*
Standard */* -> Reset */*
From Window -> Project from View
2006-06-19 16:00:48 +00:00
Campbell Barton
521fa9c955 Fix for editmehs select grouped.
the function that compares 2 face areas/perimeters edge length now will match 2 zero area values (previous method to make the function compare proportionaly messed this up)
2006-06-19 15:28:21 +00:00
Ton Roosendaal
cbe9fc4e44 Compositor: the default now doesn't include a Viewer node anymore, was too
confusing.
2006-06-19 12:47:37 +00:00
Ton Roosendaal
2a2c5e7f4e Bugfix #4354
Fix for old (post 2.3) annoyance in UI; on redraw of the entire buttons
window, the active button (with highlight) was detected wrong. Was just
a matrix calculation on wrong moment. :)

Also: fixed tooltip for transparent material "add" option. It was talking
about "Glow", a confusing description.
2006-06-19 11:21:42 +00:00
Campbell Barton
f03ea10cee Fixed a mistake (probably mine) with the menu numbering, closing bug 4360 2006-06-19 10:51:19 +00:00
Ton Roosendaal
5f5ee11fcb Seems a large commit, but I also changed function names to match the new
naming convention for Compositing:

- Render Result node -> Render Layers node (name only appears in Add menu)
- Compositor image -> Viewer Node image

I've also added a version patch (2.41 saved files only) to rename existing
"Compositor" Images.
2006-06-19 08:45:11 +00:00
Matt Ebb
92522f4202 * Added and tweaked some missing menu items 2006-06-19 03:31:30 +00:00
Ton Roosendaal
29b78eba6f Fix #4352
Sequencer render bug: if you use the same Scene as current Scene as a strip
(yes yes!) then ANIM didn't work. Render single frame worked.
2006-06-18 13:36:24 +00:00