blender.git
17 years agoTom's additions to the windows build.
Kent Mein [Thu, 27 May 2004 08:05:55 +0000 (08:05 +0000)]
Tom's additions to the windows build.
(I changed #blendersaue to #blendercoders not #blendercompilers,
does anyone actually use #blendercompilers?)

Kent

17 years agoIn drawing solid objects ("Solid" drawmode) there were material
Ton Roosendaal [Wed, 26 May 2004 21:04:02 +0000 (21:04 +0000)]
In drawing solid objects ("Solid" drawmode) there were material
switches (glMaterial) inbetween a glBegin and glEnd. Combined with a
switch of glShadeModel however, on recent Nvidia it caused faces not
to be drawn... dunno if this is official compliancy, but not too
complex just to correct.

17 years agoPython fixes:
Kester Maddock [Wed, 26 May 2004 12:09:17 +0000 (12:09 +0000)]
Python fixes:
Reenabled the setScript/getScript methods for python controller bricks.
Set the ray source point to MouseFocusSensor.getRaySource works.
Added: Python -> MT_Quaternion
MT_Matrix4x4, MT_Matrix3x3, MT_Vector3, MT_Point3 -> Python

Correct transform of frustum bound sphere centre point to world coordinates

17 years agoAdded an UpdateTransform callback from SceneGraph -> Physics.
Kester Maddock [Wed, 26 May 2004 12:06:41 +0000 (12:06 +0000)]
Added an UpdateTransform callback from SceneGraph -> Physics.
Profiling revealed that the SceneGraph updated every physics object, whether it moved or not, even though the physics object was at the right place.  This would cause SOLID to go and update its bounding boxes, overlap tests etc.
This callback handles the special case (parented objects) where the physics scene needs to be informed of changes to the scenegraph.

Added Python attributes (mass, parent, visible, position, orientation, scaling) to the KX_GameObject module.
Make KX_GameObject use the KX_PyMath Python <-> Moto conversion.

17 years agoFix Bug #1309 Disabling Actor leaves Ghost, Dynamic and Rigid Body etc enabled.
Kester Maddock [Wed, 26 May 2004 12:01:08 +0000 (12:01 +0000)]
Fix Bug #1309 Disabling Actor leaves Ghost, Dynamic and Rigid Body etc enabled.

Depth sorting for Transparent polygons.  Use ZTransp in Material buttons to enable.
This will cause an object's polygons to be sorted (back to front for alpha polygons, front to back for solid polygons.)

17 years agobugfix: #1322 minor tweaks to the documentation for Draw module.
Stephen Swaney [Tue, 25 May 2004 19:59:41 +0000 (19:59 +0000)]
bugfix: #1322  minor tweaks to the documentation for Draw module.

Blender.Draw.Button() was not showing up.  Seems to be an epydoc
issue with Button() being both a module method and the name of a class.
I changed Button to Button_ and added a usage note.
Yes, this is lame.

17 years agoChanged parameters names in addCurve function (suggested by Paolo)
Jacques Guignot [Tue, 25 May 2004 19:31:13 +0000 (19:31 +0000)]
Changed parameters names in addCurve function (suggested by Paolo)
DLoc* --> dLoc*
DRot* --> dRot*
DSize* --> dSize*
updated doc (Ipo.py)

17 years agoFixed a potential bug in the uv editor transform function, a check if the tface
Brecht Van Lommel [Tue, 25 May 2004 19:06:48 +0000 (19:06 +0000)]
Fixed a potential bug in the uv editor transform function, a check if the tface
might be only an edge was missing in one of the loops.

Fix a crash that would sometimes happen when clicking the texture painting
button in the image window header. Made headerbuttons_packdummy a static
variable again. The uiDefBut call for the texture painting button stores a
reference to it, so it must be kept in memory.

17 years agoBPython:
Willian Padovani Germano [Tue, 25 May 2004 10:36:58 +0000 (10:36 +0000)]
BPython:
- Campbell Barton contributed another function (thanks again), the Image.reload method:
  with this a script can keep an image that is being edited and saved by an external program updated in Blender.

17 years ago* Added support for python scripts to register themselves
Matt Ebb [Tue, 25 May 2004 06:08:49 +0000 (06:08 +0000)]
* Added support for python scripts to register themselves
 in the UV/Image editor 'UVs' menu

Script authors can use:
Group: 'UV'
 in the headers of their scripts to let them appear in
 this menu.

* Updated the UV Face Layout script to reside in the UVs
 menu, rather than the (incorrect) File->Export menu.

17 years ago- documentation update for new functions
Joseph Gilbert [Tue, 25 May 2004 03:26:29 +0000 (03:26 +0000)]
- documentation update for new functions
- error corrections in NLA about dictionaries

17 years ago- added Boneclass support
Joseph Gilbert [Tue, 25 May 2004 02:48:02 +0000 (02:48 +0000)]
- added Boneclass support
- ability to get a bonespace/worldspace bone matrix
- get ik flag
- some tweaking to matrix updates for addBone()

17 years agoAfter hearing that the reason for do_common_editbuts being in buttons_object.c I...
Nathan Letwory [Mon, 24 May 2004 19:48:07 +0000 (19:48 +0000)]
After hearing that the reason for do_common_editbuts being in buttons_object.c I decided to move it to buttons_editing.c, where it logically belongs. Matter of copy and paste (and deleting from buttons_object.c :)

Now poor newcomers can more easily find the editing buttonevent handling code.

17 years agoAdded the hotkey for Bevel in the menus
Matt Ebb [Mon, 24 May 2004 13:46:36 +0000 (13:46 +0000)]
Added the hotkey for Bevel in the menus

17 years agoGame Python Reference Manual.
Kester Maddock [Mon, 24 May 2004 07:49:50 +0000 (07:49 +0000)]
Game Python Reference Manual.
This manual lists all the Python classes and modules for Game Objects, Sensor bricks, Controllers etc.
Missing: Actuator & Controller reference.

17 years agoChanged two shorts in int, for calculation of distance between bezier point
Ton Roosendaal [Sun, 23 May 2004 19:13:15 +0000 (19:13 +0000)]
Changed two shorts in int, for calculation of distance between bezier point
and mouse coordinate in selecting routine.
Caused selection not to work in extreme zoom ins.
(Thanks OOPz!)

17 years agoBPython:
Willian Padovani Germano [Sat, 22 May 2004 20:25:22 +0000 (20:25 +0000)]
BPython:
- updated docs with recently added functions
- dynamic menu entries now are sorted (alphabetically, of course)
- added new menu categories for scripts: Wizards, Modifiers, Generators, Materials, Animation:
  only added to list of options, didn't mess with any Blender header.  They are already available from the "Scripts" menu in the scripts win, but not elsewhere.
- added option 'datadir' to Blender.Get(option):
  so scripts can use .blender/bpydata for reading / writing their data files.

17 years agonear & far are reserved words on MSVC. Don't use them as variable names.
Kester Maddock [Fri, 21 May 2004 14:09:18 +0000 (14:09 +0000)]
near & far are reserved words on MSVC.  Don't use them as variable names.

17 years agoCunning hack for Blender python module in the game engine - just don't unload it...
Kester Maddock [Fri, 21 May 2004 09:27:42 +0000 (09:27 +0000)]
Cunning hack for Blender python module in the game engine - just don't unload it before running the game!

17 years agoFrustum sphere culling.
Kester Maddock [Fri, 21 May 2004 09:21:15 +0000 (09:21 +0000)]
Frustum sphere culling.

Do a sphere<->camera sphere and a sphere<->frustum before the box<->frustum test.

17 years agoFixes for Camera objects and python:
Kester Maddock [Fri, 21 May 2004 09:18:42 +0000 (09:18 +0000)]
Fixes for Camera objects and python:

Normalise clip planes for sphere testing.
Do a frustum-sphere <-> sphere test
Reference count all python objects (!)

17 years agoQuery GL for max number of lights to use.
Kester Maddock [Fri, 21 May 2004 08:56:05 +0000 (08:56 +0000)]
Query GL for max number of lights to use.

17 years agoDepth sorting for alpha mesh objects.
Kester Maddock [Fri, 21 May 2004 08:55:12 +0000 (08:55 +0000)]
Depth sorting for alpha mesh objects.

- Mesh Objects are sorted by depth (based on object centre.)  Using object centre means the user has control over the sort.
- Polygons are not sorted.
- Polygons are not split.
- O(nlog(n))

17 years agoAdded Shift C 'Center Cursor and View All' to View -> Align View menu
Matt Ebb [Fri, 21 May 2004 01:35:10 +0000 (01:35 +0000)]
Added Shift C 'Center Cursor and View All' to View -> Align View menu

17 years agoA few hotkey additions/corrections to the toolbox and 3d view menus.
Matt Ebb [Thu, 20 May 2004 12:27:21 +0000 (12:27 +0000)]
A few hotkey additions/corrections to the toolbox and 3d view menus.

17 years agoadd some explanation about Object.Layer being a bitmask.
Stephen Swaney [Thu, 20 May 2004 07:21:07 +0000 (07:21 +0000)]
add some explanation about Object.Layer being a bitmask.

17 years agoremoved unused var in Object.getBoundBox()
Stephen Swaney [Thu, 20 May 2004 06:26:43 +0000 (06:26 +0000)]
removed unused var in Object.getBoundBox()

bugfix: #1212 changing object's layer had no effect.

17 years agoMSVC 6.0 ProjectFiles update. The file Kester added in his last commits were missing...
Martin Poirier [Thu, 20 May 2004 02:12:14 +0000 (02:12 +0000)]
MSVC 6.0 ProjectFiles update. The file Kester added in his last commits were missing from the project files.

17 years agoBug #1289
Martin Poirier [Thu, 20 May 2004 01:22:43 +0000 (01:22 +0000)]
Bug #1289
Mirror menu missing in the Header Menu for most object types in edit mode

http://projects.blender.org/tracker/index.php?func=detail&aid=1289&group_id=9&atid=125

17 years agoUV_Export script update. Typo fix and add tga extension automaticly.
Martin Poirier [Thu, 20 May 2004 01:18:13 +0000 (01:18 +0000)]
UV_Export script update. Typo fix and add tga extension automaticly.

17 years agoRemoved a bzero from octree-filling, replaced with exact code what
Ton Roosendaal [Wed, 19 May 2004 19:30:43 +0000 (19:30 +0000)]
Removed a bzero from octree-filling, replaced with exact code what
needs cleared. Timings go down nice:

octree new     2.33a

128    0:04.2  0:07.5
256    0:06.5  0:20.0
512    0:18.0  2.06.9

Time is including initialize renderfaces etc. 100k quads.

17 years agoBPython:
Willian Padovani Germano [Wed, 19 May 2004 01:28:12 +0000 (01:28 +0000)]
BPython:
-- Added two new functions to the Draw module, to display int and float popup buttons:
    Both contributed by Campbell Barton, thanks!
-- Fixed a couple warnings.

17 years agoRemoved double #defines from include, added some comments in code, and
Ton Roosendaal [Tue, 18 May 2004 20:00:51 +0000 (20:00 +0000)]
Removed double #defines from include, added some comments in code, and
added define for future use to bring back old (fast) AA.

17 years agoPatch provided by Matthew Plough for better view zoom with CTRL+middle
Ton Roosendaal [Tue, 18 May 2004 19:59:50 +0000 (19:59 +0000)]
Patch provided by Matthew Plough for better view zoom with CTRL+middle
mouse.

For me it's a good replacement, and more intuitive & compatible. Now
let's wait for the storm of reactions...

17 years agoForgot to add PyMath.cpp and .h
Nathan Letwory [Tue, 18 May 2004 09:56:19 +0000 (09:56 +0000)]
Forgot to add PyMath.cpp and .h

17 years agoModified .vcproj files to include files for scenegraph, and remove a redundant file...
Nathan Letwory [Tue, 18 May 2004 09:34:06 +0000 (09:34 +0000)]
Modified .vcproj files to include files for scenegraph, and remove a redundant file from render

17 years agoBPython:
Willian Padovani Germano [Tue, 18 May 2004 03:23:45 +0000 (03:23 +0000)]
BPython:
- Finally added Blender.Load function for loading .blend files, useful for demos, for example.
- Moved data from Blender.h to Blender.c.  We'll keep doing this where it applies and someday remove all unused files at once.

17 years agoCompiler portability fixes (MSVC 6)
Kester Maddock [Mon, 17 May 2004 23:56:56 +0000 (23:56 +0000)]
Compiler portability fixes (MSVC 6)

17 years ago<blush> this should have been part of render commit of some days ago.
Ton Roosendaal [Mon, 17 May 2004 21:40:00 +0000 (21:40 +0000)]
<blush> this should have been part of render commit of some days ago.
This fixes errors in quads that are non-planar...

17 years agoTweaked the display and positioning of tooltips so they aren't obscured by the mouse...
Matt Ebb [Mon, 17 May 2004 14:36:13 +0000 (14:36 +0000)]
Tweaked the display and positioning of tooltips so they aren't obscured by the mouse pointer.

This is addressing bug #952

17 years agoSame again - change static const for MSVC++
Kester Maddock [Mon, 17 May 2004 09:06:54 +0000 (09:06 +0000)]
Same again - change static const for MSVC++

17 years agoFix for MSVC .NET, which can't handle static const declarations in classes.
Kester Maddock [Mon, 17 May 2004 08:31:35 +0000 (08:31 +0000)]
Fix for MSVC .NET, which can't handle static const declarations in classes.
Make it static, and define in SM_Object.cpp

17 years agoFix for bug 1245: Vertex Colours are wrong in GameBlender. 2nd try.
Kester Maddock [Mon, 17 May 2004 00:42:07 +0000 (00:42 +0000)]
Fix for bug 1245: Vertex Colours are wrong in GameBlender. 2nd try.
http://projects.blender.org/tracker/index.php?func=detail&aid=1245&group_id=9&atid=125

The member names of MCol are wrong, so we will convert to unsigned char* like the rest of blender.

17 years agoRewind of change in MCol structure.
Ton Roosendaal [Sun, 16 May 2004 16:25:40 +0000 (16:25 +0000)]
Rewind of change in MCol structure.

Kester: since this is in DNA, it backwards converts all R into B now,
which isn't the bug. On big endian systems (OSX) there engine colors
are OK, which indicates the conversion of MCol goes wrong on the
engine side, by using some endian-sensative approach.

The main confusement is, that the MCol struct isn't in use for read
or write in Blender, only for a save in files. The contents of that
struct is wrong, yes. See note in vpaint.c top.

17 years agoDrawing cylinder & cone bounding objects according to how they will act in the physic...
Kester Maddock [Sun, 16 May 2004 13:23:59 +0000 (13:23 +0000)]
Drawing cylinder & cone bounding objects according to how they will act in the physics simulation.

17 years agoPort closest points fix from tuhopuu - should return positive distance.
Kester Maddock [Sun, 16 May 2004 13:13:41 +0000 (13:13 +0000)]
Port closest points fix from tuhopuu - should return positive distance.

17 years agoCleanup unused/commented out code, compiler warnings, coding standards etc.
Kester Maddock [Sun, 16 May 2004 13:10:10 +0000 (13:10 +0000)]
Cleanup unused/commented out code, compiler warnings, coding standards etc.

17 years agoAdded #!/usr/bin/python standard script identifier to the start of SConscript files.
Kester Maddock [Sun, 16 May 2004 13:07:20 +0000 (13:07 +0000)]
Added #!/usr/bin/python standard script identifier to the start of SConscript files.
Makes text editors identify SConscripts as Python, and syntax highlight properly.

17 years agoChanged Python _getattr/_setattr methods to use const STR_String& instead of char...
Kester Maddock [Sun, 16 May 2004 13:05:15 +0000 (13:05 +0000)]
Changed Python _getattr/_setattr methods to use const STR_String& instead of char* - makes using these methods much nicer.

17 years agoUp the maximum triangles in a bucket.
Kester Maddock [Sun, 16 May 2004 12:56:36 +0000 (12:56 +0000)]
Up the maximum triangles in a bucket.
GPUs can do more now.

17 years agoUse safe_normalized instead of normalized in shadow cast.
Kester Maddock [Sun, 16 May 2004 12:56:08 +0000 (12:56 +0000)]
Use safe_normalized instead of normalized in shadow cast.
Should fix crashes reported by Calli

17 years agoInline accessor methods used by armature deformation.
Kester Maddock [Sun, 16 May 2004 12:55:37 +0000 (12:55 +0000)]
Inline accessor methods used by armature deformation.

17 years agoUse const for SetProjectionMatrix
Kester Maddock [Sun, 16 May 2004 12:55:21 +0000 (12:55 +0000)]
Use const for SetProjectionMatrix
Remove warning printf.

17 years agoUse bitset instead of mucking around with <<, | and &
Kester Maddock [Sun, 16 May 2004 12:55:05 +0000 (12:55 +0000)]
Use bitset instead of mucking around with <<, | and &

17 years agoSceneGraph support for bounding boxs
Kester Maddock [Sun, 16 May 2004 12:54:44 +0000 (12:54 +0000)]
SceneGraph support for bounding boxs

17 years agoPython utils for Python <-> MT_Vector, MT_Point & MT_Matrix
Kester Maddock [Sun, 16 May 2004 12:53:54 +0000 (12:53 +0000)]
Python utils for Python <-> MT_Vector, MT_Point & MT_Matrix

17 years agoDon't overwrite camera's projection matrix every frame.
Kester Maddock [Sun, 16 May 2004 12:53:39 +0000 (12:53 +0000)]
Don't overwrite camera's projection matrix every frame.

17 years agoFrustum culling
Kester Maddock [Sun, 16 May 2004 12:53:22 +0000 (12:53 +0000)]
Frustum culling
New Python Hooks for cameras.

17 years agoDon't touch protected KX_GameObject members.
Kester Maddock [Sun, 16 May 2004 12:52:54 +0000 (12:52 +0000)]
Don't touch protected KX_GameObject members.
Protect KX_GameObject - Py_Header unprotects!

17 years agoFrustum Culling.
Kester Maddock [Sun, 16 May 2004 12:52:30 +0000 (12:52 +0000)]
Frustum Culling.
- tests every object against the view frustum.
- Tree based culling is there, need to build tree.

17 years agoDon't increment tface if tface == NULL
Kester Maddock [Sun, 16 May 2004 12:52:08 +0000 (12:52 +0000)]
Don't increment tface if tface == NULL
Generate bounding boxes for frustum culling

17 years agoFix for bug 1245: Colours are wrong on GameBlender
Kester Maddock [Sun, 16 May 2004 12:50:16 +0000 (12:50 +0000)]
Fix for bug 1245: Colours are wrong on GameBlender
http://projects.blender.org/tracker/index.php?func=detail&aid=1245&group_id=9&atid=125

The vertex paint routines were storing red in the blue channel, and blue in the red channel.

17 years agobugfix: #1206 Object.getBoundBox() was returning obdata coordinates.
Stephen Swaney [Sat, 15 May 2004 23:10:37 +0000 (23:10 +0000)]
bugfix: #1206  Object.getBoundBox() was returning obdata coordinates.

fix memory leak in vector module.  Memory allocated by vector constructor
was not being freed.

17 years agoAdapted sconscript for removed file
Ton Roosendaal [Sat, 15 May 2004 18:14:53 +0000 (18:14 +0000)]
Adapted sconscript for removed file

17 years agoRemoved obsolete file
Ton Roosendaal [Sat, 15 May 2004 18:13:42 +0000 (18:13 +0000)]
Removed obsolete file

17 years agoAssuming the freeze is over and we can head towards 2.34: this is the
Ton Roosendaal [Sat, 15 May 2004 18:07:09 +0000 (18:07 +0000)]
Assuming the freeze is over and we can head towards 2.34: this is the
first commit for review and improvements on OSA (anti aliasing) in
Blender.

http://www.blender3d.org/cms/Rendering_engine.320.0.html

Most relevant changes:
- full check on subpixel sample locations
- all subpixels are fully rendered (gives spec AA, procedural texture AA)
- also unified render uses it
- removed double-used code for unified render

Whether or not this will be optional (better pics, but in some cases slow)
is to further evaluate. For raytracing - for example - this cannot be simply
done, since the new sampling system made raytrace code much simpler.

17 years ago- added setBorder() to renderingContext to set border render rects from python.
Joseph Gilbert [Sat, 15 May 2004 14:32:21 +0000 (14:32 +0000)]
- added setBorder() to renderingContext to set border render rects from python.
- updated sizePreset() to deal with borders.

17 years ago- bugfix #998 Object matrix incorrect
Joseph Gilbert [Sat, 15 May 2004 03:09:27 +0000 (03:09 +0000)]
- bugfix #998 Object matrix incorrect
- object's matrix is not updated until redraw. pymatrix returned is updated to reflect current variables.

17 years ago- spelling error and example fix
Joseph Gilbert [Sat, 15 May 2004 03:02:11 +0000 (03:02 +0000)]
- spelling error and example fix

17 years agoAdds a 'paint' floating panel to the image window to control brush settings for textu...
Johnny Matthews [Sat, 15 May 2004 02:28:03 +0000 (02:28 +0000)]
Adds a 'paint' floating panel to the image window to control brush settings for texture paint mode.

Also adds paint and properties to the view menu in image window.

17 years agoextend clean target for qhull and solid
Hans Lambermont [Fri, 14 May 2004 20:40:56 +0000 (20:40 +0000)]
extend clean target for qhull and solid

17 years ago Added the basic installation notes for each OS. v2.33a
Ton Roosendaal [Thu, 13 May 2004 15:02:01 +0000 (15:02 +0000)]
 Added the basic installation notes for each OS.
 People might want to check it. :)

17 years ago- Small improvement, check ~/.blender/.bfont.ttf instead of .blender/.bfont.ttf in...
Wouter van Heyst [Thu, 13 May 2004 14:21:08 +0000 (14:21 +0000)]
- Small improvement, check ~/.blender/.bfont.ttf instead of .blender/.bfont.ttf in cwd.

17 years agoMake game users happier.
Kester Maddock [Thu, 13 May 2004 13:07:38 +0000 (13:07 +0000)]
Make game users happier.
Don't apply friction to external velocities.  The means motion actuators that set linV will work, without having to be repeatedly triggered.

17 years agocompleted build for release on mac Os X, no more manual operations
Jean-Luc Peurière [Wed, 12 May 2004 22:11:39 +0000 (22:11 +0000)]
completed build for release on mac Os X, no more  manual operations
build for debug still to be completed

17 years ago- sync version up with blender/release/VERSION
Wouter van Heyst [Wed, 12 May 2004 20:58:46 +0000 (20:58 +0000)]
- sync version up with blender/release/VERSION

17 years agoquick fix -- bug #1217 (Unable to access AA fonts in Linux)
Simon Clitherow [Wed, 12 May 2004 20:30:18 +0000 (20:30 +0000)]
quick fix -- bug #1217 (Unable to access AA fonts in Linux)

17 years agoSecured division by extreme values with a FLT_EPSILON. This might
Ton Roosendaal [Wed, 12 May 2004 19:17:00 +0000 (19:17 +0000)]
Secured division by extreme values with a FLT_EPSILON. This might
prevent hanging on optimized windows build. That's going to be tested
now!

17 years agoA few fixes to the menus:
Matt Ebb [Wed, 12 May 2004 16:53:11 +0000 (16:53 +0000)]
A few fixes to the menus:

* Added the axis constraints (and fixed a bug) in the newly
 added View3D transform menus, and in doing so removed
 some duplicated code from toolbox.c
* Cleaned up text labelling

Hint:
Remember to use Title Case for menu labels, and only use
an ellipsis (...) when the menu opens up another new
dialog like a panel or a pupmenu(). The ellipsis indicates
"there is something more to come" and that no action,
mode-change, whatever will be executed immediately.

17 years agobugfix from bpy mail list:
Stephen Swaney [Wed, 12 May 2004 08:06:15 +0000 (08:06 +0000)]
bugfix from bpy mail list:
Object.setEuler() was not accepting old style args of 3 floats.

17 years ago2.33a splash
Ton Roosendaal [Tue, 11 May 2004 21:54:44 +0000 (21:54 +0000)]
2.33a splash

17 years agoVersion 2.33a
Ton Roosendaal [Tue, 11 May 2004 21:49:46 +0000 (21:49 +0000)]
Version 2.33a

17 years agoLittle things pending for menus...
Ton Roosendaal [Tue, 11 May 2004 21:40:39 +0000 (21:40 +0000)]
Little things pending for menus...

- grab/rot/scale sublevel in object pulldown (mostly as hotkey reminder)
- added missing hotkeys to 2 toolbox items

17 years agoAdded warning message on attempt to join 2 Meshes with vertex keys.
Ton Roosendaal [Tue, 11 May 2004 19:08:02 +0000 (19:08 +0000)]
Added warning message on attempt to join 2 Meshes with vertex keys.
That feature is not available... and I doubt that'll be soon. :)

17 years agoHere's a polish translation... done by Piotr Kiec. Thank you!
Rob Haarsma [Tue, 11 May 2004 17:49:19 +0000 (17:49 +0000)]
Here's a polish translation... done by Piotr Kiec. Thank you!

17 years agoChanged printing an empty string to print "0" for files for zero size
Ton Roosendaal [Tue, 11 May 2004 12:50:04 +0000 (12:50 +0000)]
Changed printing an empty string to print "0" for files for zero size
in file selector.
Thanks Joilnen for pointing to this line.

17 years ago- bugfix #1197 (New Bone.parent/child Access Destructive)
Joseph Gilbert [Tue, 11 May 2004 08:26:44 +0000 (08:26 +0000)]
- bugfix #1197 (New Bone.parent/child Access Destructive)
- a major redo of the Bone module
- BPy_Bone structs are separated into Bone data and python vars. This is necessary for the correct memory allocation of bone data between python and the global armature list.

17 years agoTinsy error in undo for selection. Undo_push() was called too late.
Ton Roosendaal [Mon, 10 May 2004 21:15:18 +0000 (21:15 +0000)]
Tinsy error in undo for selection. Undo_push() was called too late.
Reported by Grogilius. Thanks!

17 years ago - nasty memory corruption on windows for getting home directory
Daniel Dunbar [Mon, 10 May 2004 20:35:46 +0000 (20:35 +0000)]
 - nasty memory corruption on windows for getting home directory
 - check to make sure $HOME/.blender exists before returning that
    as the home

17 years agoPATCH!
Ton Roosendaal [Mon, 10 May 2004 20:14:21 +0000 (20:14 +0000)]
PATCH!

Bug 1258: selecting objects with text drawing (axis, or as draw extra)
causes crashes in IBM cards. Has been tested & verified. A crash on
selecting Empty is often reported... so I just disabled drawing of
text when in selecting-draw mode.
Added comments in code to note it clearly.

17 years agoBug 1272
Ton Roosendaal [Mon, 10 May 2004 18:17:06 +0000 (18:17 +0000)]
Bug 1272

Normals for mball where flipped, when using displace mapping.
Fix is both flipping normals, and flipping flip flags.

17 years agoBug fix for AO and Soft shadow:
Ton Roosendaal [Sun, 9 May 2004 21:52:23 +0000 (21:52 +0000)]
Bug fix for AO and Soft shadow:

When Traceable was off, and the rendered pixel outside Octree, the
intersection was going wrong. Due to the many samples taken not easy
to see, but certainly causing extra noise.

17 years agoBug #1264
Ton Roosendaal [Sun, 9 May 2004 21:37:36 +0000 (21:37 +0000)]
Bug #1264

When in texture buttons, selecting Lamp, Camera or other Object didnt
update the shown texture correctly. Now it nicely switches.

17 years agoAdded tooltips for Lattice editbuttons.
Ton Roosendaal [Sun, 9 May 2004 21:26:43 +0000 (21:26 +0000)]
Added tooltips for Lattice editbuttons.

17 years ago fix for bug #1263
Ton Roosendaal [Sun, 9 May 2004 21:15:05 +0000 (21:15 +0000)]
 fix for bug #1263

When zooming in extreme, scaling things outside of view caused dashed
line to be wrong... it used shorts for screencoords. Made it a float.

17 years agoAs we dutchies say: "Now breaks my clog!"
Ton Roosendaal [Sun, 9 May 2004 20:40:21 +0000 (20:40 +0000)]
As we dutchies say: "Now breaks my clog!"

Apparently the 'sync' option for alt+a anim playback *can* run without
the sound_init_audio() being called, but it cannot play audio... o_O
(For who doesnt know, syncing was coded abusing audio timing)

Anyhoo. This also fixes #1267, reporting that 'sync' option didnt work.

17 years agoBPython:
Willian Padovani Germano [Sun, 9 May 2004 02:18:51 +0000 (02:18 +0000)]
BPython:
- Manuel from MakeHuman reported a memory leak in NMesh_getVertsFromGroup, should be fixed now.  A pylist was not being decref'ed.

17 years agoFixed Sconstruct file so that blender.app Bundle builds correctly
Jean-Luc Peurière [Sat, 8 May 2004 22:29:56 +0000 (22:29 +0000)]
Fixed Sconstruct file so that blender.app Bundle builds correctly
with all needed files in Ressources dir (.Blanguages, .bfont.ttf, locale)
and with unwanted CVS dirs and DS_Store files removed.

binary is also stripped before inclusion in Bundle.

17 years agoFixed little annoyance that caused previewrender not to clear sometimes.
Ton Roosendaal [Sat, 8 May 2004 09:42:33 +0000 (09:42 +0000)]
Fixed little annoyance that caused previewrender not to clear sometimes.
For example when no Texture exists, and you switch from material to
texture buttons.

17 years agopost 2.33 release commit of the modified SCons files for Os X.
Jean-Luc Peurière [Sat, 8 May 2004 01:34:39 +0000 (01:34 +0000)]
post 2.33 release commit of the modified SCons files for Os X.

Sconstruct modified so that Blender build on 10.3 without any additionnal
download than source + darwin libs.
defaults settings correct for 10.3.

fixed bug # 1260 : added MT_NDEBUG flag at top-level.