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
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
Sergey Sharybin
c0e39df6ac
- Enable shape key switching in edit mode for curves, surfaces and latticies
...
- Disable changing of lattice size if there are shape keys
2010-08-10 06:36:42 +00:00
Campbell Barton
41531e4fb6
include rna parent class names in renaming list
2010-08-10 06:27:29 +00:00
Campbell Barton
15669532a2
header re-shuffle, some headers contained unneeded refereces to other headers, better include inline with the C files that need them
2010-08-10 05:41:51 +00:00
Matt Ebb
b525dfb298
Added additional (optional) subframe argument to RNA API function: scene.set_frame()
...
This is used to set the current frame to a floating point subframe state between 0.0 and 1.0
added to the integer frame. A main usage for this is retrieving geometry at sub-frame
intervals for use in multi-segment motion blur:
http://mke3.net/projects/3Delight_blender/renders/multisegment_blur.mov
Example:
scene.set_frame(5)
or
scene.set_frame(5, 0.25)
2010-08-10 03:28:06 +00:00
Martin Poirier
0d9898ac73
rewrite poll methods using a base class implementation instead of a global function (now that this is possible because of it being a class method)
2010-08-10 02:58:32 +00:00
Dalai Felinto
73f1d88be2
Bugfix for:[23234] Blender File Browser - Back Button does work with first directory entered?
...
For !WIN32 systems the fix was in ED_fileselect_set_params
(basically adding the first folder in the sfile->folders_prev list)
For WIN32:
I talked with Nathan (Jesterking) and he agreed that the fix in path_util.c was required too. Without that BLI_path_abs was always making WIN32 paths ending with \ to end with \\
(e.g. C:\Blender\ --> C:\Blender\\)
And this was making the folder to fail ISDIR tests.
2010-08-09 22:54:40 +00:00
Guillermo S. Romero
825f0593e0
SVN maintenance.
2010-08-09 20:14:33 +00:00
Arystanbek Dyussenov
f9acf1b455
Fix bug #22828 , "Exporting as COLLADA crashes Blender".
2010-08-09 18:15:50 +00:00
Thomas Dinges
acfead3d15
OBJ Export:
...
* Removed duplicate use_animation variable, sorry!
* Added some descriptions.
2010-08-09 10:52:20 +00:00
Thomas Dinges
8600f5f29a
OBJ Export:
...
* Script was broken, fixed.
* Started some code cleanup, mainly variable names.
* Tabs > Spaces
2010-08-09 10:35:03 +00:00
Campbell Barton
a8ce419257
rna refactoring update, order by class, attribute.
2010-08-09 10:22:09 +00:00
Campbell Barton
c026b8066d
fix from recent poll() edits.
2010-08-09 08:18:49 +00:00
Campbell Barton
66cbb0d973
restrict prefix checking to booleans for now
2010-08-09 07:05:37 +00:00
Campbell Barton
8d517cff33
rna refactor...
...
- added a script to merge 2 lists of rna renaming from/to
- merged rna_booleans.txt into rna_properties.txt
- made rna_cleaner.py sort by class.from by default.
2010-08-09 06:55:20 +00:00
Campbell Barton
9581cf1bdd
python draw callback
...
- optional argument for the drawing mode crashed when not set
- added a check for the call fuinction being callable
- added a check for the argument being a typle.
2010-08-09 02:29:06 +00:00
Campbell Barton
a6f13f9d7b
poll() as a python '@staticmethod' was too limiting and didnt allow useful base class poll functions in many cases.
...
now rna functions that dont have a 'self' are automatically assumed '@classmethods'.
de-duplicated poll functions and made some minor tweaks too.
2010-08-09 01:37:09 +00:00
Campbell Barton
7fcbbad5a4
remove py2.x compat check for class registration.
2010-08-08 23:46:49 +00:00
Campbell Barton
1bda960348
[ #23228 ] Play rendered animation is not working
...
own recent commit missed renaming expand -> abspath
2010-08-08 22:49:46 +00:00
Peter Schlaile
a773d8836f
Bugfix: [ #23149 ] Showing cache instead of rendering with the VSE
2010-08-08 16:47:58 +00:00
Luca Bonavita
9fe2b252c4
== docs ==
...
Changing " **type** " into "\n\n:type: " in Mathutils, to have like "type: float" in its own line.
2010-08-08 16:22:29 +00:00