Commit Graph

236 Commits

Author SHA1 Message Date
Ton Roosendaal
af45ac2703 translated comments for imbuf c files 2003-04-27 09:59:36 +00:00
Ton Roosendaal
9508bb0d41 comments translated for blenloader files 2003-04-26 18:01:01 +00:00
Ton Roosendaal
3e4203e397 all comments translated in blenkernel C files
(fake commit, for cvs mail to be sent out)
2003-04-26 16:13:58 +00:00
Ton Roosendaal
c049774bb6 DNA instructions translated! Now we can do some serious manipulations... 2003-04-26 16:03:39 +00:00
Ton Roosendaal
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
Ton Roosendaal
1458560f6d The last of the blenkernel files with translated comments 2003-04-26 13:07:59 +00:00
Ton Roosendaal
76fe6daa15 - another series of translated c files.
-Ton-
2003-04-26 11:56:44 +00:00
Ton Roosendaal
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
Michel Selten
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
Michel Selten
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
Daniel Dunbar
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
Wouter van Heyst
22305bc08d FreeBSD can use the exact same python includes as everyone else 2003-03-25 23:36:40 +00:00
Wouter van Heyst
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
Michel Selten
92d292f8d3 * Added the Camera module.
This one has been implemented by Willian (IanWill).
2003-03-25 19:16:13 +00:00
Daniel Dunbar
7c5d4a12d1 The filesel common-path menu didn't work properly when
there were consecutive separators, fixed.
2003-03-25 17:43:08 +00:00
Daniel Dunbar
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
Stefan Gartner
d35e081c08 (re)added path to render.h 2003-03-24 17:52:58 +00:00
Daniel Dunbar
de09cf7609 Remove references to obsolete misc lib 2003-03-24 17:34:43 +00:00
Daniel Dunbar
8604348e50 Oops, forgot to use 'struct Mesh' in prototype. 2003-03-24 16:46:45 +00:00
Wouter van Heyst
3abb1f6f9b Obsoleted by editscreen.c:blender_test_break 2003-03-24 16:42:09 +00:00
Daniel Dunbar
9b14fa1cdb Remove unused reference to "blendertimer.h" 2003-03-24 16:38:32 +00:00
Daniel Dunbar
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
Daniel Dunbar
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
Daniel Dunbar
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
Daniel Dunbar
b224f90da7 Added a mesh_calculate_vertex_normals function for rebuilding the normals
outside edit mode.
2003-03-24 15:55:21 +00:00
Daniel Dunbar
2aad6b3321 Kill 2 undefined function warnings. 2003-03-24 15:05:51 +00:00
Daniel Dunbar
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
Wouter van Heyst
a6a50cc27f Left over generated cruft, time to go 2003-03-24 00:15:20 +00:00
Daniel Dunbar
93e8a05320 Canonize all space functions to follow the drawXXXspace and winqreadXXXspace
conventions.
2003-03-24 00:06:40 +00:00
Daniel Dunbar
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
Wouter van Heyst
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
Daniel Dunbar
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
Daniel Dunbar
05afb06397 Unitialized buffer patch (zero length runs in font loading), again thanks to
vc7 magic.
2003-03-23 20:47:05 +00:00
Daniel Dunbar
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
Kent Mein
cc8f103d56 Updated bubble help for Mult: under the particle system.
Kent
2003-03-23 16:10:51 +00:00
Kent Mein
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
Kent Mein
b139f813b8 Small translation of some comments.
Kent
2003-03-21 18:07:04 +00:00
Michel Selten
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
Daniel Dunbar
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
Daniel Dunbar
ccf7749594 Added string.h include (for memcpy, memcmp, strcpy, strlen, etc.) 2003-03-18 23:17:09 +00:00
Daniel Dunbar
6ba07fd730 Avoid calling blenderqread on dummy event. (This patch
courtesy of VS.NETs magic new prevent-use-of-unitialized-data
debugging feature).
2003-03-18 22:15:30 +00:00
Michel Selten
3a0725d4aa * Moved the code to retrieve an object by name to a seperate function in
gen_utils.c (GetObjectByName).
* Blender.link, Blender.bylink and Blender.event should work. Somehow the
  only event coming through now is only REDRAW.
* Added include path to /intern/guardedalloc

Michel
2003-03-18 20:21:26 +00:00
Chris Want
2d5f4ed51b Fixed Goofster's merge menu (added the merge at center option) 2003-03-16 21:31:30 +00:00
Chris Want
731222799c removed a line to test cvs mailout 2003-03-15 22:30:18 +00:00
Chris Want
0d03537699 added an extra line to test the cvs commit mailout 2003-03-15 22:28:00 +00:00