Commit Graph

47594 Commits

Author SHA1 Message Date
3114e5916c Fixed a few typos in tool tips, and made area lamp buttons
label the dimentions more consistantly.

	Resolves bugtracker #1001
2004-03-07 17:41:20 +00:00
9ed4436058 Updated the Sun ifdef's basically I standardized them so they
were all the same and make sure all platforms see them.

Kent
2004-03-06 19:32:33 +00:00
b5ae8a30a2 Reverted the casts so it would compile on irix.
Complaining because the cast confuses the compiler and it complains
lvalue of the expression isn't modifiable.
Probably a way to fix this but I'm lazy so I'm just reverting it to the
warning that works. :)

Also noticed a debug statment that was after a return value so I remove it.
(It was also trying to print memory that had been set to NULL above so
pretty much worthless)

Kent
2004-03-06 17:16:35 +00:00
0a4a186c2e added #include <string.h>
to remove the following warnings:
playanim.c:228: warning: implicit declaration of function `strdup'
playanim.c:228: warning: assignment makes pointer from integer without a cast
playanim.c:234: warning: implicit declaration of function `strcpy'
playanim.c:281: warning: assignment makes pointer from integer without a cast
playanim.c:299: warning: implicit declaration of function `strlen'
playanim.c: In function `playanim':
playanim.c:378: warning: implicit declaration of function `strcat'

Kent
2004-03-06 16:14:25 +00:00
Nathan Letwory
1cc19c6993 - [WIN32] Ask user to press enter after exiting Blender in debug mode. Previously it would either not fall back to the prompt or not close the new dos-box (ie. not started from a dos-box). 2004-03-06 13:08:36 +00:00
Stephen Swaney
7b5d3f183b Fix for bug# 986
Assigning a new value to a Button string did not resize the string buffer.
2004-03-06 10:35:15 +00:00
8a7110a19a removed -Wbad-function-cast -Wmissing-declarations -Wnested-externs
from LEVEL_2_CPP_WARNINGS since they aren't valid for c++
(Note they are still in the LEVEL_2_C_WARNINGS)

Kent
2004-03-05 21:29:34 +00:00
b5fef06a95 Bugfixes by eeshlo
Fixes Bug 990 and 976
990 - Parenting Issues with Yafray Export
976 - Curve (Text) 'Front' and 'Back' not Exporting to Yafray
2004-03-05 20:08:30 +00:00
445fd66f27 Added 'Execute Script' to the right click pupmenu in the text editor 2004-03-05 17:15:49 +00:00
Nathan Letwory
9076b80db6 * [SCons] enable BUILD_DATE for win32. Basically SCons creates an extra file in source/creator, which is included by buildinfo.c whenever BUILD_DATE is on and building on Windows. SCons automatically takes care of this dependency. 2004-03-05 15:20:52 +00:00
Stephen Swaney
811e144c6f Fix for bug #1014
In IpoCurve.addBezier() method, set handles of newly added point to type Auto.

Fix provided by Roland Hess (harkyman).
2004-03-05 08:20:18 +00:00
Stephen Swaney
83804a7173 Fix for Bug 1039
Changed doc to match the parameters for Ipo New() method.
Corrected error message for expected argument types in New() method.
2004-03-05 06:25:49 +00:00
Stephen Swaney
db9f9215cf Fix for Bug 1045.
Added more detail for method return types in various doc files.
Changed version number in epy_docgen.sh to BPY_API_232.
2004-03-05 05:50:50 +00:00
4d1f58ebd0 - set/get Euler works with the real thing now
- ability to set the object's matrix
2004-03-03 00:45:10 +00:00
74680a07c0 Removed a fudge factor of .5
think it was an old opengl hack for something.

See for more info:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=3107

Also the person that should get credit for this is: chrish and meestaplu

Kent
2004-03-02 18:50:54 +00:00
6ed91ce2ed Styken's fix for bug # 1035
Its a if to check for divide by 0 case.

Kent
2004-03-02 16:49:50 +00:00
056579b19c Documentation for mathutils. 2004-03-02 11:56:20 +00:00
b61a81ff9b Documentation for mathutils. 2004-03-02 11:44:06 +00:00
Nathan Letwory
af2c3a4c10 Added OpenBSD3.x to the SCons build system. 2004-03-02 08:40:19 +00:00
b8b21cb47a Another Patch by Joilnen,
This one uses struct casts to get rid of some gcc warnings.

Kent
2004-03-01 18:54:11 +00:00
1b6d9da7a3 Joilnen's Fix for bug #999
Basically the switch statement for the menu had some numbers that were off.
it went 7 9 10 11 instead of 7 8 9 10


Joilnen's Fix for bug #999

Basically the switch statement for the menu had some numbers that were off.
it went 7 9 10 11 instead of 7 8 9 10

Kent
2004-03-01 17:55:42 +00:00
70a4ead0ae SCons updates
* Blender static now links. By default this option is disabled on all
  platforms. Simply set the option in config.opts to 'true'.
* Added the following flags to config.opts:
  - HOST_CC.    This is the C compiler for the host platform. This value is the
                same as TARGET_CC when not cross compiling.
  - HOST_CXX.   This is the C++ compiler for the host platform. This value is
                the same as TARGET_CXX when not cross compiling.
  - TARGET_CC.  This is the C compiler for the target platform.
  - TARGET_CXX. This is the C++ compiler for the target platform.
  - TARGET_AR.  This is the linker command for linking libraries.
  - PATH        This is the standard search path
  All SConscript files have been updated to reflect these changes. Now it's
  possible to change only the root SConstruct file, and all compiler specific
  variables are passed automatically to all SConscript files. Of course, this
  does not apply to makesdna because there the host and target platform is
  different from all other libraries.
  To pass a variable that applies to all platforms, all we now have to do is
  set the correct value in library_env


Note: as usual, to get the latest options in the config.opts file, first
      remove your version.
2004-02-29 21:40:48 +00:00
5998c12c60 Fixes bug report 1012. Copy Attrib didn't copy sudsurftype.
(Now it does.)
2004-02-29 16:45:10 +00:00
d63ca836db - SConscript error for mathutils, no comma after C file 2004-02-29 15:07:32 +00:00
a03d2abe0d Update to SCons for new Mathutils lib 2004-02-29 13:26:42 +00:00
8f3a9815ba Mathutils library for the python API
- support for quaternions, euler, vector, matrix operations.
- euler supports unique rotation calculation
- new matrix memory construction and internal functions
- quaternion slerp and diff calculation
- 2d, 3d, 4d vector construction and handling
- full conversion support between types
- update to object/window to reflect to matrix type
- update to types/blender/module to reflect new module
2004-02-29 13:20:34 +00:00
8023fb4282 SCons updates
* Added the options to build (configurable via config.opts):
  - blender dynamic (default enabled),
  - blender static (default disabled). Not working because of a linking order
    problem. The /usr/lib/libGL.a and /usr/lib/libGLU.a flags need to be
    appended at the end of the link command, not directly after the linker.
    Mailed the SCons mail list for a possible solution.
  - blender player (default disabled). Not implemented yet anyway.
  - blender plugin (default disabled). Not implemented yet anyway.
* Added the following variables to the config.opts:
  - OPENGL_STATIC. This flag is only needed when building blender static.
  - USE_BUILDINFO (true/false). Display build information in the splash
    screen. When enabled, it will always rebuild source/creator/buildinfo.c,
    so for compilation speed reasons, it is not adviced to enable this all the
    time.

I had to make some adjustments specifically for the windows build
(winblender.res) file. This file is only compiled when building the dynamic
blender. I hope this is correct.
2004-02-24 20:03:27 +00:00
6379637089 sorry more ;'s this should be the last of them though.
Kent
2004-02-23 19:14:38 +00:00
a0e9208c35 another extraninous ;
Kent
2004-02-23 19:05:42 +00:00
2b2e272829 some more warnings cleared up from Solaris compiler.
(extra commas in enum declarations.)

Kent
2004-02-23 18:46:19 +00:00
874d454d67 SCons updates
* Removed the I18N_DEFINES from the config.opts file. This define is not a
  user setting. The defines depend on what options the user enables in the top
  of the config.opts file (USE_INTERNATIONAL).
* Moved the defines to the correct SConscript files.
  Only the relevant libraries now use these defines.
* Windows fix for the python settings. There were missing brackets [ and ] for
  these settings.
2004-02-23 14:39:08 +00:00
d9cf17d930 Added a if defined(__sun)
I believe gcc and sun's cc have it defined differently.
It wasn't including statfs.h now it is.

Kent
2004-02-23 14:29:10 +00:00
Nathan Letwory
ce6eaaad57 * [WIN32] Added snprintf define so msvc linker doesn't complain about missing symbols. 2004-02-23 09:04:55 +00:00
e1ab3cf480 SCons updates
* Game engine can now be build on Linux. By default this feature is disabled.
  The reason is that you need to have a precompiled version of the ode library
  for your gcc version.
  To enable ode support you need to do the following:
  - compile ode.
  - set BUILD_GAMEENGINE = 'true' in the config.opts file.
  - set USE_PHYSICS='ode' in the config.opts file.
  - set the ODE_INCLUDE and ODE_LIBPATH to valid locations.

* Linking order has changed for the game engine
  There are cyclic dependencies between libraries. On linux we have to do some
  duplicate linking. I looked at the order of linking in source/Makefile, and
  did some clean up.
2004-02-22 19:01:12 +00:00
Nathan Letwory
e579793652 - [win32] updated SConscripts to use new configuration method (config.opts).
NOTE: ODE support needs still to be reviewed, so disable gameengine for now.
2004-02-21 19:00:31 +00:00
Chris Want
fbb830db4b Todd Koeckeritz' patch to sort the vertex groups menu and adapted to
sort the bone parenting menu. Only really works if your menu is near
the top of the screen ...
2004-02-21 17:45:19 +00:00
Chris Want
8410cdd71c Todd Koeckeritz' patch to fix inconsistent placement in multicolumn
menu's.
2004-02-21 16:50:09 +00:00
9e238d385d SCons updates
* Almost all library settings are now available in the config.opts user option
  file.
* All platform variables had to be updated to make this possible. Things are
  much clearer now, but I only was able to test the changes on Linux. I've
  tried to update all other platform variables, but things are most likely to
  be broken. Please contact me how to resolve the issues.


Note: Before running scons, remove your existing config.opts file to get all
      new options.
2004-02-21 15:13:15 +00:00
Chris Want
05bff7f938 Jonathan Thambidurai's patch for fixing the baking of NLA.
I added to this patch some code for keying size too ... please test.

This probably fixes bug #602, but I can't say for sure: Guignot's
poor ol' example blend no longer opens in blender (not since 2.26).

Release notes remark: Bug causing inconsistent baking of actions fixed.
2004-02-20 04:57:07 +00:00
Chris Want
6000b811bc A little improvement by Joilnen Leite: makes the pixel RGBA values visible
(even with a white background) when left clicking in the render window.
2004-02-16 15:29:10 +00:00
9330e553e8 SCons updates
* libraries are now generated in [BUILD_DIR]/lib
* passed the user_options to all libraries now.
  This means I could remove a couple of Export/Import lines.
* Changed the order in source/blender/src/SConscript and
  source/gameengine/SConscript.
  All libraries are now sorted alphabetically. This has no impact on the build
  process.
2004-02-15 19:25:32 +00:00
Chris Want
2fbf2b3775 Moved a line to make armarures recalculate better after framechanged
scriptlinks are executed.

This fixes bug #997.

Note: this fix does not need to be mentioned in release notes (problem
was caused by the recent armature speedups).
2004-02-15 17:50:56 +00:00
0ad8b66046 Text Window keyboard event cleaning.
There was two switch where only one was needed (which caused an event to register in two different actions under some conditions). I merged both of them, which not only made the code a lot clearer but also safer.
Fixed the Home and End case which didn't update the display correctly.

I've tested it for some time, so I'm pretty sure nothing is broken.
2004-02-15 02:03:33 +00:00
7c7ede091d - bug fix, ctrl-x didn't clear file name in window title 2004-02-08 13:26:52 +00:00
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
b381169dd9 Kino's tooltip fix for envmap. (fixes a typo)
Kent
2004-02-06 15:20:45 +00:00
7510d2a285 Added the DELKEY for editing a Text object. 2004-02-06 13:23:05 +00:00
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
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