Commit Graph

490 Commits

Author SHA1 Message Date
c049774bb6 DNA instructions translated! Now we can do some serious manipulations... 2003-04-26 16:03:39 +00:00
695c968825 - translations for comments in blender lib files 2003-04-26 16:02:26 +00:00
Chris Want
701ebe126a Test of commit mail 2003-04-26 14:16:07 +00:00
1458560f6d The last of the blenkernel files with translated comments 2003-04-26 13:07:59 +00:00
76fe6daa15 - another series of translated c files.
-Ton-
2003-04-26 11:56:44 +00:00
e1d6502259 - first of a series of translated C comments. No dutchies get advantage anymore soon... :-) 2003-04-25 15:48:11 +00:00
Chris Want
c46a6de931 A fix for bug #96 (MNME's armature bug). The result of a
crossproduct was not checked for a zero vector.
2003-04-24 23:13:58 +00:00
Chris Want
c95692df7c Support for auto-skinning when parenting a mesh to an armature.
Applies to bones that do not have a boneclass of unskinnable
(set per bone in editmode in the button window).
2003-04-24 00:48:43 +00:00
788fa67bdf * Split Object.c (created Object.h)
* Split Blender.c (created Blender.h)
* Followed a naming convention suggested by Willian for Modules and Classes.
* Implemented New, Get and GetSelected functions for the Object module.
* Implemented most of the attributes in the Get and Set functions for the
  Object module.
* Hopefully fixed a link error on OS X.
  Declared g_blenderdict externally in modules.h and moved the real
  declaration to Blender.c
2003-04-21 20:33:06 +00:00
ec669df6ee The following updates have been contributed by Willian P. Germano:
* Implemented BPY_end_python function.
* Implemented error handling. This results in rerunning a script after an
  error has occurred. No need to restart blender anymore.
* Camera module supports dir()
* variable assignment now calls the Python equivalent function - this has
  type checking and should be safer now.
* Implemented the Lamp module. Used the Camera module as a template.
* Implemented the Image module.
* Added EXPP_ClampFloat and EXPP_intError functions to gen_utils.[ch]
* Implemented 'constant' object.
2003-04-08 19:54:14 +00:00
0850182872 More VC7 stack trashing fixes, vec3 ops performed on a vec2 (oh my!) 2003-04-07 00:43:32 +00:00
Chris Want
1f668df514 Irix will now link to ode 2003-03-31 17:27:20 +00:00
a6acb198a8 Sigh, OSX and ranlib again 2003-03-27 19:35:47 +00:00
7cc9ff34d1 Change the VC7 project to directly call python with the right arguments
to freeze.py (including my new -D hack).
2003-03-26 04:59:28 +00:00
74466d7211 Added a -D option to freeze.py to cause it to not check to see if certain
directories exist. They don't exist for a standard Python 2.3 installation
but they aren't needed either... this is really a hack, I wish someone
who understood the freeze process better could look at this.
2003-03-26 04:58:41 +00:00
22305bc08d FreeBSD can use the exact same python includes as everyone else 2003-03-25 23:36:40 +00:00
d5424d2321 According to the package list of python-2.2.2_2 on moya a prefix should
also work for FreeBSD, thanks Hans
2003-03-25 21:11:23 +00:00
6d5f1939a1 Ahum, ode does needs it's usersettings. (non-patching platforms didn't have it,
tried to be to smart)
2003-03-25 19:16:22 +00:00
92d292f8d3 * Added the Camera module.
This one has been implemented by Willian (IanWill).
2003-03-25 19:16:13 +00:00
7c5d4a12d1 The filesel common-path menu didn't work properly when
there were consecutive separators, fixed.
2003-03-25 17:43:08 +00:00
cdb2974b67 Fix for bug #70.
I am a little skeptical about this patch, because somehow
the file had the TXT_ISEXT flag set in it, and the support for
that feature isn't complete. What I want to know is how that
flag got set in the first place, none of the interface code
turns it on.

At least it fixes the crash.
2003-03-25 15:54:46 +00:00
dbb49fd378 - Build ode on OSX
- shuffle patching around
2003-03-25 14:39:19 +00:00
3711aade3b On OSX, run ranlib on libfrozen.a after creation 2003-03-24 23:45:11 +00:00
d35e081c08 (re)added path to render.h 2003-03-24 17:52:58 +00:00
de09cf7609 Remove references to obsolete misc lib 2003-03-24 17:34:43 +00:00
2ebc384746 Removed BL_misc from VC7 projectfiles, no longer used. 2003-03-24 16:58:29 +00:00
6b808f7d63 Small fudge in loader project was setup to build things
as BLO_loader_bak for complicated reasons.
2003-03-24 16:56:43 +00:00
8604348e50 Oops, forgot to use 'struct Mesh' in prototype. 2003-03-24 16:46:45 +00:00
3abb1f6f9b Obsoleted by editscreen.c:blender_test_break 2003-03-24 16:42:09 +00:00
9b14fa1cdb Remove unused reference to "blendertimer.h" 2003-03-24 16:38:32 +00:00
702880df55 Update things to use blender_test_break() vs MISC_test_break() and
remove use of blendertimer.h
2003-03-24 16:37:08 +00:00
40ff08a34e Added editscreen.c:blender_test_break (copy of MISC_test_break, so
misc dir can be killed)
2003-03-24 16:34:05 +00:00
f7cc1873b7 Fix for bug #72.
Update mesh normals after a boolean operation.
Also updated boolen operation to copy face flag (propagate
face smoothness information).
2003-03-24 16:08:15 +00:00
b224f90da7 Added a mesh_calculate_vertex_normals function for rebuilding the normals
outside edit mode.
2003-03-24 15:55:21 +00:00
2aad6b3321 Kill 2 undefined function warnings. 2003-03-24 15:05:51 +00:00
1f3f52f5e4 Update space dispatch:
- drawXXXspace, changeXXXspace, and winqreadXXXspace now receive the area
     and spacedata as explicit arguments, allowing them to access private
     data w/o going through globals.
 - pass the new BWinEvent through to the winqreadXXXspace, allowing future
     access to extended event data.

Removed direct calls to winqreadXXXspace to simulate user actions, replaced
by calls to action functions in edit.c or the appropriate handler.
2003-03-24 01:46:05 +00:00
a6a50cc27f Left over generated cruft, time to go 2003-03-24 00:15:20 +00:00
93e8a05320 Canonize all space functions to follow the drawXXXspace and winqreadXXXspace
conventions.
2003-03-24 00:06:40 +00:00
510e2d5840 Change the core internal event dispatch to use a BWinEvent structure
instead of passing seperate arguments. For when we want to pass 'richer'
events around.
2003-03-23 22:52:11 +00:00
3dd8dfa32b As NAN_PYTHON_BINARY is now used to determine the correct binary for the
freeze, provide it on all platforms
2003-03-23 22:38:15 +00:00
e0cec3d2c4 Removed NLA winqread and write runtime obfuscation cruft.
Can we just dump all this silly key stuff please?
2003-03-23 21:42:31 +00:00
05afb06397 Unitialized buffer patch (zero length runs in font loading), again thanks to
vc7 magic.
2003-03-23 20:47:05 +00:00
361ecbce1b Fix for bug #78.
The tooltip on the button is wrong, it doesn't translate
the view it zooms it to a specific region. Tooltip has
been updated and border-zoom functionality was not working
in oops window, fixed.
2003-03-23 19:11:52 +00:00
cc8f103d56 Updated bubble help for Mult: under the particle system.
Kent
2003-03-23 16:10:51 +00:00
e2d9d5de08 Didn't hear any complaints so I'm commiting the patch for bug:
http://projects.blender.org/tracker/index.php?func=detail&aid=76&group_id=9&atid
=125

Kent
2003-03-23 16:01:32 +00:00
dc91e98159 Modified it to use $(NAN_PYTHON_BINARY) instead of just plain old
python.  (otherwise why have the env var?) ;)

Kent
2003-03-21 21:50:47 +00:00
b139f813b8 Small translation of some comments.
Kent
2003-03-21 18:07:04 +00:00
e031f322a7 * Implemented the BPY_do_all_scripts interface function (BPY_interface.c)
* Created a function to return all scripts from a linked list
  (DoAllScriptsFromList).

Michel
2003-03-19 18:57:23 +00:00
3f702b070a Fix for bug #59.
Silly strubel, strncpy does not 0 terminate strings.
2003-03-19 15:54:40 +00:00
Chris Want
8fc1ad5d2e Added a UI_BLOCK_ENTER_OK flag to the uiBlock in button()
(this alleviates the problem where using the enter key
effects the widget under the mouse cursor instead of
doing an 'OK' (symptom: getting the wrong number of verts
when adding a mesh circle).
2003-03-19 05:29:07 +00:00