Commit Graph

25438 Commits

Author SHA1 Message Date
Joerg Mueller
0be08725ad 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.
2010-08-16 12:14:09 +00:00
Joerg Mueller
25fec1592e 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
2010-08-16 11:41:07 +00:00
Joerg Mueller
2b7a774ab0 svn merge -r 31314:31370 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2010-08-16 09:37:08 +00:00
Campbell Barton
a91d538f47 - commit that removed MEM_guardedalloc.h includes broke building with SSE enabled.
- all C/C++ files in blender are now utf8 compatible.
2010-08-16 09:24:18 +00:00
Campbell Barton
8177a765ab jp2.c has a non-utf8 char which stopped python from reading it, removed unused vars from CMP_chromaMatte.c 2010-08-16 06:38:30 +00:00
Campbell Barton
d1759639dc - remove unused includes IMB_*, BIF_* & MEM_*
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-16 05:46:10 +00:00
Robert Holcomb
e9683f4b26 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.
2010-08-15 22:08:49 +00:00
Benoit Bolsee
247a406027 Update MSVC project files 2010-08-15 21:39:48 +00:00
Campbell Barton
e2a6a0b377 change for sorting rna cleaner (was broken), diff's on rna_properties.txt will stop being so big now. 2010-08-15 16:50:58 +00:00
Campbell Barton
3a34d669e1 remove foreach_get/set for rna arrays, was crashing and are only valid for collections. 2010-08-15 16:06:26 +00:00
Campbell Barton
728b713d86 use more BLI math functions. 2010-08-15 15:14:08 +00:00
Campbell Barton
5f525bd723 speedup and cleanup of OBJ exporter 2010-08-15 15:04:51 +00:00
Campbell Barton
310cc16fd6 more rna naming edits 2010-08-15 12:32:37 +00:00
Campbell Barton
0e7d0cfe2a [#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.
2010-08-15 12:03:49 +00:00
Brecht Van Lommel
60a8fc3759 Fix #23303: glsl color correction not working correct for image textures. 2010-08-15 09:34:18 +00:00
Brecht Van Lommel
dd9ce7ba04 Fix #23307: accessing FluidParticles.settings causes crash. 2010-08-15 08:53:28 +00:00
Martin Poirier
4959f424b8 [#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).
2010-08-14 17:11:10 +00:00
Martin Poirier
bd7cfbc3cc 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).
2010-08-14 16:30:41 +00:00
Campbell Barton
04f619d8af - 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.
2010-08-14 05:33:20 +00:00
Campbell Barton
ae6a632534 fix for error in world buttons when the world was None 2010-08-13 22:35:13 +00:00
Campbell Barton
5e4ab9fa31 fix for referencing freed memory when freeing an rna property. 2010-08-13 21:49:31 +00:00
Nathan Letwory
801ba2e345 Apply patch #23295 - Fix for SCons building on FreeBSD
Patch submitted by Jashank Jeremy. This adds support for freebsd7, freebsd8 and freebsd9. Thanks!
2010-08-13 20:54:34 +00:00
Campbell Barton
79487cca47 bugfix [#21807] Import Key Configuration problems 2010-08-13 18:48:33 +00:00
Brecht Van Lommel
ed36b00e36 Fix #23297: python error caused empty brush panel in the image editor. 2010-08-13 17:13:07 +00:00
Campbell Barton
32792a58e3 bugfix [#22037] OBJ exporter produce wrong UV 2010-08-13 16:59:11 +00:00
Campbell Barton
e12a146a42 bugfix [#22845] Python operators dont free report list 2010-08-13 16:34:21 +00:00
Campbell Barton
96b138d98b added include for offsetof(), also use <string.h>, not "string.h" 2010-08-13 15:26:37 +00:00
Campbell Barton
8e6c654294 [#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.
2010-08-13 15:07:57 +00:00
Campbell Barton
f35efbc95a - remove WM_operatortype_exists since its almost the same as WM_operatortype_find
- hopefully fix reported problem with MSVC.
2010-08-13 14:42:45 +00:00
Brecht Van Lommel
ab56b4b5b9 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.
2010-08-13 14:29:56 +00:00
Brecht Van Lommel
0738ae7688 2.5: more removal of G.main. 2010-08-13 14:23:44 +00:00
Joerg Mueller
02314f11d8 Py API Docs:
* Moving the alternative parser
* Checking for classmethods and staticmethods of builtin modules
2010-08-13 11:49:54 +00:00
Joerg Mueller
47d38dbd20 svn merge -r 31211:31313 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2010-08-13 10:50:29 +00:00
Brecht Van Lommel
9ce2086506 Fix #23111: file Output node not working when inside a group. 2010-08-13 10:20:40 +00:00
Brecht Van Lommel
9f4ec50a9a Fix #23244: image save function did not release lock on render
result, causing freeze later.
2010-08-13 09:47:14 +00:00
Campbell Barton
f662c0de05 exporters now set the filepath in the invoke() method rather then the menu drawing function. 2010-08-13 06:45:33 +00:00
Campbell Barton
bf52b68dcd 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().
2010-08-13 06:30:04 +00:00
Campbell Barton
e50ef6da2d bugfix [#22974] OBJ import arrives without texture 2010-08-13 03:17:10 +00:00
Dalai Felinto
6317a0006b Fix for [#23286] Text Editor: Cursor not changing shape when insert key is pressed. Patch by Justin Dailey (dail) 2010-08-12 20:42:06 +00:00
Thomas Dinges
76e1773548 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.
2010-08-12 19:36:10 +00:00
Brecht Van Lommel
6faa930369 Fix #23219: smooth view rotating in top view could generate NaN-values,
causing 3d view drawing to break.
2010-08-12 17:48:25 +00:00
Brecht Van Lommel
7019de5e30 Fix #23098: crash in baking, it did a call to BLI_end_threads too much,
causing problems with thread safe malloc after baking once.
2010-08-12 17:13:47 +00:00
Brecht Van Lommel
5fa95f6928 Fix #22777: duplifaces don't take deforming modifiers into account
while in edit mode.
2010-08-12 16:46:03 +00:00
Campbell Barton
9f01264610 bugfix: deleting NLA tracks with a keyframed text3d obdata would free the curve, missing type checks. 2010-08-12 16:39:23 +00:00
Brecht Van Lommel
dc3ddd518b Fix #23269: inconsistent naming of recalculate roll in menus compared to
operator popup menu.
2010-08-12 16:15:50 +00:00
Campbell Barton
7c8f1eb04e text editor bugfix, selecting & moving the cursor on lines >256 chars long (was reallocing too little memory). 2010-08-12 15:26:23 +00:00
Brecht Van Lommel
26f0f25c5a 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.
2010-08-12 15:15:02 +00:00
Campbell Barton
47f319eb6e text editor, only draw line highlight when its in the view. 2010-08-12 14:49:08 +00:00
Brecht Van Lommel
e81df3a6fa Fix #23238: crash rendering multiple scenes from compositor. 2010-08-12 13:58:10 +00:00
Campbell Barton
702ce76cd2 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.
2010-08-12 11:33:07 +00:00