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
Brecht Van Lommel
150eb890df
Fix #23258 : paint cursor not working in sculpt/paint modes.
2010-08-12 11:09:19 +00:00
Brecht Van Lommel
982c4c87f7
Fix #23281 : crash with multiresolution and uv project.
2010-08-12 10:35:34 +00:00
Brecht Van Lommel
fd0a02ef1b
Fix #23235 : crash with editmesh instances & drawing, only the object
...
in object mode should make the editmesh derivedmesh.
2010-08-12 10:17:21 +00:00
Joshua Leung
e2826f379d
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)
2010-08-12 09:50:04 +00:00
Campbell Barton
cf84992cb4
patch [ #23280 ] Generated suffixes of strip names contain random character (revision 31262)
...
from Torsten Rupp (rupp)
2010-08-12 09:35:39 +00:00
Campbell Barton
6be46efe6c
fix for the rna curve interpolation enum, 'ease' was using the same value as Bezier.
2010-08-12 06:28:46 +00:00
Campbell Barton
6827ac7e0d
bugfix [ #23263 ] Changing view crashes blender
2010-08-12 03:37:45 +00:00
Campbell Barton
ffd65f49da
[ #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).
2010-08-12 02:24:12 +00:00
Campbell Barton
ac133d5d26
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.
2010-08-12 00:14:32 +00:00
Campbell Barton
aae5c9b58d
- 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()
2010-08-11 22:36:43 +00:00
Dalai Felinto
350e6d22fd
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)
2010-08-11 21:51:31 +00:00
Tom Musgrove
4694914a8f
bad level call fixes so the blenderplayer compiles again
2010-08-11 20:33:02 +00:00
Campbell Barton
6cae52bca2
add support for documenting class methods
2010-08-11 17:13:39 +00:00
Campbell Barton
556b615cf8
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
2010-08-11 16:40:36 +00:00
Campbell Barton
ab8ccaa709
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>
2010-08-11 15:11:30 +00:00
Joilnen Leite
2a72eb8c28
Fixing make files compilation in linux
2010-08-11 14:51:52 +00:00
Joerg Mueller
fd2a9a0ed0
Blender Py API: GameLogic -> bge.logic
2010-08-11 12:14:16 +00:00
Joerg Mueller
d48991c6c6
Blender Py API: Implemented missing KX_PYATTRIBUTE_TODOs and -DUMMYs.
2010-08-11 10:36:16 +00:00
Campbell Barton
e588e8e741
bugfix [ #23257 ] cmake tests for SSE, but SSE2 gets enabled
...
patch from Vinay Pawar, some minor changes by me.
2010-08-11 08:23:48 +00:00
Campbell Barton
d739a1788d
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.
2010-08-11 05:21:43 +00:00
Campbell Barton
8c39326962
bugfix [ #23247 ] Load Image in Textures does not use a usefull path
2010-08-11 03:31:56 +00:00
Matt Ebb
c4f1c0fda1
Fix silly bug with color ramp ui where there was an extra pixel
...
of background on the right side
2010-08-11 02:31:54 +00:00
Campbell Barton
4ed342567e
correction for mis-named DupliObject.object_matrix -> matrix_original
2010-08-11 02:13:34 +00:00
Guillermo S. Romero
95aa8cfa4a
Update address in license block.
2010-08-10 21:22:26 +00:00
Guillermo S. Romero
e87552d3e8
SVN maintenance.
2010-08-10 20:33:15 +00:00
Campbell Barton
7c0216c7a0
minor adjustments to python scripts to make them easier to run outside of blender.
2010-08-10 18:21:33 +00:00
Campbell Barton
76b17eaac5
repr() functions for the python api, this means it can print 'bpy.data.objects[foo].modifiers' from the objects modifiers, uses the same function thats used to make the animation path.
2010-08-10 15:46:16 +00:00
Campbell Barton
ad4fc20ec9
moved idcode functions into their own file (was added as a todo in the comments), these were mixed in with file reading code - BLO_readfile.h bot these functions are not spesific to reading.
2010-08-10 15:14:19 +00:00
Daniel Genrich
f483834f13
Smoke:
...
- Fixing UI glitch so that range and UI range now matches
- Increased max to 400 secs (at 25 FPS) to allow more artistic freedom
2010-08-10 13:06:45 +00:00
Joerg Mueller
4eadcdc389
Fix for [ #22924 ] KX_PolygonMaterial.diffuse does not return expected list[r,g,b]
2010-08-10 10:26:25 +00:00
Joerg Mueller
46cac18815
svn merge -r 31145:31210 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-08-10 09:47:57 +00:00
Joerg Mueller
d9272cdc20
Py API Docs:
...
* Improved audaspace docs
* Added an epy parser to add epydoc documented modules to the sphinx docs
2010-08-10 07:57:02 +00:00