blender.git
14 years agoworkaround for a irregularity/bug in physics system (happens very seldom, just 1...
Erwin Coumans [Thu, 22 Jun 2006 01:10:50 +0000 (01:10 +0000)]
workaround for a irregularity/bug in physics system (happens very seldom, just 1 report so far, linear velocity/AABB becomes NaN)

14 years agoclarified text to catch some rare collision issue
Erwin Coumans [Wed, 21 Jun 2006 20:35:06 +0000 (20:35 +0000)]
clarified text to catch some rare collision issue

14 years agoPlumiferos bug: autohandles in Ipos could get screwed up in extreme cases,
Ton Roosendaal [Wed, 21 Jun 2006 19:16:09 +0000 (19:16 +0000)]
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.

14 years agoFixed error in fly mode mouse scaling,
Campbell Barton [Wed, 21 Jun 2006 16:44:53 +0000 (16:44 +0000)]
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.

14 years agosmall change, the edge collapse limit was only 0.001, whats way too big and I found...
Campbell Barton [Wed, 21 Jun 2006 15:36:05 +0000 (15:36 +0000)]
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.

14 years agosmall fix to make it so solid and qhull are not build if not needed.
Kent Mein [Wed, 21 Jun 2006 15:27:49 +0000 (15:27 +0000)]
small fix to make it so solid and qhull are not build if not needed.
Got the go ahead on #blendercoders, Erwin if you need my address to
hunt me down I'll email it to you. ;)

Kent

14 years agoBugfix #2716 (old one)
Ton Roosendaal [Wed, 21 Jun 2006 15:16:47 +0000 (15:16 +0000)]
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. :)

14 years agoFix for bug #4393: initial vertex colors were not created from shaded
Brecht Van Lommel [Wed, 21 Jun 2006 15:14:44 +0000 (15:14 +0000)]
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.

14 years agoAnd another syntax error for Python Noise api, this time a crasher even.
Ton Roosendaal [Wed, 21 Jun 2006 14:20:43 +0000 (14:20 +0000)]
And another syntax error for Python Noise api, this time a crasher even.
(Thanks Tim!)

14 years agoBugfix #4396
Ton Roosendaal [Wed, 21 Jun 2006 14:10:59 +0000 (14:10 +0000)]
Bugfix #4396

(From Timothy) Python vNoise() function couldn't be used, had wrong check
for syntax.

14 years agoBugfix #4391
Ton Roosendaal [Wed, 21 Jun 2006 13:40:13 +0000 (13:40 +0000)]
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)

14 years agoBugfix #4392
Ton Roosendaal [Wed, 21 Jun 2006 12:46:18 +0000 (12:46 +0000)]
Bugfix #4392

Lasso select didn't check for clipped away coordinates, causing wrong
selections in some cases (reported for edit mode Armature).

14 years agoBugfix #4389
Ton Roosendaal [Wed, 21 Jun 2006 11:50:57 +0000 (11:50 +0000)]
Bugfix #4389

Action Editor:
Menu options for Extend/Interpolation and Snap didn't work for Constraint
channels.

14 years agoBug #4382
Ton Roosendaal [Wed, 21 Jun 2006 10:46:38 +0000 (10:46 +0000)]
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. :)

14 years agoBugfix #4367
Ton Roosendaal [Wed, 21 Jun 2006 10:02:47 +0000 (10:02 +0000)]
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).

14 years agoFix: the new "render out to Image Window" option didn't get a refresh
Ton Roosendaal [Wed, 21 Jun 2006 08:58:08 +0000 (08:58 +0000)]
Fix: the new "render out to Image Window" option didn't get a refresh
event on compositing changes.

14 years agofix of the previous security patch for file opening on Os X.
Jean-Luc Peurière [Tue, 20 Jun 2006 20:24:07 +0000 (20:24 +0000)]
fix of the previous security patch for file opening on Os X.

nobody noticed it was broken for 3 month ;)

14 years agoSwitched the glaDrawPixelsSafe to glaDrawPixelsSafe_to32 in drawing the
Ton Roosendaal [Tue, 20 Jun 2006 20:05:10 +0000 (20:05 +0000)]
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.

14 years agobugfix #4384
Ton Roosendaal [Tue, 20 Jun 2006 19:02:24 +0000 (19:02 +0000)]
bugfix #4384

Optimize method for limiting particle recalculation wrongly skipped
static particles too.

14 years agoEnforced a limit of 399 (UI_MAX_DRAW_STR) for pythons button object. using larger...
Campbell Barton [Tue, 20 Jun 2006 18:31:05 +0000 (18:31 +0000)]
Enforced a limit of 399 (UI_MAX_DRAW_STR) for pythons button object. using larger strings would segfailt blender.

14 years agobug #4374
Ton Roosendaal [Tue, 20 Jun 2006 17:31:41 +0000 (17:31 +0000)]
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.

14 years agoFixed fly mode so moving from camera mode to prespective dosent move the view.
Campbell Barton [Tue, 20 Jun 2006 16:52:11 +0000 (16:52 +0000)]
Fixed fly mode so moving from camera mode to prespective dosent move the view.
Applied the same fix when panning from camera view.

14 years agoBugfix #4378
Ton Roosendaal [Tue, 20 Jun 2006 16:02:23 +0000 (16:02 +0000)]
Bugfix #4378

Radio-render didn't allow to ESC from render.

14 years agofix #4379
Ton Roosendaal [Tue, 20 Jun 2006 15:55:49 +0000 (15:55 +0000)]
fix #4379

3D Preview didn't update correctly when switching between ortho and
perspective view (ortho render flag hanging)

14 years agoBugfix #4370
Ton Roosendaal [Tue, 20 Jun 2006 15:44:25 +0000 (15:44 +0000)]
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.

14 years agoUpdated preview, with correct camera end clip
Ton Roosendaal [Tue, 20 Jun 2006 14:33:08 +0000 (14:33 +0000)]
Updated preview, with correct camera end clip

14 years agoMore preview fixes, after irc reports:
Ton Roosendaal [Tue, 20 Jun 2006 14:32:42 +0000 (14:32 +0000)]
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

14 years agoFix #4368
Ton Roosendaal [Tue, 20 Jun 2006 12:41:52 +0000 (12:41 +0000)]
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.

14 years ago- minor fix for moving object boundary conditions
Nils Thuerey [Tue, 20 Jun 2006 11:32:56 +0000 (11:32 +0000)]
- minor fix for moving object boundary conditions
  and to prevent surface flickering near obstacle sides

14 years ago#4361
Ton Roosendaal [Tue, 20 Jun 2006 11:15:00 +0000 (11:15 +0000)]
#4361
Eyedropper (in ColorPicker) bug: It was reading a 4xfloat color into a
single float. tsk tsk!

14 years agoBugfix #4365
Ton Roosendaal [Tue, 20 Jun 2006 09:41:35 +0000 (09:41 +0000)]
Bugfix #4365

Node Editor: using menu "View -> View All" crashed when no nodes exist.

14 years agoNew preview blend, without OSA and with entirely closed tiled cube.
Ton Roosendaal [Tue, 20 Jun 2006 09:32:25 +0000 (09:32 +0000)]
New preview blend, without OSA and with entirely closed tiled cube.

14 years agoPreview render fixes:
Ton Roosendaal [Tue, 20 Jun 2006 09:31:54 +0000 (09:31 +0000)]
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.

14 years agobugfix: removing constraints should activate rigidbodies.
Erwin Coumans [Tue, 20 Jun 2006 05:41:28 +0000 (05:41 +0000)]
bugfix: removing constraints should activate rigidbodies.

14 years agoscaled comparison adjustment only effects editmode select group
Campbell Barton [Tue, 20 Jun 2006 00:30:10 +0000 (00:30 +0000)]
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.

14 years agoFix #4353
Simon Clitherow [Mon, 19 Jun 2006 19:53:27 +0000 (19:53 +0000)]
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!

14 years agoFix #4358
Ton Roosendaal [Mon, 19 Jun 2006 17:29:44 +0000 (17:29 +0000)]
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).

14 years agomoved defines for top of file
Joilnen Leite [Mon, 19 Jun 2006 17:03:02 +0000 (17:03 +0000)]
moved defines for top of file
.

14 years agofixing line 1350
Joilnen Leite [Mon, 19 Jun 2006 16:34:45 +0000 (16:34 +0000)]
fixing line 1350
.

14 years agorenamed uv mapping menu items to make more sense.
Campbell Barton [Mon, 19 Jun 2006 16:00:48 +0000 (16:00 +0000)]
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

14 years agoFix for editmehs select grouped.
Campbell Barton [Mon, 19 Jun 2006 15:28:21 +0000 (15:28 +0000)]
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)

14 years agoBugfix #4363
Ton Roosendaal [Mon, 19 Jun 2006 13:53:00 +0000 (13:53 +0000)]
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.

14 years agoAdded a note about Draw.ColorPicker needed Draw.Register to have a non None event...
Campbell Barton [Mon, 19 Jun 2006 13:21:44 +0000 (13:21 +0000)]
Added a note about Draw.ColorPicker needed Draw.Register to have a non None event function.

14 years agoCompositor: the default now doesn't include a Viewer node anymore, was too
Ton Roosendaal [Mon, 19 Jun 2006 12:47:37 +0000 (12:47 +0000)]
Compositor: the default now doesn't include a Viewer node anymore, was too
confusing.

14 years agoBugfix #4355
Ton Roosendaal [Mon, 19 Jun 2006 12:29:35 +0000 (12:29 +0000)]
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).

14 years agoBugfix #4354
Ton Roosendaal [Mon, 19 Jun 2006 11:21:42 +0000 (11:21 +0000)]
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.

14 years agoFixed a mistake (probably mine) with the menu numbering, closing bug 4360
Campbell Barton [Mon, 19 Jun 2006 10:51:19 +0000 (10:51 +0000)]
Fixed a mistake (probably mine) with the menu numbering, closing bug 4360

14 years agoSeems a large commit, but I also changed function names to match the new
Ton Roosendaal [Mon, 19 Jun 2006 08:45:11 +0000 (08:45 +0000)]
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.

14 years ago* Patch from Ed Halley:
Matt Ebb [Mon, 19 Jun 2006 04:04:31 +0000 (04:04 +0000)]
* Patch from Ed Halley:
"Swaps left and right bytes of small cursors for Carbon on Intel."

This fixes garbled cursors on Intel Mac builds. Tested on my G4 too and it works fine.

14 years ago* Added and tweaked some missing menu items
Matt Ebb [Mon, 19 Jun 2006 03:31:30 +0000 (03:31 +0000)]
* Added and tweaked some missing menu items

14 years agoMade 3ds import remove 0,0,0 dummy vert (Thanks Ken)
Campbell Barton [Mon, 19 Jun 2006 01:27:41 +0000 (01:27 +0000)]
Made 3ds import remove 0,0,0 dummy vert (Thanks Ken)
removed set() from BpyMesh and added some uv utility functions.

14 years agobugfix/workaround for problem with hard-coded collision margins being too large....
Erwin Coumans [Sun, 18 Jun 2006 22:13:45 +0000 (22:13 +0000)]
bugfix/workaround for problem with hard-coded collision margins being too large. (part2)

14 years agobugfix/workaround for problem with hard-coded collision margins being too large.
Erwin Coumans [Sun, 18 Jun 2006 22:10:00 +0000 (22:10 +0000)]
bugfix/workaround for problem with hard-coded collision margins being too large.

14 years agoNULL check needed for RE_vertren_get_rad() when going over radio results...
Ton Roosendaal [Sun, 18 Jun 2006 19:11:52 +0000 (19:11 +0000)]
NULL check needed for RE_vertren_get_rad() when going over radio results...
Thanks Auralis for finding it!

14 years agoScripts:
Willian Padovani Germano [Sun, 18 Jun 2006 19:05:51 +0000 (19:05 +0000)]
Scripts:
- Jean-Michel Soler updated the svg to obj module used by Paths
Importer (thanks!)
- user request: added option to control whether user prefers per face
(uv face select "TwoSided" toggle) or per mesh ("Double Sided") single /
double face info in ac3d exporter.

BPY:
- Blender_ShowHelp() was now crashing Blender when called for the
second time, due to EXPP_dict_set_item_str decrementing the reference
count of an object passed as argument to Blender_ShowHelp() (so not
owned by that function).

14 years agoFix #4352
Ton Roosendaal [Sun, 18 Jun 2006 13:36:24 +0000 (13:36 +0000)]
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.

14 years agoBugfix #4352
Ton Roosendaal [Sun, 18 Jun 2006 12:27:06 +0000 (12:27 +0000)]
Bugfix #4352

More Sequence render fixes:

- on load of .blend file, with Sequencer invoking a sequence render, the
  header window matrix was not set, giving "Insane icon" prints
- option "Do Sequence" had no re-display call in end

14 years agoBugfix #4351
Ton Roosendaal [Sun, 18 Jun 2006 11:38:34 +0000 (11:38 +0000)]
Bugfix #4351

ESC wasn't supported for sequence-based rendering yet.
Solved it with correctly initializing the sequence render with all
render callbacks, including render updates (which it didn't do yet).

Cleanup:

- Bug in ghostwinlay code: the get_mbut() function reads from the window
  struct if a mouse is pressed. However, when you press the mouse in the
  sequencer, which causes a render, this value was hanging because then
  the active window was a render window.

- The new render display options (image window) didn't work for sequence
  render OK. There was a recursion even, because a sequence draw command
  calls a render, which in turn now calls redraws.

14 years agoAlso for new 'to image window' rendering, drawing of float buffers while
Ton Roosendaal [Sat, 17 Jun 2006 17:07:49 +0000 (17:07 +0000)]
Also for new 'to image window' rendering, drawing of float buffers while
rendering now is full 32 bits. This gives drawing issues in some cards,
like ATIs.

Copied the function used for renderwindow to glutil.c, and used now in the
image window.

14 years agoBug #4348
Ton Roosendaal [Sat, 17 Jun 2006 15:14:43 +0000 (15:14 +0000)]
Bug #4348

Animated groups, being linked and dupli-grouped in other file, didn't
correctly calculate particles inside the group.

14 years agoBulllet bugfix, assignment rather then test
Erwin Coumans [Sat, 17 Jun 2006 14:41:00 +0000 (14:41 +0000)]
Bulllet bugfix, assignment rather then test

14 years agofixed synchronisation problem with (kept on loosing this documentation bit when mergi...
Erwin Coumans [Sat, 17 Jun 2006 14:19:59 +0000 (14:19 +0000)]
fixed synchronisation problem with (kept on loosing this documentation bit when merging from Blender -> Bullet)

14 years ago===Python API===
Ken Hughes [Sat, 17 Jun 2006 14:08:15 +0000 (14:08 +0000)]
===Python API===
Bugfix #4347: deleting vertex 0 incorrectly deleted all triangle face, since
check for v4==0 wasn't being done.

14 years agofixed Bullet bug: constraints didn't merge simulation islands.
Erwin Coumans [Sat, 17 Jun 2006 13:55:59 +0000 (13:55 +0000)]
fixed Bullet bug: constraints didn't merge simulation islands.

14 years agoSolved bad design decision in Node Editor:
Ton Roosendaal [Sat, 17 Jun 2006 13:04:09 +0000 (13:04 +0000)]
Solved bad design decision in Node Editor:

The buttons uiBlock was stored in a Node, for retrieval of node buttons,
however that won't work when multiple windows show same Nodes.
Now implemented more correct unique Block names (as all over in UI), and
use that name to retrieve buttons with API call uiGetBlock().

14 years agoBugfix 4346
Ton Roosendaal [Sat, 17 Jun 2006 12:26:28 +0000 (12:26 +0000)]
Bugfix 4346

Node Shaders: the code checking for all required texture coordinates did
not test Groups inside a tree, so textures didn't render properly always.

14 years agoFix for Compositor, Image node: reads now from Movie files as well.
Ton Roosendaal [Sat, 17 Jun 2006 11:40:50 +0000 (11:40 +0000)]
Fix for Compositor, Image node: reads now from Movie files as well.
(support was there already halfway, needed to add button and an anim check)

14 years agoBugfix in the patching for Stucci texture: the version code assumed that
Ton Roosendaal [Sat, 17 Jun 2006 10:34:05 +0000 (10:34 +0000)]
Bugfix in the patching for Stucci texture: the version code assumed that
the MTex (mapping for texture) always had a texture... which should be
tested of course. My bad!

(Thanks Plumi studio for report!)

14 years agoCleanup of UI for new renderpipeline
Ton Roosendaal [Sat, 17 Jun 2006 10:25:07 +0000 (10:25 +0000)]
Cleanup of UI for new renderpipeline

- removed "Unified" button, replaced with "HD" preset for 1920x1080 output
- removed the unused "Pass" options
- removed the unused "Strands" render-layer option

Because the internal render pipe supports this already; added two more
render-layer options:

- "Sky", to enable/disable sky render in a layer (this was part of "Solid"
  before, not so correct... to ensure previously saved files work, the
  "Sky" option is set by default when "Solid" was set. The version patching
  will do this temporally always, until we've bumped up version to 2.42
- "Edge", to enable/disable edge render in a layer. Nice for compositing.

Also in this commit: fixed warnings for exported functions for the new
Node Editor pull-down menus.

14 years agopart 3
Jens Ole Wund [Fri, 16 Jun 2006 22:43:39 +0000 (22:43 +0000)]
part 3
MSVC6
dude set proper deps ! :)

14 years agopart 2
Jens Ole Wund [Fri, 16 Jun 2006 22:20:36 +0000 (22:20 +0000)]
part 2
MSVC6
Defensive way not to interfere with other (crystal) build systems
so .. i can maintain building bullet for blender on MSVC6 without spitting in
the "whateverbulletteamthinkstobenice" soup

14 years agoMSVC6
Jens Ole Wund [Fri, 16 Jun 2006 22:06:22 +0000 (22:06 +0000)]
MSVC6
Defensive way not to interfere with other (crystal) build systems
so .. i can maintain building bullet for blender on MSVC6 without spitting in
the "whateverbulletteamthinkstobenice" soup

14 years agoThis is a modified version of patch #4200
Kent Mein [Fri, 16 Jun 2006 20:00:00 +0000 (20:00 +0000)]
This is a modified version of patch #4200

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

It adds platform depenant prefix to function calls
(extern on non windows platforms more complicated on windows)
So that windows plugins can reference functions inside of blender.

there is a small TODO still...
Make release should build the helper library required under windows and modify
how they build the plugins:
dlltool --input-def plugin.DEF --output-lib libblenerplugin.a --dllname blender.exe
and the pulgins should be made with:
gcc -c (pluginname).c
gcc -shared -o (pluginname).dll (pluginname).o libblenderplugin.a

Kent

14 years agoPlumiferos fix-fix :)
Ton Roosendaal [Fri, 16 Jun 2006 19:16:27 +0000 (19:16 +0000)]
Plumiferos fix-fix :)

Code to allow "Env" material to mask out ztransp gave bad AA on edges of
solid faces, when transparant was behind it.

Recoded "Env" to use index -1 in the polygon index buffer, and restored
code that caused the bad AA.

14 years agoWhen ffmpeg format is selected, make 'Video' and 'Audio' panels
Chris Want [Fri, 16 Jun 2006 15:43:50 +0000 (15:43 +0000)]
When ffmpeg format is selected, make 'Video' and 'Audio' panels
as tabs of the format panel (was annoying how the format panel
would jump far to the right after selecting format' Thanks ao2
for noticing.

Note: as self-appointed code weenie, I should point out that the
ffmpeg code has a lot of tab/space indenting mixed in nasty
ways -- this should be fixed.

14 years agoUpdated previewblend, texture preview had minor line on left hand
Ton Roosendaal [Fri, 16 Jun 2006 15:33:14 +0000 (15:33 +0000)]
Updated previewblend, texture preview had minor line on left hand

14 years agoPreview Texture for Stucci works again.
Ton Roosendaal [Fri, 16 Jun 2006 15:31:32 +0000 (15:31 +0000)]
Preview Texture for Stucci works again.

NOTE: stucci didn't return 'intensity' since blender 1.0, something that
alsways caused headaches all over (all other textures do per definition).
But, allowing stucci to return 'intensity' would break old files.

To make it work for preview, I had to solve this once. Done with a version
patch, so old files (including current 2.41!) won't read with color channel
active for Stucci textures.

(Preview.blend I saved as a 2.42 file btw!)

14 years ago===Python API===
Ken Hughes [Fri, 16 Jun 2006 14:40:26 +0000 (14:40 +0000)]
===Python API===
Change to displayMode attribute to support the new render window options, and
correct description in the documentation.

14 years agoThis prevents to assign the built-in Images "Render Result" or "Compositor"
Ton Roosendaal [Fri, 16 Jun 2006 13:58:45 +0000 (13:58 +0000)]
This prevents to assign the built-in Images "Render Result" or "Compositor"
as texture to UV Face. Crashes in render, because memory then is undefined.

14 years agoThe new "transmissivity" option for ray-transparent now can be controlled.
Ton Roosendaal [Fri, 16 Jun 2006 13:11:21 +0000 (13:11 +0000)]
The new "transmissivity" option for ray-transparent now can be controlled.
By default it is disabled (depth 0.0), so rendering is as usual.

The meaning of "depth" and "falloff" will be extensively shown in the
release log pages. Coming soon!

(Patch provided by Ed Halley)

14 years agoBugfix #4341
Ton Roosendaal [Fri, 16 Jun 2006 12:33:35 +0000 (12:33 +0000)]
Bugfix #4341

The code added to ensure Image textures in nodes use the correct mapping
settings (UV, repeat, etc) crashed when editing non-osa cases.

14 years agoBugfix #4343
Ton Roosendaal [Fri, 16 Jun 2006 12:17:35 +0000 (12:17 +0000)]
Bugfix #4343

The (SHIFT+F4) databrowser showed the library file (added some months
ago) which didn't work for extremely long directory names well.
I've recoded it, so it now only shows the .blend name, not entire path.

14 years agoUpdated this script and added some functions, this wont effect eny existing python...
Campbell Barton [Fri, 16 Jun 2006 10:59:56 +0000 (10:59 +0000)]
Updated this script and added some functions, this wont effect eny existing python tools.

added functions
pickMeshRayFace(me, orig, dir):
pickMeshGroupWeight(me, act_group, orig, dir):
pickMeshGroupVCol(me, orig, dir):
facePlanerIslands(me):
edgeFaceUserCount(me, faces= None):

14 years agoCleanum, remove unneeded 'raise's
Campbell Barton [Fri, 16 Jun 2006 10:41:21 +0000 (10:41 +0000)]
Cleanum, remove unneeded 'raise's
Stupid hack- added 0,0,0 dummyvert so UVs import right (unrotated).
This script aparently dosent work on powerpc... (endian issues Im guessing)

14 years agoSilly screens code in Blender... trying to cleanup stuff only breaks other
Ton Roosendaal [Fri, 16 Jun 2006 10:17:56 +0000 (10:17 +0000)]
Silly screens code in Blender... trying to cleanup stuff only breaks other
things! :)

Anyhoo, commits yesterday for preview panel fixes in Compositor broke the
new fullscreen render output feature. The damn curarea again yes!

14 years agoBugfix #4332
Ton Roosendaal [Fri, 16 Jun 2006 09:28:51 +0000 (09:28 +0000)]
Bugfix #4332

Pressing ALT+W (save videoscape) in editmode gave error menu, but then the
Specials menu. Had to add a 'return 0'. Year zero bug...

14 years ago* Added header pulldown menus for the Node Editor. Also tweaked colours and some
Matt Ebb [Fri, 16 Jun 2006 04:32:39 +0000 (04:32 +0000)]
* Added header pulldown menus for the Node Editor. Also tweaked colours and some
of the menu organisation, consolidating the redundant 'Generators' with 'Input'.

14 years ago== UV Export ==
Martin Poirier [Thu, 15 Jun 2006 22:27:36 +0000 (22:27 +0000)]
== UV Export ==

Based on Ed Halley's report.
* Default size is now 512, min is 64, max 8192
* Loading saved params check that Editor path is valid.

14 years agobullet + GE happy on msvc6 again :)
Jens Ole Wund [Thu, 15 Jun 2006 21:22:22 +0000 (21:22 +0000)]
bullet + GE happy on msvc6 again :)
phew .. setting 'include pathes'  in VS6 is real pain

14 years agobugfix for overwriting memory when copying library name into too short char[]
Andrea Weikert [Thu, 15 Jun 2006 19:29:25 +0000 (19:29 +0000)]
bugfix for overwriting memory when copying library name into too short char[]

14 years agoUndo pushes for buttons could get cancelled out with a call to read the
Ton Roosendaal [Thu, 15 Jun 2006 17:25:10 +0000 (17:25 +0000)]
Undo pushes for buttons could get cancelled out with a call to read the
queue 'external'. Happened for example in Node editor.

14 years ago* Added a better mouse pointer for the eyedropper tool (thanks Bart) and also
Matt Ebb [Thu, 15 Jun 2006 14:22:59 +0000 (14:22 +0000)]
* Added a better mouse pointer for the eyedropper tool (thanks Bart) and also
some 2d scroll pointers

14 years agotry to catch error/ freezing reported on OSX
Erwin Coumans [Thu, 15 Jun 2006 13:39:05 +0000 (13:39 +0000)]
try to catch error/ freezing reported on OSX

14 years agoAdded with binary tag
Ton Roosendaal [Thu, 15 Jun 2006 13:29:01 +0000 (13:29 +0000)]
Added with binary tag

14 years agoRemoved preview.blend, as added as ascii
Ton Roosendaal [Thu, 15 Jun 2006 13:28:23 +0000 (13:28 +0000)]
Removed preview.blend, as added as ascii

14 years agoUpdated icons image and preview blend
Ton Roosendaal [Thu, 15 Jun 2006 13:08:50 +0000 (13:08 +0000)]
Updated icons image and preview blend

14 years agoHalos rendered with 'line' option could deliver overflow alpha values,
Ton Roosendaal [Thu, 15 Jun 2006 13:00:28 +0000 (13:00 +0000)]
Halos rendered with 'line' option could deliver overflow alpha values,
needs to be clipped.

14 years ago=== preview icons ===
Andrea Weikert [Thu, 15 Jun 2006 11:23:51 +0000 (11:23 +0000)]
=== preview icons ===
- changed preview type of halo materials
- halo materials are also shown with alpha=255 like in preview window

14 years agoBackground rendering didn't work anymore!
Ton Roosendaal [Thu, 15 Jun 2006 11:15:25 +0000 (11:15 +0000)]
Background rendering didn't work anymore!

- STUPID mistake from me in setting the waitcursor...
- icons for UI got freed, without checking if it existed (crash in end)
- call to close mainwindow didn't check if window existed

note:
I usually test the "blender -b" case, which should start blender,
initialize all, free all, and print "blender quit" to signal all is fine.

14 years agoBugfix #4338
Ton Roosendaal [Thu, 15 Jun 2006 10:10:27 +0000 (10:10 +0000)]
Bugfix #4338

When Edge render was choosen, the zbuffer values were altered, causing a
halo render to go wrong.