Commit Graph

53000 Commits

Author SHA1 Message Date
Michel Selten
95dc219ff8 SCons updates
* All output is now generated in a seperate directory. By default this is
  ../build/
  Currently all .lib / .a files are still build in lib/
  So, I guess I need to update all SConscript files to build the lib now also
  in the build_dir. TODO
* User configurable options have been added.
  When running SCons for the first time, a new config.opts file is generated.
  The defaults are taken from each section currently in SConstruct.
  Currently implemented options:
  - VERSION             // Blender version. not used at the moment
  - BUILD_BINARY        // release or debug
  - BUILD_DIR           // target directory to build intermediate files
  - USE_INTERNATIONAL   // true or false
  - BUILD_GAMEENGINE    // true or false
  - USE_PHYSICS         // ode or solid
  - USE_OPENAL          // true or false
  - USE_FMOD            // true or false
  - USE_QUICKTIME       // true or false

  Note that all options are strings, so quotes are necessary (')

  There's currently some duplicate code in the SConstruct and SConscript
  files, but this currently works and cleanup can be done in small steps
  afterwards.

* Disabled international support on Linux by default for now.
  There is something wrong with this currently. I'll fix it in the near
  future.
2004-02-07 20:44:43 +00:00
Kent Mein
b381169dd9 Kino's tooltip fix for envmap. (fixes a typo)
Kent
2004-02-06 15:20:45 +00:00
Rob Haarsma
7510d2a285 Added the DELKEY for editing a Text object. 2004-02-06 13:23:05 +00:00
Kent Mein
f9c1dcc802 Christian Pless's patch it just updates the toolbox shorcuts for
Rotation and Scaling so they have R and S instead of all 3 having G as
the shortcut.

(Its in the transform/Rotate on Axis and transform/Scale on Axis toolbox items.)

Kent
2004-02-05 17:26:37 +00:00
Chris Want
6aab05fea2 This one is a bit strange to describe so I'll just mention the symptom:
bones in one armature that were constrained to bones in another
armature, which in turn were constrained to a non-armature object
weren't getting updated correctly.

This fixes bf-blender bug #955 (thanks Appolux).

Note: This commit need not be logged in future release notes (was
caused by recent armature speed ups).
2004-02-05 15:08:26 +00:00
Kent Mein
2cb51d0b73 Added two small bug fixes LukeW found.
HoR, HoG, HoB tooltips talked about Zenith instead of Horizon.
added (F6) to the texture tooltip. He also mentioned F5 but
the F5 is already there its just context sensitive and the
sub menus do not have the shortcut.

Kent
2004-02-03 16:52:08 +00:00
Simon Clitherow
c968c1b1ff - Added missing break statements. Panning and zooming from the menus
now works correctly.
2004-02-01 15:44:37 +00:00
Matt Ebb
23a11c714e * Got rid of the dual URLs on the splash screen 2004-02-01 11:39:18 +00:00
Ton Roosendaal
f5e85cc538 - version upped to 2.32
(warn: still waiting for splash!)
2004-01-31 13:00:31 +00:00
Alfredo de Greef
516a0370ad Fixed problem of missing win32 drive when file selector was used to choose export path.
Fixed missing background when not rendering with GI enabled.
2004-01-30 21:47:34 +00:00
Ton Roosendaal
a1c7a5b043 - removed error() call from initrender, for when no backbuf found.
this function needs the UI active, doesnt work with renderwindow.
2004-01-30 18:07:26 +00:00
Willian Padovani Germano
8fbed941bc - Last minute script addition (blame / thank Theeth :) -- Theeth's UV Face export script.
- tiny harmless change in module Blender.Material's *doc*.

Aphex: tested your fix for windows (thank you -- and Bill Baxter for reporting):
  It doesn't break anything here (linux).  So probably no need for #ifdef's.
2004-01-30 04:27:28 +00:00
Martin Poirier
3a8ae6fa67 Lamp Dist limit brought back up to 5000 like it was before. (Hoping it doesn't cause any problems) 2004-01-29 23:34:20 +00:00
Ton Roosendaal
f85027ad02 - made f10 mode buttons (shadow/env/ray/etc) all equal height. 2004-01-29 22:28:51 +00:00
Ton Roosendaal
56926b00ac - fix after testing with regression files; the boundary on a sphere, on the
edge where shaded is unshaded, the shadow routine didn't work correctly.
  Had to put back an old dot-product check to fix.
2004-01-29 22:28:04 +00:00
Simon Clitherow
d0f7d306b6 second last minute commit! -- removed a trailing slash which prevented
win32 from locating .blender/scripts.
I'm hoping other OSes are a little more forgiving about these things...
but PLEASE test, else we may need to #ifdef it.
2004-01-29 22:12:14 +00:00
Simon Clitherow
6d68c41e62 last minute commit -- saving .b.blend files on Windows for users
who have set a %HOME% environment var now works again.
Patch provided by Bill Baxter, plus an additional fix for Win9x.

There is still work to be done with this after the 2.32 release...
2004-01-29 20:30:05 +00:00
Ton Roosendaal
162d5cdc91 fix for bug #933, specularity was clipped too soon, especially evident
when using low spec hardness value (1 or 2).
2004-01-29 17:33:38 +00:00
Alejandro Conty Estevez
c28a1b5817 Fixed problem reported by Panagiotis Papadakos about yafray path in unix 2004-01-29 08:46:08 +00:00
Martin Poirier
aea517832b NURBS CV Weight button fix for the Editing window and Properties floating panel.
Upped both limit to 100. (in 2.23, the limit in the Nkey window was 100).
Corrected the minimum of the Properties panel (was -10 which made no sense).
2004-01-29 00:47:35 +00:00
Willian Padovani Germano
bdc624452b BPython:
-- fixing a last minute bug: scripts w/o guis that called the file selector were
   not being checked for errors, which could cause crash dumps upon exiting.
-- docs: updates for Draw (fixed example) and Material (added tex related methods docs)

Scripts:
-- added some more scripts, all I could get in shape in time (at least they export / import back).
   Only tested on linux.
2004-01-28 19:16:50 +00:00
Michel Selten
d705e90841 Makefile update
* In a previous commit, the following targets on Linux were commented out:
  - plugin
  - xplink
  - blenderstatic
  - blenderplayer
  This commit uncommented those targets again.
2004-01-28 19:05:52 +00:00
Matt Ebb
130b302882 Whoops, this should have gone along with the panel shading commit. 2004-01-28 12:24:45 +00:00
Matt Ebb
682751cd4f * Widened the tooltips when using non-AA fonts, so there's a margin between the top of the tooltip and the ascender. 2004-01-28 12:20:19 +00:00
Matt Ebb
a82c289982 * Replaced crappy close icon (that always got distorted) with an OpenGL drawn X. Can someone with a graphics card that supports AA lines please check that this looks ok, since mine doesn't :(
* Minor tweaks to panel shading/colours
2004-01-28 12:17:54 +00:00
Matt Ebb
c733ce5afb * Reverted to an older method of drawing button outlines (previous caused a stupid 'building up' effect from transparent lines being repeatedly drawn over the top of each other). This causes minor problems elsewhere, but it's less troublesome overall, for now - hopefully a proper solution can be found in the future. 2004-01-28 12:16:05 +00:00
Stefan Gartner
a7a3b3b0b3 (re)added pulldown menu to select physics. Both the menu and the gravity
slider are only enabled if GAMEBLENDER is set to 1
2004-01-28 11:42:19 +00:00
Chris Want
e958ccafd2 My beautification of the behemoth do_all_actions() broke NLA blend in/out
... I don't have time to find a fix before the release so I'll just revert
the code.
2004-01-27 15:18:04 +00:00
Alejandro Conty Estevez
8e6b1f54b1 Gi power behaviour changed so it's exported as a multiplier for the emit
component of the materials, background color, and dummy arealights. Hemi/Path
power is kept 1.0 now. Also changed the range for power to [0-100]
2004-01-27 12:41:37 +00:00
Willian Padovani Germano
36bd6379c2 BPython - two small fixes:
-- search/remove '\r' from string buffers read from scripts:
    used a fast way: change each '\r' to a space, since it should
    work for scripts and the buffer is only needed for a short while.
-- added call to clear error indicator before running a script.
    A previous script may set it even on succesful returns.
2004-01-27 09:30:29 +00:00
Alfredo de Greef
898001a2b6 As reported by Hiroshi Saito, M_1_PI apparently not recognized in VC6, removed it. 2004-01-27 06:23:33 +00:00
Chris Want
e8aaea0b63 Armature related fixes and cleanups:
* Armatures that had constraint targets inside other armatures
  weren't transform()-ing correctly

* Issues with lattice deformed objects that are parents of bones
  when rendering an animation. Seems to be mostly OK now with the
  exception of the first rendered frame -- weird bugs like this have
  plagued blender for ages, which leads me to believe that
  RE_rotateBlenderScene() is a piece of garbage that nobody understands
  (especially me).

* made a few helper functions to clean up some repeated code related
  to clearing constraint status and rebuilding displists.
2004-01-27 06:08:37 +00:00
Alfredo de Greef
c225bf1240 On request of broken, monkeyboi and others the rendering engine menu is back again.
The menu button was also moved to the render panel, this required some changes to the placement of the other buttons.
I hope this is no problem...
2004-01-27 05:46:12 +00:00
Chris Want
1b73348e98 Made select more, select less, and select non-manifold more aware of
hidden verts.
2004-01-27 04:42:12 +00:00
Willian Padovani Germano
33dd2f5e0d BPython:
- as proposed by Ton, default dir for menu enabled scripts is:
userhome/.blender/scripts if available or (using bprogname -- argv[0]),
blenderInstallationDir/.blender/scripts/ otherwise.
- moved a piece of code from BPY_interface.c to BPY_menus.c to get rid
of a linkage warning reported by J. Walton
-- added the first scripts to release/scripts:

We need time to get more scripts there, but the situation should improve
consistently from now on.  Adding three export scripts: cal3d, directX, ac3d.
And one import: ac3d.
2004-01-27 03:34:16 +00:00
Alfredo de Greef
8273ebce0f fixed problem with ray button and shadow rendering
Blender 'sphere' mode lights in yafray should now have more similar light levels
render shadow button in Blender must now be enabled to render shadows in yafray too
some other minor shadow related corrections
2004-01-27 00:15:12 +00:00
Ton Roosendaal
a5f2e598a2 - added line as provided by Bill Baxter, which makes option "no numpad"
accept the minuskey for numerical input while transform().
2004-01-26 15:42:54 +00:00
Rob Haarsma
d9ab27eda2 Fixed nasty #include. 2004-01-26 12:53:40 +00:00
Rob Haarsma
a3283280bf Fixed behaviour of cyclic anim textures.
Note: the Fie/Ima (fields per rendered image) functionality is still broken.
2004-01-26 12:37:34 +00:00
Alejandro Conty Estevez
e11754cf12 possible fix for os x problem, caused by SIGVTALRM 2004-01-26 12:15:33 +00:00
Alexander Ewering
2837000728 "Fixes" bug 929 - The undo system crashed when the maximum number of undo
steps in userprefs was set to 1. Increased the lowest possible value to
2 :)
2004-01-25 23:48:11 +00:00
Michel Selten
c8d8b2c4de SCons update
* makesdna generates dna.c which in turn should be compiled with nice cflags,
  linkflags etc. But, a small error slipped in which caused the .c file to be
  compiled into a nice .o file without those flags.
  Thanks to Hos for pointing out the error and persisting there indeed was an
  error.
2004-01-25 20:57:25 +00:00
Alfredo de Greef
8b53b30563 arealight now can be used without global photonmap
fixed problem with spotlights not rendering
2004-01-25 20:28:46 +00:00
Michel Selten
259acf5f66 Python bug fix for #724
* Blender.Object.setDrawMode does not work. I had accidentally switched the
  variables for setDrawMode and setDrawType. This implied that _both_
  functions did not work correctly. The functions getDrawMode and getDrawType
  use the correct variables.
2004-01-25 17:58:24 +00:00
Michel Selten
8eac9cef15 Python bug fix for #875
* Blender.Object.GetSelected() would crash when no 3d-view has been
  initialized at startup. Fixed.
2004-01-25 17:42:40 +00:00
Robert Wenzlaff
7021c88b4d - Port fix for Backbuffer/Optimize hang (caused by short pointer hack)
from tuhopuu.
2004-01-25 16:25:55 +00:00
Rob Haarsma
4e525501b5 Applied checks for more secure 3D font handling.
(Loading fonts without a valid name would crash Blender)
2004-01-25 13:50:54 +00:00
Ton Roosendaal
2037ef9d25 - code i committed for correct arrowkeys on selecting items in pulldowns
broke the ui_mouse_motion_towards_block() function. This made sure
  mouse motion (diagonal) towards a new opened sub-level keeps the sub-
  level open.
  Fixed!
2004-01-24 17:26:58 +00:00
Ton Roosendaal
1f364149d6 - Nurbs curve/surface Nkey editmode now displays the W value again!
was lost in 2.30 makeover.
2004-01-24 16:56:12 +00:00
Ton Roosendaal
00406f12c6 - commented out line with unused variable, to make warnings going down
with 1!
2004-01-24 12:24:58 +00:00