Campbell Barton
0c659da03b
bugfix [ #23158 ] Translate operator leaks memory if nothing selected
2010-08-03 22:36:59 +00:00
Andrea Weikert
81b8bdc353
fix for typo in commit #31007 : filtering in file browser for png and tga files wouldn't work anymore.
2010-08-03 19:03:51 +00:00
Thomas Dinges
63802982de
Export OBJ script:
...
*Removing some ancient lines.
2010-08-03 17:20:18 +00:00
Joerg Mueller
239477dcf7
Audaspace Py API: Updated some outdated docs.
2010-08-03 12:49:42 +00:00
Campbell Barton
50c3da699d
minor cleanup, minimal functional change.
...
replace some long duplicated, ifdef'd if statements for image extension.
- new function: BLI_testextensie_array(), can take an array of extensions.
- define extension arrays: imb_ext_image, imb_ext_movie, imb_ext_sound - we could have more of these.
- removed amiga extensions iff and lbm
2010-08-03 12:34:42 +00:00
Campbell Barton
957976882d
build options to disable image formats WITH_CINEON, WITH_HDR.
...
- updated cmake, make & scons.
- renamed CMake build options WITH_TIFF -> WITH_IMAGE_TIFF, same for DDS, OPENJPEG etc.
2010-08-03 11:25:34 +00:00
Joerg Mueller
279030a232
Audaspace:
...
* Py API: Renamed Sound to Factory to match the C++ classes and make it possible to add Readers when necessary to the API.
* Py API docs: Added the filter example.
* Fixed a crash for sounds without stop callback.
2010-08-03 08:45:03 +00:00
Joerg Mueller
16782bb6c2
Audaspace Py API: Getting rid of unnecessary forward declarations.
2010-08-03 08:30:49 +00:00
Campbell Barton
940d1dcd0a
remove commented scons lines from cmake files, fixed use of pointer poll function for ID drobdowns (currently unused)
2010-08-03 08:12:55 +00:00
Joerg Mueller
ce44d63ae1
Audaspace:
...
* Added an error string for audaspace exceptions.
* Fixed PyAPI exceptions.
* Minor bugfixes.
* Added a name parameter to the Jack device, so that one can define an own name via Python.
2010-08-03 08:07:21 +00:00
Campbell Barton
109a3b3198
pointer poll functions for object's, mainly for modifiers, constraints.
...
Lattice modifier only shows lattices types, Shrink wrap only meshes etc.
2010-08-03 06:51:36 +00:00
Campbell Barton
6d0769bc42
forgot to update addons with recent update to bpy.types
2010-08-03 06:36:07 +00:00
Campbell Barton
e0f0a425fa
rna pointer poll function, not used yet.
2010-08-03 05:14:59 +00:00
Campbell Barton
233df907d0
py/rna update, reload works again.
...
- fix for reload (f8) crashing, missing incref when creating the script namespace.
- store the module names rather then the modules for reloading incase the modules get out of date.
2010-08-03 03:53:36 +00:00
Campbell Barton
c475f38239
bugfix for python console getting its namespace cleared after the first command was executed.
2010-08-03 02:10:28 +00:00
Campbell Barton
66f32bd7f9
set origin was setting surfaces as 2D curves, added dupli-group support using the dupli's offset value.
2010-08-03 00:56:43 +00:00
Joerg Mueller
8baeb4393c
Audaspace Py API:
...
* Devices are now created with the constructor instead of class methods.
2010-08-02 22:53:40 +00:00
Martin Poirier
15e4753396
[ #23156 ] Cannot Edit Custom Properties
...
Missing import after moving operators around.
2010-08-02 22:52:55 +00:00
Joerg Mueller
86fc34b924
Audaspace:
...
* Added a stopCallback function that is called when the end of a sound is reached.
* Fixed the scrubbing not working.
* Minor SoundActuator cleanup.
2010-08-02 18:22:34 +00:00
Robert Holcomb
f811ab1356
added capabilty to limit color spill by an input mask
2010-08-02 17:34:44 +00:00
Campbell Barton
c418119b49
bugfix [ #23151 ] UV Project not update in realtime until you save the file and reopen it.
2010-08-02 16:57:46 +00:00
Campbell Barton
d298a5d0a8
patch [ #23054 ] Fix for bug #22725 "text editor doent scroll with cursor"
...
fixes [#22725 ] text editor doent scroll with cursor
from Justin Dailey (dail)
2010-08-02 16:41:14 +00:00
Campbell Barton
ec2c52c9c8
SCons
...
- remove scons option WITH_BF_FHS, its not needed anymore.
- comment WITH_BF_DOCS, was using epydocs which we dont use now.
- blenderlite target was broken, always using openmp.
- building without python wasnt working.
- fixed some warnings.
2010-08-02 16:27:41 +00:00
Campbell Barton
7bd687ea58
cmake
...
- more strict warnings for gcc/unix, still <50 for a clean build.
- install files to /usr/local/share/blender/2.53 rather then /usr/local/share/blender/.blender
2010-08-02 16:23:58 +00:00
Campbell Barton
d348765181
use try/except when unloading modules too.
2010-08-02 14:25:23 +00:00
Campbell Barton
bd0e14d90b
give better feedback when a class doesnt register correctly.
2010-08-02 13:41:59 +00:00
Ton Roosendaal
3d545d1db9
Based on recent feedback, the copyright.txt file contained
...
statements that were restricting the GNU GPL, which is not
allowed for binaries. Now the text restricts to summarizing
the freedom of GPL and a disclaimer.
2010-08-02 13:31:43 +00:00
Campbell Barton
486e00a3ed
py addons: much faster scanning of addons by only parsing the dictionary rather then the entire file.
2010-08-02 12:35:32 +00:00
Campbell Barton
200fb4a286
fix for parsing scripts
2010-08-02 12:07:50 +00:00
Campbell Barton
9e16c687a9
update userpref's addon code to support new register/unregister, now the modules are parsed rather then being imported since it become quite tricky to import once without registering the classes, then again in a way that registered the existing modules classes without a reload() - which had problems too.
2010-08-02 07:50:58 +00:00
Campbell Barton
0c62d107e0
minor changes to registration before committing addons fixes
2010-08-02 06:56:31 +00:00
Campbell Barton
55e64f0ba4
minor changes to Martni's commit 30961
...
- removed the immediate option from C/api and now store in python only, when python loads modules it sets it to False.
- unloading a module would clear the entire TypeMap for all modules, only remove the module types that is being unloaded.
- added some checks for bad class registering, report errors rather then crashing.
2010-08-02 04:20:41 +00:00
Campbell Barton
3d81ee3e4a
fix for sequencer panel registration, a parent class panel was being registered as well as its children which crashed running the poll() function.
...
theres not much point in having 3 classes here, just use 1.
2010-08-02 04:10:16 +00:00
Campbell Barton
a08648ab53
remove register/unregister from templates
2010-08-02 03:30:07 +00:00
Martin Poirier
5b345524ea
RNA Types metaclass registration
...
See mailing list posts for details [1][2][3]
Addons still need to be fixed; Campbell said he'd do it today.
See any of the py files (outside netrender) in this commit for how to do it (it's rather simple).
[1] http://lists.blender.org/pipermail/bf-committers/2010-February/026328.html
[2] http://lists.blender.org/pipermail/bf-committers/2010-August/028311.html
[3] http://lists.blender.org/pipermail/bf-committers/2010-August/028321.html
2010-08-02 02:55:12 +00:00
Luca Bonavita
9f575e5446
== povray ==
...
Removing Povray from here, it is now an addon in bf-extensions (after discussion with Campbell).
This will let us manage better the transition to PovRay3.7 and later versions.
2010-08-02 01:58:32 +00:00
Luca Bonavita
174145be60
== addons ==
...
Loads addons from usual .blender/scripts/addons but also from .blender/scripts/addons_contrib if this folder exists
To get latest contrib scripts, we can checkout
https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/
into release/scripts/addons_contrib/
2010-08-02 01:37:52 +00:00
Campbell Barton
c04850ec06
python mathutils change
...
quat * quat was returning the dot product (a float), rather then the cross product.
Use BLI_math's mul_qt_qtqt() function.
2010-08-02 00:08:01 +00:00
Tamito Kajiyama
a5692fd67b
Merged changes in the trunk up to revision 30952.
2010-08-01 23:37:52 +00:00
Joerg Mueller
bce3a49e2e
svn merge -r 30913:30953 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-08-01 23:19:30 +00:00
Campbell Barton
2e7c8bbeec
fix for py console autocomp. need to swap out __main__ module there too.
2010-08-01 22:54:39 +00:00
Joerg Mueller
52ef66da4d
Audaspace:
...
* Created awesome filter classes :)
* Made all filter effects use the filter classes instead of having the same implementation everywhere.
* Added a Python API for LTI IIR filters.
* Fixed a warning in creator.c that was introduced when adding game autoplay.
2010-08-01 22:33:50 +00:00
Campbell Barton
c92e3225f3
patch [ #23144 ] bpy.Image.gl_load() -- fix
...
from Dan Eicher (dna)
- image.gl_load() was using GL_UNSIGNED_INT rather then GL_UNSIGNED_BYTE channel type.
- changed image.gl_load() to use the image clamp settings (patch had this as an extra argument).
2010-08-01 22:20:45 +00:00
Tamito Kajiyama
4cfdedbe61
Implemented "Distance from Object" color/alpha/thickness modifiers
...
in the new Parameter Editor mode.
2010-08-01 22:11:57 +00:00
Guillermo S. Romero
20e6b5280d
SVN maintenance.
2010-08-01 21:29:50 +00:00
Brecht Van Lommel
9b006d6d00
Fix preview render crash after recent G.main changes.
2010-08-01 20:36:24 +00:00
Thomas Dinges
0753766a57
Fix for the fix.
2010-08-01 16:38:30 +00:00
Thomas Dinges
4e031236d5
Compile fix for recent changes. Function needed 1 more argument.
...
Chingiz can you please check?
2010-08-01 16:35:27 +00:00
Damien Plisson
4da55eed8f
OSX/Cocoa : fix the Cmd modifier stuck after cancelling the quit dialog
2010-08-01 16:25:00 +00:00
Tamito Kajiyama
092313a89d
Implemented "Distance from Camera" color/alpha/thickness modifier in
...
the new Parameter Editor mode. Refactored shader class definitions
and the way of iteration over stroke vertices.
2010-08-01 16:02:34 +00:00