Commit Graph

25814 Commits

Author SHA1 Message Date
Dalai Felinto
3a2fc4d6dc BGE module reshuffling - VideoTexture -> bge.texture
this was the one module left to be renamed.

We didn't get to any conclusion in the mailing list, but Campbell suggested texture and I think its a good name. We can change any time before next Beta, but for now I think it's handy to have something.

The original proposal is from May:
http://lists.blender.org/pipermail/bf-committers/2010-May/027587.html
2010-09-11 19:38:11 +00:00
Thomas Dinges
9ce624f6f6 Removed a "properties" too much. :/ 2010-09-11 15:33:30 +00:00
Campbell Barton
386bd71240 pyrna: replace method for operators forwarding getattr/setattr access from self.* to self.properties.* 2010-09-11 15:13:22 +00:00
Campbell Barton
38669bd5fd - added PNG image export option to UV layout (was only SVG and EPS which was annotying for some users)
- support for non utf8 paths when exporting UV layout.
2010-09-11 10:31:50 +00:00
Campbell Barton
ae6e013c15 new materials and cameras had incorrect usercounts when added from python 2010-09-11 06:27:38 +00:00
Campbell Barton
5d229db946 incorrect docstring 2010-09-11 06:15:37 +00:00
Campbell Barton
b2b0869212 - camera max zoom limit was inconsistent
- camera pan now follows the mouse
2010-09-11 04:39:00 +00:00
Campbell Barton
63a8056839 - py api splash URL was old, use blender version (menu was ok in the menu)
- netrender reloading fix
2010-09-11 04:23:45 +00:00
Matt Ebb
1fe90ba049 Fixed the splash screen: previous had incorrect colour, typography, no transparent header. 2010-09-11 00:19:38 +00:00
Matt Ebb
0df7cde29a Fix for own stupid bug the other day, messed up the gradients in selected/deselected UI elements.
Didn't know beta was going to be today, really hope this makes it in!
2010-09-11 00:08:07 +00:00
Thomas Dinges
cd4fb20b73 Patch [#23759] more replace self.properties.foo --> self.foo for bf-extensions/trunk/py/scripts
by Filiciss Muhgue (filiciss). Thanks a lot!

Part 1: Trunk, second part of patch will be committed to Extensions.
2010-09-10 23:39:43 +00:00
Ton Roosendaal
40bf22e955 Part 4 of 2.54 beta commits (last) 2010-09-10 16:39:08 +00:00
Ton Roosendaal
f1df602048 Part 3 of 2.54 commits (1 more!) 2010-09-10 16:34:03 +00:00
Ton Roosendaal
61c50403b0 Part 1 of 2.54 beta build commit 2010-09-10 16:29:19 +00:00
Campbell Barton
bf18e89396 fix for error updating rigify UI classes 2010-09-10 16:07:18 +00:00
Arystanbek Dyussenov
5416fee99a Bug #23715: patch by Jan Diederich to avoid having duplicate IDs after they are translated.
For example, object ID names "1a", "2a", "3a", will be exported as "_a", "_a2", "_a3". Thanks Jan!
2010-09-10 15:24:10 +00:00
Campbell Barton
5559a0d52e rewrote python IDProperty metaclass in C, this was a quick hack to get it working.
The reason this didnt work is all sibclasses of pythons type() or PyType_Type in C, have to have their size set to sizeof(PyHeapTypeObject) rather then sizeof(PyTypeObject) as you might expect.
This is strange since its not a heap-class (defined in pythons runtime), but a static C type, so Im not sure about this, and cant find any documentation but it seems to work ok.
2010-09-10 14:54:50 +00:00
Janne Karhu
fc6d27313b Fix for [#23090] Blender 2.5 : move object to new layer crashes Blender 2010-09-10 08:36:14 +00:00
Sergey Sharybin
46f0fbcf0a Fix #23742: a NURBS surface created with two joined curves crashes Blender on rendering
Nurb's material number used to be clamped to [0;-1] for case object hasn't got
materials. Forced to keep material number on zero if object hasn't got any materials.
2010-09-10 06:05:18 +00:00
Campbell Barton
cf4e32a06c remove redundant buffer character positioning code & remove attr keyword argument from property definitions. 2010-09-10 04:04:48 +00:00
Campbell Barton
5bf97d7786 bugfix [#23607] Render Stamp, incorrect apostrophe Y position. 2010-09-10 03:56:11 +00:00
Campbell Barton
a7fe586c94 patch [#23749] IntVectorProperty missing step [patch]
from Dan Eicher (dna), also edited some comments.
2010-09-10 02:46:29 +00:00
Martin Poirier
3d9cf8b916 Fix bug caused by someone else's error. 2010-09-09 22:39:27 +00:00
Campbell Barton
111965478a replace self.properties.foo --> self.foo 2010-09-09 18:03:57 +00:00
Campbell Barton
7bd1f9a234 - bugfix, operators were getting their properties registered twice.
- operator properties are now converted into python property() class members which bypass the operator 'properties' member.
  self.properties.mysetting
 ... can now be written as ...
  self.mysetting
- fix for error reloading rigify
2010-09-09 17:41:36 +00:00
Campbell Barton
f9367c4c4d definition/syntax edits for operators and rna (no functional changes) 2010-09-09 17:36:54 +00:00
Campbell Barton
49585914e2 fix for addons UI with recent rna changes,
also moved temp properties from the scene into the window manager since they are not saved there.
2010-09-09 14:22:03 +00:00
Campbell Barton
9bdb7b5ffa fix crash for calling setattr with a non-string attribute and warning. 2010-09-09 13:58:38 +00:00
Janne Karhu
2dbb96b972 Partial fix for [#21948] Full sample motion blur with cloth - cloth and collision object render issue.
* Now cloth reads cache using subframes when rendering.
* Cloth cache also was reset every time on the start frame which kind of defeats the point of the caching.
2010-09-09 11:07:07 +00:00
Arystanbek Dyussenov
7abf2faa20 Bug #23715 in COLLADA exporter: prepend an '_' to the ID if it starts with an illegal character.
Pointed out by Tom Haines. Thanks!
2010-09-09 11:01:30 +00:00
Arystanbek Dyussenov
ad48fd1db9 Patch by Jan Diederich, fixes bug #23715 in the COLLADA exporter.
Allow IDs to start only with an alphabetic character replacing digits with an '_'.
2010-09-09 08:14:36 +00:00
Janne Karhu
a755f9f7ed Fix for [#23734] Force Fields Min/Max don't work
*Special case for planar vortex field
2010-09-09 07:52:35 +00:00
Campbell Barton
45cf7633fe remove class methods for defining properties
eg: bpy.types.Scene.BoolProperty()
2010-09-09 06:29:44 +00:00
Campbell Barton
ced3f3ad15 - fix for using ['prop'] in RNA api
- fix for testing without USE_PY_METACLASS defined.
2010-09-09 06:06:37 +00:00
Campbell Barton
f4be9a6393 support for defining rna class properties as class attributes
eg:
 bpy.types.Scene.myprop = BoolProperty()
 
note, this uses an ugly python metaclass, this should be replaced with a C implimentation which is included but commented out, causing crashes in pythons GC which gives no hint as to where the bug comes from.
2010-09-09 05:37:22 +00:00
Nicholas Bishop
4eaa10aa02 == Multires ==
Fixed bug #23657, "Modifiers dosen't work when you select diffrent mesh for object"

Multires modifier now adds empty mdisps if they're missing, rather than displaying a warning
Switching an object's mesh will now check for a multires modifier; if found the modifier's total number of levels are reset to match the mesh's mdisps
Switching the mesh also forces a multires update so that sculpted changes aren't lost
2010-09-09 00:14:51 +00:00
Campbell Barton
2d4e8ba22f bugfix [#23725] bpy.context.window_manager. 2010-09-08 21:47:16 +00:00
Thomas Dinges
cc0d31b921 Fix for [#23736] Network render - error in file: release\scripts\io\netrender\client.py + patch.
Patch by Mariusz Maximus (mariuszekpl). Thanks!
2010-09-08 19:49:05 +00:00
Janne Karhu
f0fe8a559d Partial fix for [#23714] Linked instance group with particles doesn't render properly
* Only partial because rendering of dupliobjects / groups with particles isn't yet fully implemented
2010-09-08 11:08:34 +00:00
Campbell Barton
128bd96c01 py/rna internals
- rna internal deferred properties now store the functions as PyObjects rather then C function pointers
- Property functions now allow the first non keyword argument to be a class.
2010-09-08 10:43:36 +00:00
Campbell Barton
6d82951947 bpy.props.* option to pass the first arg as a class. 2010-09-08 08:48:40 +00:00
Nathan Letwory
6abf53b574 Apply patch [#23632] Allow single quotes in RNA paths.
By Lukas Tönne

In the console RNA paths can use double quotes (" ") or single quotes (' ') to select from a collection, an
ID property or a vector/color component. The RNA_path_resolve function however only accepts double quotes. This patch
adds the ability to use single quotes in areas other than the console too.

PS. Note the very nice patch ID :)
2010-09-08 08:42:36 +00:00
Janne Karhu
741a53050f Hair disconnect/connect wasn't working properly. 2010-09-08 08:36:12 +00:00
Nathan Letwory
06b1c933b3 Commit patch [#23685] Cleanup/crashfix for AA using win32 ghost.
Provided by Mitchell Stokes (Moguri)
2010-09-08 08:25:38 +00:00
Campbell Barton
b58f41e120 addon improvements/fixes
- better error reporting when an addon fails to load
- upload an addon which loads partly but then fails (eg, module loads but class register fails)
- bugfix addon loading, failier to load would leave _bpy_types._register_immediate = False
- added which change on disk are reloaded when enabling.
- bpy.path.module_names() now returns (module_name, module_path) pairs.
2010-09-08 07:30:20 +00:00
Campbell Barton
1a41d2fc29 new bpy function bpy.path.module_names(path, recursive=False)
addon's and python initialization both had this inline.
2010-09-08 04:55:37 +00:00
Campbell Barton
5b428e9158 bugfix [#23720] Performing an object operation in the Outliner in Visible Layers display mode causes CTD 2010-09-08 03:34:45 +00:00
Campbell Barton
ecbb170bb0 patch [#23717] Another install target fix for cmake/linux
from Ralf Hölzemer (cheleb)

 fix for *nix install target
2010-09-08 03:13:19 +00:00
Campbell Barton
8737dcfc7b bugfix [#23722] Artifact in 3D View with empties saved to default .blend. 2010-09-08 02:55:48 +00:00
Thomas Dinges
942dda3f2d * Increase Ray Depth Property Range, request by Conz. 2010-09-07 20:49:44 +00:00