Commit Graph

7157 Commits

Author SHA1 Message Date
Jens Ole Wund
bddc22e01c 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
2006-06-16 22:06:22 +00:00
Kent Mein
8918232465 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
2006-06-16 20:00:00 +00:00
Ton Roosendaal
3593d0684a 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.
2006-06-16 19:16:27 +00:00
Chris Want
f642d54c18 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.
2006-06-16 15:43:50 +00:00
Ton Roosendaal
6c79000713 Updated previewblend, texture preview had minor line on left hand 2006-06-16 15:33:14 +00:00
Ton Roosendaal
7aeba4fd0f 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!)
2006-06-16 15:31:32 +00:00
Ken Hughes
8400859f64 ===Python API===
Change to displayMode attribute to support the new render window options, and
correct description in the documentation.
2006-06-16 14:40:26 +00:00
Ton Roosendaal
f29e554214 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.
2006-06-16 13:58:45 +00:00
Ton Roosendaal
3356c4ba2f 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)
2006-06-16 13:11:21 +00:00
Ton Roosendaal
a33798d697 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.
2006-06-16 12:33:35 +00:00
Ton Roosendaal
333eae5b03 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.
2006-06-16 12:17:35 +00:00
Campbell Barton
a4c2492d6e 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):
2006-06-16 10:59:56 +00:00
Campbell Barton
be22b6e8e8 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)
2006-06-16 10:41:21 +00:00
Ton Roosendaal
21c90425c0 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!
2006-06-16 10:17:56 +00:00
Ton Roosendaal
e7b0f1f071 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...
2006-06-16 09:28:51 +00:00
Matt Ebb
cf9e420ad3 * Added header pulldown menus for the Node Editor. Also tweaked colours and some
of the menu organisation, consolidating the redundant 'Generators' with 'Input'.
2006-06-16 04:32:39 +00:00
Martin Poirier
8008783e27 == 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.
2006-06-15 22:27:36 +00:00
Jens Ole Wund
1d5136f57e bullet + GE happy on msvc6 again :)
phew .. setting 'include pathes'  in VS6 is real pain
2006-06-15 21:22:22 +00:00
Andrea Weikert
f4b4a2bb50 bugfix for overwriting memory when copying library name into too short char[] 2006-06-15 19:29:25 +00:00
Ton Roosendaal
0b8cfd4042 Undo pushes for buttons could get cancelled out with a call to read the
queue 'external'. Happened for example in Node editor.
2006-06-15 17:25:10 +00:00
Matt Ebb
d5b3e75652 * Added a better mouse pointer for the eyedropper tool (thanks Bart) and also
some 2d scroll pointers
2006-06-15 14:22:59 +00:00
Erwin Coumans
986f999671 try to catch error/ freezing reported on OSX 2006-06-15 13:39:05 +00:00
Ton Roosendaal
a31829fe20 Added with binary tag 2006-06-15 13:29:01 +00:00
Ton Roosendaal
e0eb78a3bc Removed preview.blend, as added as ascii 2006-06-15 13:28:23 +00:00
Ton Roosendaal
ff46d6a588 Updated icons image and preview blend 2006-06-15 13:08:50 +00:00
Ton Roosendaal
006800cd09 Halos rendered with 'line' option could deliver overflow alpha values,
needs to be clipped.
2006-06-15 13:00:28 +00:00
Andrea Weikert
ba5880aa73 === preview icons ===
- changed preview type of halo materials
- halo materials are also shown with alpha=255 like in preview window
2006-06-15 11:23:51 +00:00
Ton Roosendaal
680eed3758 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.
2006-06-15 11:15:25 +00:00
Ton Roosendaal
ecb204fa7c Bugfix #4338
When Edge render was choosen, the zbuffer values were altered, causing a
halo render to go wrong.
2006-06-15 10:10:27 +00:00
Ton Roosendaal
6deb0cf41a 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
2006-06-15 09:44:52 +00:00
Jiri Hnidek
d3a5f98823 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.
2006-06-15 09:35:09 +00:00
Chris Want
ed00ef33c4 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.
2006-06-15 04:13:26 +00:00
Campbell Barton
d0fb19bbe5 Fixed a bug where the start of the wave was not drawn, also added verbose commenting and cleaned up the wave allignment. 2006-06-15 01:19:10 +00:00
Jens Ole Wund
06ee80635c happy msvc6 compiling/debugging again
remember no GE for msvc6
2006-06-14 21:57:41 +00:00
Willian Padovani Germano
0604c3a4ec 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
Hoydonck.

Scripts:
- 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.
2006-06-14 21:04:53 +00:00
Erwin Coumans
1d44ad8b4c 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.
2006-06-14 21:02:03 +00:00
Jean-Luc Peurière
b535b671b3 interim fix for the low end integrated intel graphic cards
until a better solution is found
2006-06-14 18:04:57 +00:00
Ton Roosendaal
c0c7c4ba14 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
  choices).

- added checkered plane behind the plane preview. nicer for halos.
2006-06-14 18:04:26 +00:00
Ton Roosendaal
6388715b43 Endian fix for drawing alpha in images. 2006-06-14 16:02:11 +00:00
Ton Roosendaal
acd56a193b 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.
2006-06-14 13:25:01 +00:00
Ton Roosendaal
b81e5bac74 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.
2006-06-14 12:42:23 +00:00
Ton Roosendaal
8988a0de38 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.
2006-06-14 08:50:41 +00:00
Ken Hughes
4ed583ea8a ===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.
2006-06-14 05:16:39 +00:00
Ken Hughes
da33f51b76 ===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.
2006-06-14 04:41:31 +00:00
Ton Roosendaal
090678de66 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
2006-06-13 20:33:45 +00:00
Ton Roosendaal
bbc6468b34 Restored the pretty lousy but still popular stars render in blender.
Hope our sky guru can come with something cooler for next release!
2006-06-13 20:00:14 +00:00
Ton Roosendaal
adff7aacad 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.
2006-06-13 18:51:52 +00:00
Ton Roosendaal
9028f6cdcd 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.
2006-06-13 15:50:05 +00:00
Ton Roosendaal
f4dcb244f5 Lens flare rendering back.... completely forgot about this antique
feature.

It doesn't render preview yet... for that we have to fix preview system.
2006-06-13 14:51:17 +00:00
Chris Want
0065151ad6 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:
http://projects.blender.org/tracker/index.php?func=detail&aid=4320&group_id=9&atid=125
2006-06-13 05:19:43 +00:00