15 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

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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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!

15 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).

15 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

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

15 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.

Cube -> Cube Projection
Cylinder -> Cylinder from View
Sphere -> Sphere from View
Bounds to */* -> Project from View */*
Standard */* -> Reset */*
From Window -> Project from View

15 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)

15 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.

15 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.

15 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

15 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).

15 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.

15 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

15 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.

15 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.

15 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

15 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.

15 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)

15 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.

15 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!

15 years agoScripts:
Willian Padovani Germano [Sun, 18 Jun 2006 19:05:51 +0000 (19:05 +0000)]
- 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.

- 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).

15 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.

15 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

15 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).


- 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.

15 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.

15 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.

15 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

15 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)

15 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.

15 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.

15 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().

15 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.

15 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)

15 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!)

15 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.

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

15 years agopart 2
Jens Ole Wund [Fri, 16 Jun 2006 22:20:36 +0000 (22:20 +0000)]
part 2
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

15 years agoMSVC6
Jens Ole Wund [Fri, 16 Jun 2006 22:06:22 +0000 (22:06 +0000)]
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

15 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

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


15 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.

15 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.

15 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

15 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!)

15 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.

15 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.

15 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)

15 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.

15 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.

15 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):
edgeFaceUserCount(me, faces= None):

15 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)

15 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!

15 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...

15 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'.

15 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.

15 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

15 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[]

15 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.

15 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

15 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

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

15 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

15 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

15 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.

15 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

15 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

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

15 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.

15 years agoSmall fixes in 3d window preview render, discovered while making regression
Ton Roosendaal [Thu, 15 Jun 2006 09:44:52 +0000 (09:44 +0000)]
Small fixes in 3d window preview render, discovered while making regression
files for it :)

- on load, the rendering was done twice
- changing area size didn't correct the render

15 years ago Bug fix, reported by lukep at mailing list. Blender doesn't craash, when
Jiri Hnidek [Thu, 15 Jun 2006 09:35:09 +0000 (09:35 +0000)]
 Bug fix, reported by lukep at mailing list. Blender doesn't craash, when
 metaball is selected. Wrong recreating of existing Bounding box was reason
 of crashes.

15 years agoChanged some references to 'size' to now refer to 'scale'. If anybody
Chris Want [Thu, 15 Jun 2006 04:13:26 +0000 (04:13 +0000)]
Changed some references to 'size' to now refer to 'scale'. If anybody
sees a reference to size, as it pertains to a 3D object, please let
me know.

15 years agoFixed a bug where the start of the wave was not drawn, also added verbose commenting...
Campbell Barton [Thu, 15 Jun 2006 01:19:10 +0000 (01:19 +0000)]
Fixed a bug where the start of the wave was not drawn, also added verbose commenting and cleaned up the wave allignment.

15 years agohappy msvc6 compiling/debugging again
Jens Ole Wund [Wed, 14 Jun 2006 21:57:41 +0000 (21:57 +0000)]
happy msvc6 compiling/debugging again
remember no GE for msvc6

15 years agoBUG #4323:
Willian Padovani Germano [Wed, 14 Jun 2006 21:04:53 +0000 (21:04 +0000)]
BUG #4323:

Help->System->Benchmark (the Tkey benchmark) returned timings  even if
user cancelled the pupmenu. Was just missing a check
for -1 in toets.c -- wonder how old this one was... Reported by Wim Van

- Updated Jean-Michel's hotkeys script for Blender 2.42.
- Followed Pieter Visser's suggestion and added version info to the menu
names of the older collada scripts (v1.3.1).

Thanks guys!

Note for builders: nevermind if you already compiled 2.42RC1, these
updates are not critical at all and can be left for the release or RC2.

15 years agorenamed 'Size' to Radius in the logic buttons (This naming was confusing, as the...
Erwin Coumans [Wed, 14 Jun 2006 21:02:03 +0000 (21:02 +0000)]
renamed 'Size' to Radius in the logic buttons (This naming was confusing, as the 'size' was only used as 'radius' for a rigid body with 'sphere' shapel. It has no effect on box, convex, cylinder and other shapes.

Don't worry, this is unrelated to recent Size -> Scale renaming.

15 years agointerim fix for the low end integrated intel graphic cards
Jean-Luc Peurière [Wed, 14 Jun 2006 18:04:57 +0000 (18:04 +0000)]
interim fix for the low end integrated intel graphic cards
until a better solution is found

15 years agoFixes for preview render in buttons:
Ton Roosendaal [Wed, 14 Jun 2006 18:04:26 +0000 (18:04 +0000)]
Fixes for preview render in buttons:

- restored type choice compatiblity (plane, sphere, cube)  with 2.41   release (sorry, will break saved files with CVS... my fault, should
  have known.)

- removed lamp choices (lights now are different per preview, no fixed

- added checkered plane behind the plane preview. nicer for halos.

15 years agoEndian fix for drawing alpha in images.
Ton Roosendaal [Wed, 14 Jun 2006 16:02:11 +0000 (16:02 +0000)]
Endian fix for drawing alpha in images.

15 years agoBug fix:
Ton Roosendaal [Wed, 14 Jun 2006 13:25:01 +0000 (13:25 +0000)]
Bug fix:

Files saved with new cloth modifier patch crash in cvs blender. (#define
for cloth is 13 even!). This was caused by lack of upward compatibility
for non existing modifiers.

Also added giant warning in code for the ENUM for modifier types.

15 years agoBugfix #4135
Ton Roosendaal [Wed, 14 Jun 2006 12:42:23 +0000 (12:42 +0000)]
Bugfix #4135

Mixdown option (blending sequence audio strips) didn't write proper WAV.
- file length in header chunk was too short (potential crasher)
- endian switch code used swab(), which wasn't defined to work when src and
  target is identical
- cleaned up some code too... like removing timecursor() for core loop.

15 years agoBugfix #4329
Ton Roosendaal [Wed, 14 Jun 2006 08:50:41 +0000 (08:50 +0000)]
Bugfix #4329

New "Dimension" button: when using TAB to cycle over buttons, the dimension
event was sent multiple times, accumulating scaling. The code was also not
prepared to handle multiple changes at one event.

Also: added object_get_boundbox(Object *ob) in BKE_object.h, so the code
now really supports most primitives in Blender.

15 years ago===Python API===
Ken Hughes [Wed, 14 Jun 2006 05:16:39 +0000 (05:16 +0000)]
===Python API===
Moved .up() and .down() methods from Constraint API to Constraint sequence
API (also renamed them to moveUp() and moveDown() ).  Again, methods which
modify the "parent" structure didn't seem consistent.

15 years ago===Python API===
Ken Hughes [Wed, 14 Jun 2006 04:41:31 +0000 (04:41 +0000)]
===Python API===
Moved .up() and .down() methods from Modifier API to Modifier sequence
API (also renamed them to moveUp() and moveDown() ).  Locating methods
which modify the "parent" structure in objects didn't seem consistent.

15 years agoBug 4313
Ton Roosendaal [Tue, 13 Jun 2006 20:33:45 +0000 (20:33 +0000)]
Bug 4313

Particles: option "even" failed when faces where all exactly same sized,
then it sometimes skipped entire faces.

Just the regular <1.0 that had to be <=1.0

15 years agoRestored the pretty lousy but still popular stars render in blender.
Ton Roosendaal [Tue, 13 Jun 2006 20:00:14 +0000 (20:00 +0000)]
Restored the pretty lousy but still popular stars render in blender.
Hope our sky guru can come with something cooler for next release!

15 years agobugfix 4324
Ton Roosendaal [Tue, 13 Jun 2006 18:51:52 +0000 (18:51 +0000)]
bugfix 4324

Old issue... Blender saves jpg RGBA files. That's unsupported in all
programs except Blender, always a source of problems with that feature.

Now it just falls back to saving 24 bits when the "RGBA" option is set.

15 years agoAltering the rules for opening a blender area window for render output.
Ton Roosendaal [Tue, 13 Jun 2006 15:50:05 +0000 (15:50 +0000)]
Altering the rules for opening a blender area window for render output.

- if current visible area shows render result; use this
- else: search for largest non-Image area (so it won't use Texture or
  Composite outputs)
- else if only 1 available window it uses that one.

Works for both new options (fullscreen too). Especiall fullscreen works
much better, since it uses an own designated Image Window by default.

15 years agoLens flare rendering back.... completely forgot about this antique
Ton Roosendaal [Tue, 13 Jun 2006 14:51:17 +0000 (14:51 +0000)]
Lens flare rendering back.... completely forgot about this antique

It doesn't render preview yet... for that we have to fix preview system.

15 years agoOne half of Bug #4320 fixed: The 'linked scale' button in the transform
Chris Want [Tue, 13 Jun 2006 05:19:43 +0000 (05:19 +0000)]
One half of Bug #4320 fixed: The 'linked scale' button in the transform
properties panel now handles negative numbers.

I don't know how to solve the half of the bug related to the tab
key though ...

More info here:

15 years agoPlumiferos crash report:
Ton Roosendaal [Mon, 12 Jun 2006 21:31:02 +0000 (21:31 +0000)]
Plumiferos crash report:

2006/01/28 commit from Campbell forgot to check for proper pointer:

if(seq->sound->stream==NULL) return;

should be:

if(seq->sound==NULL || seq->sound->stream==NULL) return;

15 years agoLast minute patch from Chris Want
Ton Roosendaal [Mon, 12 Jun 2006 20:01:18 +0000 (20:01 +0000)]
Last minute patch from Chris Want

Nkey "Properties Panel" now has Dimension ("Dim") buttons too.
This reads from the actual bounding box value to see the size. Note that
dimensions for animated & deformed objects will change per frame.

(Cleaned up buttons layout for patch, and added support for Curve, Text and
Surface objects)

15 years ago- changed back SHGetFolderPath to SHGetSpecialFolderPath to support older Win98 and...
Andrea Weikert [Mon, 12 Jun 2006 19:13:17 +0000 (19:13 +0000)]
- changed back SHGetFolderPath to SHGetSpecialFolderPath to support older Win98 and Win95 systems without having to redirstribute shfolder.dll
- MINGW should compile too now (was problem when fucntionality was first introduced), tested with MINGW 5.0.2 (scons)
- added -lshell32 for the dependency on MINGW

15 years agoAnother fix to enable painting in a rendering. Paint works, but it's not
Ton Roosendaal [Mon, 12 Jun 2006 19:05:58 +0000 (19:05 +0000)]
Another fix to enable painting in a rendering. Paint works, but it's not
persisant (since float buffer is the source, converted to 32 bits for
drawing only)

15 years agoBullet, bugfix: don't simulate when substeps are set to 0
Erwin Coumans [Mon, 12 Jun 2006 18:47:56 +0000 (18:47 +0000)]
Bullet, bugfix: don't simulate when substeps are set to 0

15 years agoattempt to fix the release makefiles
Jean-Luc Peurière [Mon, 12 Jun 2006 17:15:31 +0000 (17:15 +0000)]
attempt to fix the release makefiles

15 years agoUV/Image Editor: Paint option crashed when using on float images.
Ton Roosendaal [Mon, 12 Jun 2006 15:28:47 +0000 (15:28 +0000)]
UV/Image Editor: Paint option crashed when using on float images.
Should support this once too... but that's another project.