blender.git
9 years agoMerged changes in the trunk up to revision 31403.
Tamito Kajiyama [Tue, 17 Aug 2010 07:10:03 +0000 (07:10 +0000)]
Merged changes in the trunk up to revision 31403.

9 years agouse 'vertices' rather then 'verts'.
Campbell Barton [Tue, 17 Aug 2010 03:17:51 +0000 (03:17 +0000)]
use 'vertices' rather then 'verts'.

9 years ago- rna_info.py now outputs array length with types eg. float[16].
Campbell Barton [Tue, 17 Aug 2010 02:42:30 +0000 (02:42 +0000)]
- rna_info.py now outputs array length with types eg. float[16].
- corrected rna property name Controller.states -> state (pointed out by Dalai).
- rna_cleaner_merge script now only merges comment and new name.

9 years agoGroup all AUD libs, duplicate one to avoid linker error.
Guillermo S. Romero [Tue, 17 Aug 2010 01:50:47 +0000 (01:50 +0000)]
Group all AUD libs, duplicate one to avoid linker error.

9 years ago2.5 Modifier/Constraint Template
Thomas Dinges [Mon, 16 Aug 2010 23:28:20 +0000 (23:28 +0000)]
2.5 Modifier/Constraint Template
* Code removal of "compact" feature, after narrow_ui removal this was not functional anyway.

9 years agoAudaspace: This should fix all missing python includes now once for all...
Joerg Mueller [Mon, 16 Aug 2010 20:05:59 +0000 (20:05 +0000)]
Audaspace: This should fix all missing python includes now once for all...

9 years agoSVN maintenance.
Guillermo S. Romero [Mon, 16 Aug 2010 19:51:29 +0000 (19:51 +0000)]
SVN maintenance.

9 years agoScons:
Joerg Mueller [Mon, 16 Aug 2010 19:09:42 +0000 (19:09 +0000)]
Scons:
* Should now build again without problems
* Fixed scons having problems to execute makes(d/r)na if build path contains spaces

9 years agoAudaspace: Further fixes.
Joerg Mueller [Mon, 16 Aug 2010 18:50:59 +0000 (18:50 +0000)]
Audaspace: Further fixes.

9 years agoAudaspace: Scons fix for missing python include paths.
Joerg Mueller [Mon, 16 Aug 2010 18:29:19 +0000 (18:29 +0000)]
Audaspace: Scons fix for missing python include paths.

9 years agoAudaspace: Buildsystem update after Ton destroyed building with scons and cmake,...
Joerg Mueller [Mon, 16 Aug 2010 18:22:51 +0000 (18:22 +0000)]
Audaspace: Buildsystem update after Ton destroyed building with scons and cmake, also including a patch by freakabcd fixing some missing python include paths.

9 years agoAudaspace: Fix for ppl with outdated ffmpeg.
Joerg Mueller [Mon, 16 Aug 2010 18:13:26 +0000 (18:13 +0000)]
Audaspace: Fix for ppl with outdated ffmpeg.

9 years agomerged rna names with newly created dump from rna_info.py
Campbell Barton [Mon, 16 Aug 2010 17:57:39 +0000 (17:57 +0000)]
merged rna names with newly created dump from rna_info.py

9 years ago- finished RNA renaming for review
Campbell Barton [Mon, 16 Aug 2010 17:17:33 +0000 (17:17 +0000)]
- finished RNA renaming for review
- fix warning

9 years agoMore makefiles for new audaspace commit.
Ton Roosendaal [Mon, 16 Aug 2010 17:07:59 +0000 (17:07 +0000)]
More makefiles for new audaspace commit.

Jorg: you have added an include Python.h in the AUD api.h. I'm not
sure if it's smart to have this, it makes all AUD code depend on
resolving the Python path.

9 years agoMakefile fixes for Audaspace. This also replaces the not-used
Ton Roosendaal [Mon, 16 Aug 2010 17:04:46 +0000 (17:04 +0000)]
Makefile fixes for Audaspace. This also replaces the not-used
WITH_PYTHON with DISABLE_PYTHON

9 years agoFixed a bug in the initialization of a temporary Scene struct
Tamito Kajiyama [Mon, 16 Aug 2010 16:51:44 +0000 (16:51 +0000)]
Fixed a bug in the initialization of a temporary Scene struct
for stroke rendering.  This fix is intended to improve the
stability of stroke rendering when the output format is AVI
Codec, QuickTime, or one of FFMpeg codecs.

9 years agoAdded missing include for audio stuff.
Kent Mein [Mon, 16 Aug 2010 15:54:58 +0000 (15:54 +0000)]
Added missing include for audio stuff.
Still not linking with Makefiles, will try and fix later.

Kent

9 years agoAudaspace: Trying to fix a reported compile bug about missing UINT64_C.
Joerg Mueller [Mon, 16 Aug 2010 15:38:55 +0000 (15:38 +0000)]
Audaspace: Trying to fix a reported compile bug about missing UINT64_C.

9 years agoAudaspace: Fixing quaternion and relativeness of 3D sounds error.
Joerg Mueller [Mon, 16 Aug 2010 14:55:45 +0000 (14:55 +0000)]
Audaspace: Fixing quaternion and relativeness of 3D sounds error.

9 years agoFix from patch tracker by saphires: [#23339] Remove const members in AUD_3Dmath.h
Joerg Mueller [Mon, 16 Aug 2010 14:31:39 +0000 (14:31 +0000)]
Fix from patch tracker by saphires: [#23339] Remove const members in AUD_3Dmath.h

9 years agoAudaspace:
Joerg Mueller [Mon, 16 Aug 2010 13:13:05 +0000 (13:13 +0000)]
Audaspace:
* Fix for uncached exception whith invalid audio file.
* Includes fix for windows.

9 years agoAudaspace: Disabling FFTW building as this stuff is unused atm anyway.
Joerg Mueller [Mon, 16 Aug 2010 12:27:51 +0000 (12:27 +0000)]
Audaspace: Disabling FFTW building as this stuff is unused atm anyway.

9 years agoPy API Docs (GSoC): Third merging commit
Joerg Mueller [Mon, 16 Aug 2010 12:22:19 +0000 (12:22 +0000)]
Py API Docs (GSoC): Third merging commit
* Added the alternative docs system with templating functionality
* Added aud to sdg.py

9 years agoPy API (GSoC): Second merging commit
Joerg Mueller [Mon, 16 Aug 2010 12:14:09 +0000 (12:14 +0000)]
Py API (GSoC): Second merging commit
Rough summary of fixes/changes:
- Blender Py API: GameLogic -> bge.logic
- Blender Py API: Implemented missing KX_PYATTRIBUTE_TODOs and -DUMMYs.
- Fix for [#22924] KX_PolygonMaterial.diffuse does not return expected list[r,g,b]
- Py API: Renaming _owner attribute of mathutils classes to owner.
- Fix some minor errors in mathutils and blf.
- Enabling game engine autoplay again based on a patch by Dalai:
  * The biggest 3D view in the open scene is used, if there is none, blender opens the file normally and raises an error.
  * The 3D view are is made fullscreen.
  * Quad view, header, properties and toolbox panel are all hidden to get the maximum view.
  * If the game engine full screen setting is set, the game starts in fullscreen.
- Fix for ipo conversion on file transition in the game engine.

9 years agoAudaspace (GSoC): First merging commit
Joerg Mueller [Mon, 16 Aug 2010 11:41:07 +0000 (11:41 +0000)]
Audaspace (GSoC): First merging commit
* All audaspace changes from the GSoC branch including the aud Python module
* This commit also includes some minor changes in source/gameengine/Ketsji/KX_PythonInit.cpp:
  - Fixing names of some constants
  - removing outdated stopDSP() python function
  - Autoinclusion of bge instead of GameLogic
  - Fix for some error messages: GameLogic -> bge.logic

9 years agosvn merge -r 31314:31370 https://svn.blender.org/svnroot/bf-blender/trunk/blender soc-2010-nexyon
Joerg Mueller [Mon, 16 Aug 2010 09:37:08 +0000 (09:37 +0000)]
svn merge -r 31314:31370 https://svn.blender.org/svnroot/bf-blender/trunk/blender

9 years ago- commit that removed MEM_guardedalloc.h includes broke building with SSE enabled.
Campbell Barton [Mon, 16 Aug 2010 09:24:18 +0000 (09:24 +0000)]
- commit that removed MEM_guardedalloc.h includes broke building with SSE enabled.
- all C/C++ files in blender are now utf8 compatible.

9 years agojp2.c has a non-utf8 char which stopped python from reading it, removed unused vars...
Campbell Barton [Mon, 16 Aug 2010 06:38:30 +0000 (06:38 +0000)]
jp2.c has a non-utf8 char which stopped python from reading it, removed unused vars from CMP_chromaMatte.c

9 years ago- remove unused includes IMB_*, BIF_* & MEM_*
Campbell Barton [Mon, 16 Aug 2010 05:46:10 +0000 (05:46 +0000)]
- remove unused includes IMB_*, BIF_* & MEM_*
- remove MEM_guardedalloc.h from header files (include directly)

9 years agoFixed bug in normalition of YCbCr color space conversion (from 0..1 to
Robert Holcomb [Sun, 15 Aug 2010 22:08:49 +0000 (22:08 +0000)]
Fixed bug in normalition of YCbCr color space conversion (from 0..1 to
-1..1) to fix errors in keying.  Simplified chroma key to not take
despill into consideration (handled elsewhere).  Simplified user
interface for pieces not used.

9 years agoUpdate MSVC project files
Benoit Bolsee [Sun, 15 Aug 2010 21:39:48 +0000 (21:39 +0000)]
Update MSVC project files

9 years agochange for sorting rna cleaner (was broken), diff's on rna_properties.txt will stop...
Campbell Barton [Sun, 15 Aug 2010 16:50:58 +0000 (16:50 +0000)]
change for sorting rna cleaner (was broken), diff's on rna_properties.txt will stop being so big now.

9 years agoremove foreach_get/set for rna arrays, was crashing and are only valid for collections.
Campbell Barton [Sun, 15 Aug 2010 16:06:26 +0000 (16:06 +0000)]
remove foreach_get/set for rna arrays, was crashing and are only valid for collections.

9 years agouse more BLI math functions.
Campbell Barton [Sun, 15 Aug 2010 15:14:08 +0000 (15:14 +0000)]
use more BLI math functions.

9 years agospeedup and cleanup of OBJ exporter
Campbell Barton [Sun, 15 Aug 2010 15:04:51 +0000 (15:04 +0000)]
speedup and cleanup of OBJ exporter

9 years agomore rna naming edits
Campbell Barton [Sun, 15 Aug 2010 12:32:37 +0000 (12:32 +0000)]
more rna naming edits

9 years ago[#23266] bpy.ops.poselib.browse_interactive - blend_factor argument does nothing
Campbell Barton [Sun, 15 Aug 2010 12:03:49 +0000 (12:03 +0000)]
[#23266] bpy.ops.poselib.browse_interactive - blend_factor argument does nothing
commenting 'blend_factor' for now, its not used.

COLOR and EULER internal pyrna subtypes were causing color type variables to try update euler rotation order.

9 years agoFix #23303: glsl color correction not working correct for image textures.
Brecht Van Lommel [Sun, 15 Aug 2010 09:34:18 +0000 (09:34 +0000)]
Fix #23303: glsl color correction not working correct for image textures.

9 years agoFix #23307: accessing FluidParticles.settings causes crash.
Brecht Van Lommel [Sun, 15 Aug 2010 08:53:28 +0000 (08:53 +0000)]
Fix #23307: accessing FluidParticles.settings causes crash.

9 years ago[#22831] transform problem with hidden parent object
Martin Poirier [Sat, 14 Aug 2010 17:11:10 +0000 (17:11 +0000)]
[#22831] transform problem with hidden parent object

Partial fix. It now checks if selected parents are modifiable (due to the look up for base, this could get slow, but no other good way to do it).

9 years agonetrender fixes:
Martin Poirier [Sat, 14 Aug 2010 16:30:41 +0000 (16:30 +0000)]
netrender fixes:

slave use output log option correctly
use os.path.join more consistently (reported by Dalai Felinto)
unify frame range (was 4 digits on master, 6 elsewhere, now 6 everywhere).
Fix occasional broken pipe between master and slave (didn't affect result, just polluted log).

9 years ago- PyLineSpit() - used to print the filename and line number for internal errors now...
Campbell Barton [Sat, 14 Aug 2010 05:33:20 +0000 (05:33 +0000)]
- PyLineSpit() - used to print the filename and line number for internal errors now works when executing class functions in a module.
- replaced PySys_GetObject("modules") with PyImport_GetModuleDict()
- use defaults for keymap import/export rather then setting the same value every time from the UI scripts.

9 years agofix for error in world buttons when the world was None
Campbell Barton [Fri, 13 Aug 2010 22:35:13 +0000 (22:35 +0000)]
fix for error in world buttons when the world was None

9 years agofix for referencing freed memory when freeing an rna property.
Campbell Barton [Fri, 13 Aug 2010 21:49:31 +0000 (21:49 +0000)]
fix for referencing freed memory when freeing an rna property.

9 years agoApply patch #23295 - Fix for SCons building on FreeBSD
Nathan Letwory [Fri, 13 Aug 2010 20:54:34 +0000 (20:54 +0000)]
Apply patch #23295 - Fix for SCons building on FreeBSD

Patch submitted by Jashank Jeremy. This adds support for freebsd7, freebsd8 and freebsd9. Thanks!

9 years agobugfix [#21807] Import Key Configuration problems
Campbell Barton [Fri, 13 Aug 2010 18:48:33 +0000 (18:48 +0000)]
bugfix [#21807] Import Key Configuration problems

9 years agoFix #23297: python error caused empty brush panel in the image editor.
Brecht Van Lommel [Fri, 13 Aug 2010 17:13:07 +0000 (17:13 +0000)]
Fix #23297: python error caused empty brush panel in the image editor.

9 years agobugfix [#22037] OBJ exporter produce wrong UV
Campbell Barton [Fri, 13 Aug 2010 16:59:11 +0000 (16:59 +0000)]
bugfix [#22037] OBJ exporter produce wrong UV

9 years agobugfix [#22845] Python operators dont free report list
Campbell Barton [Fri, 13 Aug 2010 16:34:21 +0000 (16:34 +0000)]
bugfix [#22845] Python operators dont free report list

9 years agoadded include for offsetof(), also use <string.h>, not "string.h"
Campbell Barton [Fri, 13 Aug 2010 15:26:37 +0000 (15:26 +0000)]
added include for offsetof(), also use <string.h>, not "string.h"

9 years ago[#22884] slow import wavefont/.obj file
Campbell Barton [Fri, 13 Aug 2010 15:07:57 +0000 (15:07 +0000)]
[#22884] slow import wavefont/.obj file
- dont run mesh update functions on zero user meshes (a bit of a cheap trick but works well), made in last commit by mistake.
- dont do a scenegraph update on linking an object, run scene.update() after linking objects.
- remove split material option since we have enough slots.

9 years ago- remove WM_operatortype_exists since its almost the same as WM_operatortype_find
Campbell Barton [Fri, 13 Aug 2010 14:42:45 +0000 (14:42 +0000)]
- remove WM_operatortype_exists since its almost the same as WM_operatortype_find
- hopefully fix reported problem with MSVC.

9 years ago2.5: rendering thread-safety experiment, when setting G.rt to 101, it will
Brecht Van Lommel [Fri, 13 Aug 2010 14:29:56 +0000 (14:29 +0000)]
2.5: rendering thread-safety experiment, when setting G.rt to 101, it will
render from a Main database created from the undo buffer. That means extra
memory usage and processing needed, but gives no interference with other
data.

Still won't work entirely since there are a few things that don't get
flushed always (editmode, sculpt, ..) and some places that use globals.

9 years ago2.5: more removal of G.main.
Brecht Van Lommel [Fri, 13 Aug 2010 14:23:44 +0000 (14:23 +0000)]
2.5: more removal of G.main.

9 years agoPy API Docs:
Joerg Mueller [Fri, 13 Aug 2010 11:49:54 +0000 (11:49 +0000)]
Py API Docs:
* Moving the alternative parser
* Checking for classmethods and staticmethods of builtin modules

9 years agosvn merge -r 31211:31313 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Joerg Mueller [Fri, 13 Aug 2010 10:50:29 +0000 (10:50 +0000)]
svn merge -r 31211:31313 https://svn.blender.org/svnroot/bf-blender/trunk/blender

9 years agoFix #23111: file Output node not working when inside a group.
Brecht Van Lommel [Fri, 13 Aug 2010 10:20:40 +0000 (10:20 +0000)]
Fix #23111: file Output node not working when inside a group.

9 years agoFix #23244: image save function did not release lock on render
Brecht Van Lommel [Fri, 13 Aug 2010 09:47:14 +0000 (09:47 +0000)]
Fix #23244: image save function did not release lock on render
result, causing freeze later.

9 years agoexporters now set the filepath in the invoke() method rather then the menu drawing...
Campbell Barton [Fri, 13 Aug 2010 06:45:33 +0000 (06:45 +0000)]
exporters now set the filepath in the invoke() method rather then the menu drawing function.

9 years agominor changes to rna/python.
Campbell Barton [Fri, 13 Aug 2010 06:30:04 +0000 (06:30 +0000)]
minor changes to rna/python.
- raise an exception when python calls is_property_set(name) or is_property_hidden(name) and the property does not exist.
- added BLI_findstring_ptr(), which finds a named item in a listbase where that name is a pointer to a string.
- replaced inline for loops with calls to BLI_findstring_ptr() and IDP_GetPropertyFromGroup().

9 years agobugfix [#22974] OBJ import arrives without texture
Campbell Barton [Fri, 13 Aug 2010 03:17:10 +0000 (03:17 +0000)]
bugfix [#22974] OBJ import arrives without texture

9 years agoFix for [#23286] Text Editor: Cursor not changing shape when insert key is pressed...
Dalai Felinto [Thu, 12 Aug 2010 20:42:06 +0000 (20:42 +0000)]
Fix for [#23286] Text Editor: Cursor not changing shape when insert key is pressed. Patch by Justin Dailey (dail)

9 years ago2.5 User Interface / UI Scripts
Thomas Dinges [Thu, 12 Aug 2010 19:36:10 +0000 (19:36 +0000)]
2.5 User Interface / UI Scripts
* Fixed some panel ordering after recent register changes.
* Placed "Custom Props" to the bottom again, where possible

This fixes [#23171] Material context is messed up.

9 years agoFix #23219: smooth view rotating in top view could generate NaN-values,
Brecht Van Lommel [Thu, 12 Aug 2010 17:48:25 +0000 (17:48 +0000)]
Fix #23219: smooth view rotating in top view could generate NaN-values,
causing 3d view drawing to break.

9 years agoFix #23098: crash in baking, it did a call to BLI_end_threads too much,
Brecht Van Lommel [Thu, 12 Aug 2010 17:13:47 +0000 (17:13 +0000)]
Fix #23098: crash in baking, it did a call to BLI_end_threads too much,
causing problems with thread safe malloc after baking once.

9 years agoFix #22777: duplifaces don't take deforming modifiers into account
Brecht Van Lommel [Thu, 12 Aug 2010 16:46:03 +0000 (16:46 +0000)]
Fix #22777: duplifaces don't take deforming modifiers into account
while in edit mode.

9 years agobugfix: deleting NLA tracks with a keyframed text3d obdata would free the curve,...
Campbell Barton [Thu, 12 Aug 2010 16:39:23 +0000 (16:39 +0000)]
bugfix: deleting NLA tracks with a keyframed text3d obdata would free the curve, missing type checks.

9 years agoFix #23269: inconsistent naming of recalculate roll in menus compared to
Brecht Van Lommel [Thu, 12 Aug 2010 16:15:50 +0000 (16:15 +0000)]
Fix #23269: inconsistent naming of recalculate roll in menus compared to
operator popup menu.

9 years agotext editor bugfix, selecting & moving the cursor on lines >256 chars long (was reall...
Campbell Barton [Thu, 12 Aug 2010 15:26:23 +0000 (15:26 +0000)]
text editor bugfix, selecting & moving the cursor on lines >256 chars long (was reallocing too little memory).

9 years agoFix #23188: libpng error: Image width or height is zero in IHDR.
Brecht Van Lommel [Thu, 12 Aug 2010 15:15:02 +0000 (15:15 +0000)]
Fix #23188: libpng error: Image width or height is zero in IHDR.

The file thumbnail generator would write 0x0 size png's to the .thumbnails/fail
folder. However libpng throws an error when doing this. Instead we now write 1x1
png's, which nautilus seems to be doing as well. The content shouldn't matter
anyway since we won't use it.

9 years agotext editor, only draw line highlight when its in the view.
Campbell Barton [Thu, 12 Aug 2010 14:49:08 +0000 (14:49 +0000)]
text editor, only draw line highlight when its in the view.

9 years agoFix #23238: crash rendering multiple scenes from compositor.
Brecht Van Lommel [Thu, 12 Aug 2010 13:58:10 +0000 (13:58 +0000)]
Fix #23238: crash rendering multiple scenes from compositor.

9 years agoMerged changes in the trunk up to revision 31284.
Tamito Kajiyama [Thu, 12 Aug 2010 13:41:59 +0000 (13:41 +0000)]
Merged changes in the trunk up to revision 31284.

9 years agoPython API documentation updates: a description of class hierarchy
Tamito Kajiyama [Thu, 12 Aug 2010 12:17:47 +0000 (12:17 +0000)]
Python API documentation updates: a description of class hierarchy
was added to the docstrings of most Python extension types.

9 years agobugfix [#23227] .obj import with UV produces broken UV map in 2.53.0 (r30593)
Campbell Barton [Thu, 12 Aug 2010 11:33:07 +0000 (11:33 +0000)]
bugfix [#23227] .obj import with UV produces broken UV map in 2.53.0 (r30593)
 eekadoodle face order fix was only being checked for quads, not tri's.

9 years agoFix #23258: paint cursor not working in sculpt/paint modes.
Brecht Van Lommel [Thu, 12 Aug 2010 11:09:19 +0000 (11:09 +0000)]
Fix #23258: paint cursor not working in sculpt/paint modes.

9 years agoFix #23281: crash with multiresolution and uv project.
Brecht Van Lommel [Thu, 12 Aug 2010 10:35:34 +0000 (10:35 +0000)]
Fix #23281: crash with multiresolution and uv project.

9 years agoFix #23235: crash with editmesh instances & drawing, only the object
Brecht Van Lommel [Thu, 12 Aug 2010 10:17:21 +0000 (10:17 +0000)]
Fix #23235: crash with editmesh instances & drawing, only the object
in object mode should make the editmesh derivedmesh.

9 years agoSmall UI Tweak: Added NumPad-0 as additional hotkey for Reset to Default Values....
Joshua Leung [Thu, 12 Aug 2010 09:50:04 +0000 (09:50 +0000)]
Small UI Tweak: Added NumPad-0 as additional hotkey for Reset to Default Values. Previously, only ZeroKey (i.e. 0 on top row) was used, which was not very convenient to hit)

9 years agopatch [#23280] Generated suffixes of strip names contain random character (revision...
Campbell Barton [Thu, 12 Aug 2010 09:35:39 +0000 (09:35 +0000)]
patch [#23280] Generated suffixes of strip names contain random character (revision 31262)
from Torsten Rupp (rupp)

9 years agofix for the rna curve interpolation enum, 'ease' was using the same value as Bezier.
Campbell Barton [Thu, 12 Aug 2010 06:28:46 +0000 (06:28 +0000)]
fix for the rna curve interpolation enum, 'ease' was using the same value as Bezier.

9 years agobugfix [#23263] Changing view crashes blender
Campbell Barton [Thu, 12 Aug 2010 03:37:45 +0000 (03:37 +0000)]
bugfix [#23263] Changing view crashes blender

9 years ago[#23275] .3DS import script fails on some models.
Campbell Barton [Thu, 12 Aug 2010 02:24:12 +0000 (02:24 +0000)]
[#23275] .3DS import script fails on some models.
- fixed reading meshes without faces.

also changed...
- read verts/faces/uvs in one struct.unpack(), should be a bit faster.
- removed mesh/material splitting, very confusing/slow code and not needed since the 16 material limit was removed.
- load image paths with bpy.path.resolve_ncase() since many 3ds's files has case mismatch with file names (applies to OBJ too).

9 years agobugfix [#23270] Long directory name segmentation fault in File brower
Campbell Barton [Thu, 12 Aug 2010 00:14:32 +0000 (00:14 +0000)]
bugfix [#23270] Long directory name segmentation fault in File brower
 file->relname was being edited when its length allocated at the size of the original name, realloc'ing failed because the old string was still used by a button.

9 years ago- possibly bugfix /w uninitialized vars [#23270] Long directory name segmentation...
Campbell Barton [Wed, 11 Aug 2010 22:36:43 +0000 (22:36 +0000)]
- possibly bugfix /w uninitialized vars [#23270] Long directory name segmentation fault in File brower.
- in exceptional cases vertcos_to_key() could return with KeyBlock pointing to freed memory.
- invalid use of realloc() in BLI_builddir()

9 years agoLogic UI: name mismatch on motion blur property (report and patch by Jacob F.)
Dalai Felinto [Wed, 11 Aug 2010 21:51:31 +0000 (21:51 +0000)]
Logic UI: name mismatch on motion blur property (report and patch by Jacob F.)
I forgot to update the UI code (or to commit) when I changed the rna name to match docs. (0 to 1 values should be called factor)

9 years agobad level call fixes so the blenderplayer compiles again
Tom Musgrove [Wed, 11 Aug 2010 20:33:02 +0000 (20:33 +0000)]
bad level call fixes so the blenderplayer compiles again

9 years agoadd support for documenting class methods
Campbell Barton [Wed, 11 Aug 2010 17:13:39 +0000 (17:13 +0000)]
add support for documenting class methods

9 years agomathutils module methods only contained matrix constructors, move these to matrix...
Campbell Barton [Wed, 11 Aug 2010 16:40:36 +0000 (16:40 +0000)]
mathutils module methods only contained matrix constructors, move these to matrix class methods since this is acceptable in python. eg: dict.fromkeys() and groups them more logically.
 mathutils.RotationMatrix -> mathutils.Matrix.Rotation
 mathutils.ScaleMatrix -> mathutils.Matrix.Scale
 mathutils.ShearMatrix -> mathutils.Matrix.Shear
 mathutils.TranslationMatrix -> mathutils.Matrix.Translation
 mathutils.OrthoProjectionMatrix -> mathutils.Matrix.OrthoProjection

9 years agopython declarative UI
Campbell Barton [Wed, 11 Aug 2010 15:11:30 +0000 (15:11 +0000)]
python declarative UI
- remove XML testing feature
- add 2 modules: bpyml - generic, bpyml_ui - blender spesific. nothing uses these now.

==bpyml_ui module==
defines BPyML_BaseUI and its draw() function which uses the bpyml member of the class instance self.draw_data & self.draw_header_data.

This way declarative ui is opt-in and easy to use by using BPyML_BaseUI as a mix-in class.

==bpyml module==

This module translates a python like XML representation into XML
or simple python blender/ui function calls.

    sometag(arg=10) [
        another(),
        another(key="value")
    ]

# converts into ...

    <sometag arg="10">
        <another/>
        <another key="value" />
    </sometag>

9 years agoFixing make files compilation in linux
Joilnen Leite [Wed, 11 Aug 2010 14:51:52 +0000 (14:51 +0000)]
Fixing make files compilation in linux

9 years agoBlender Py API: GameLogic -> bge.logic
Joerg Mueller [Wed, 11 Aug 2010 12:14:16 +0000 (12:14 +0000)]
Blender Py API: GameLogic -> bge.logic

9 years agoBlender Py API: Implemented missing KX_PYATTRIBUTE_TODOs and -DUMMYs.
Joerg Mueller [Wed, 11 Aug 2010 10:36:16 +0000 (10:36 +0000)]
Blender Py API: Implemented missing KX_PYATTRIBUTE_TODOs and -DUMMYs.

9 years agobugfix [#23257] cmake tests for SSE, but SSE2 gets enabled
Campbell Barton [Wed, 11 Aug 2010 08:23:48 +0000 (08:23 +0000)]
bugfix [#23257] cmake tests for SSE, but SSE2 gets enabled
patch from Vinay Pawar, some minor changes by me.

9 years agosmall edits to text editor from writing a python editor extension.
Campbell Barton [Wed, 11 Aug 2010 05:21:43 +0000 (05:21 +0000)]
small edits to text editor from writing a python editor extension.
- rename TextLine.line -> body, ConsoleLine.line -> body
- minor speedups when setting the body text, also re-allocate console lines if they are < half the length.
- added option to highlight current line in the text editor.

9 years agobugfix [#23247] Load Image in Textures does not use a usefull path
Campbell Barton [Wed, 11 Aug 2010 03:31:56 +0000 (03:31 +0000)]
bugfix [#23247] Load Image in Textures does not use a usefull path

9 years agoFix silly bug with color ramp ui where there was an extra pixel
Matt Ebb [Wed, 11 Aug 2010 02:31:54 +0000 (02:31 +0000)]
Fix silly bug with color ramp ui where there was an extra pixel
of background on the right side

9 years agocorrection for mis-named DupliObject.object_matrix -> matrix_original
Campbell Barton [Wed, 11 Aug 2010 02:13:34 +0000 (02:13 +0000)]
correction for mis-named DupliObject.object_matrix -> matrix_original

9 years agoUpdate address in license block.
Guillermo S. Romero [Tue, 10 Aug 2010 21:22:26 +0000 (21:22 +0000)]
Update address in license block.