Commit Graph

47594 Commits

Author SHA1 Message Date
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
0f7396e9c5 Fix #4406
The Stucci texture now returns an 'intensity' value too, this wasn't too
interesting though... not reflecting all options for the texture itself.
Now it shows better in preview renders.
2006-06-22 09:27:33 +00:00
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
193015653f bug #4380, border rendering was not correct.
solution could have been much simpler, but since that would have required
altering blender code (only a single line though)...

also fixed a minor bug reported in the yafray forums, when spotlights had the
shadowbuf flag set and then switching to yafray, yafray still rendered
shadows which to user was unexpected since there was no shadow flag enabled
in the yafray lamp panel, so now ignores the blender flag.
2006-06-22 03:12:48 +00:00
e5804da0ba bugfix:: added objects didn't have proper physics id (they used the physics id from the 'hidden layer' original. 2006-06-22 02:20:36 +00:00
9dc91d2887 fixed restore/suspendDynamics bug 2006-06-22 02:09:48 +00:00
cd5a7fbe84 workaround for a irregularity/bug in physics system (happens very seldom, just 1 report so far, linear velocity/AABB becomes NaN) 2006-06-22 01:10:50 +00:00
6867773401 Plumiferos bug: autohandles in Ipos could get screwed up in extreme cases,
but they got this case! :)

Bug was that for autohandle, the previous position of handle was used for
calculating the position too, which I really don't remember why... (that
is code from 10 years ago). Problem with that approach is that extreme
changes in handles don't go correct immediately, but need to itterate a
while. Or even worse, can give NaN values, resulting in this:

http://www.blender.org/bf/ipobug.jpg

Now the handle points are fully recalculated, as it should.
2006-06-21 19:16:09 +00:00
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
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
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
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
c435b0f5d7 And another syntax error for Python Noise api, this time a crasher even.
(Thanks Tim!)
2006-06-21 14:20:43 +00:00
fc98a121fc Bugfix #4396
(From Timothy) Python vNoise() function couldn't be used, had wrong check
for syntax.
2006-06-21 14:10:59 +00:00
b3c6cea315 Bugfix #4391
The option "unlink group" did not remove the group entirely by setting its
user counter on zero. Now it does!
(option available in Outliner only)
2006-06-21 13:40:13 +00:00
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
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
d62a5e04e0 Bug #4382
When Blender tries to open a non-existing file,  two error popups were
called. Very annoying.

Was simple one-liner fix; the 'read exotic' function should return a -1
when file doesn't exist. :)
2006-06-21 10:46:38 +00:00
985db6c4ef Bugfix #4367
Creating texture coordinates for Curve bevels didn't allocate a correct
sized memory block when both U and V directions of a bevel are circular.

This will also fix "UV orco" for such curves (like donut shapes).
2006-06-21 10:02:47 +00:00
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
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
5a2512c1ba bugfix #4384
Optimize method for limiting particle recalculation wrongly skipped
static particles too.
2006-06-20 19:02:24 +00:00
447593d7b9 Enforced a limit of 399 (UI_MAX_DRAW_STR) for pythons button object. using larger strings would segfailt blender. 2006-06-20 18:31:05 +00:00
76ffb08450 bug #4374
Particles keep fighting with the depsgraph... time to get a depsgraph with
time dependencies in it...
Anyhoo, this fixes lack of parenting updates in hierarchies where children
have particles.
2006-06-20 17:31:41 +00:00
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
d62bf84435 Bugfix #4378
Radio-render didn't allow to ESC from render.
2006-06-20 16:02:23 +00:00
8d9d66f30f fix #4379
3D Preview didn't update correctly when switching between ortho and
perspective view (ortho render flag hanging)
2006-06-20 15:55:49 +00:00
f7d38ee181 Bugfix #4370
Silly: when using vector blur on a curve or text object, without having a
material assigned to it, the default material didn't get initialized OK
for vector blur, causing random streaks.
2006-06-20 15:44:25 +00:00
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
5424863367 Fix #4368
Path in blender file loader end (setup_app_data) for armature conversion
didn't properly limit to armatures only, and was even called before a
scene dependency graph was made.

Rare crash btw; you have to save a file *before* a redraw was finished
in the UI.
2006-06-20 12:41:52 +00:00
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
5124edfcc5 Bugfix #4365
Node Editor: using menu "View -> View All" crashed when no nodes exist.
2006-06-20 09:41:35 +00:00
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
4201a0bfcf bugfix: removing constraints should activate rigidbodies. 2006-06-20 05:41:28 +00:00
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
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
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
bca96a4f99 moved defines for top of file
.
2006-06-19 17:03:02 +00:00
f791271839 fixing line 1350
.
2006-06-19 16:34:45 +00:00
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
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
36bedb3d7e Bugfix #4363
In windows, without temp path set, the 'save buffers' render option crashes.

I've coded a blenlib BLI_is_writable(char *filename) to check for such
cases. This is not much needed in Blender, since the open() command is
checked for. However, file saving happens deep inside the C++ exr lib, and
it throws an exception crash when a file cannot be written.
2006-06-19 13:53:00 +00:00
03449818b3 Added a note about Draw.ColorPicker needed Draw.Register to have a non None event function. 2006-06-19 13:21:44 +00:00
cbe9fc4e44 Compositor: the default now doesn't include a Viewer node anymore, was too
confusing.
2006-06-19 12:47:37 +00:00
0953e9add4 Bugfix #4355
Group appending issue: the rules for how this works were still confusing.
In some cases you want the objects in the scene itself, in others not.

New method:

- when you append a group directly (shift+f1 -> group -> name(s)) it
  will both append the group and link objects to the current scene
- in all other cases it will only append a group itself.
  (means, you can then use "Add group" to see it).
2006-06-19 12:29:35 +00:00
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
f03ea10cee Fixed a mistake (probably mine) with the menu numbering, closing bug 4360 2006-06-19 10:51:19 +00:00
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
92522f4202 * Added and tweaked some missing menu items 2006-06-19 03:31:30 +00:00
ec8448b88d bugfix/workaround for problem with hard-coded collision margins being too large. 2006-06-18 22:10:00 +00:00