Commit Graph

25792 Commits

Author SHA1 Message Date
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
Nathan Letwory
20ca4b188d Fix [#23716] Add background image broken
Reported by Josh Wedlake
2010-09-07 20:27:40 +00:00
Campbell Barton
115b256738 ran through pep8 checker 2010-09-07 15:17:42 +00:00
Joshua Leung
e53bbc7ab7 Graph Editor tweaks:
Buttons for editing RNA paths/array index for F-Curves that aren't working are now actually functional. This means that when invalid paths are present, they can be manually fixed up.
2010-09-07 12:03:09 +00:00
Matt Ebb
51aa26db62 Fix [#23634] Edit Box in World / Ambient Occlusion has wrong background colour 2010-09-07 11:14:20 +00:00
Campbell Barton
7f686a46f5 bugfix [#23648] Add image strip window checkboxes don't work 2010-09-07 10:48:25 +00:00
Matt Ebb
00e71bd955 Compile fix 2010-09-07 10:31:47 +00:00
Campbell Barton
28d18d59a3 bugfix [#22831] transform problem with hidden parent object
dont allow selecting of hidden objects or restrict selected object by using the BASE_SELECTABLE macro.
2010-09-07 10:24:12 +00:00
Campbell Barton
ea95d71067 bugfix [#23189] Num-0 swtich to Camera view and back doesn't respect UserPerspective view.
also fix for recent cmake edits.
2010-09-07 09:15:59 +00:00
Thomas Dinges
db775721c8 Windows Installer:
* Remove text "(Requires Windows 2000 or better)", as we don't support Windows 2000 anymore. 
* Fixed link in Help.url
2010-09-07 08:16:28 +00:00
Campbell Barton
ae0d99291f bugfix [#23656] Problems retrieving properties from inside runtime-created PointerProperties
Setting the classes __dict__ member directly didnt update the types slots (python internal type stuff used with subclassing), so class.bl_rna was returning an incorrect value.

Set the value using typical python setattr command.
2010-09-07 08:10:19 +00:00
Joshua Leung
51d996ab36 Bugfix #23707: Autokey Available is ignored on a Clear Transform
Checks are now done to see if only the active KeyingSet should be used instead of always using a hardcoded value only.
2010-09-07 03:58:50 +00:00
Nicholas Bishop
2ffa9e1309 == Sculpt ==
Fixed bug #23654
Brush copy clears its preview, so that the copied brush's icon isn't linked to the old brush
2010-09-07 03:02:03 +00:00
Campbell Barton
fd53393a5d patch [#23650] fix stubs.c for optimized build
from Filiciss Muhgue (filiciss)

--- from the tracker submission
if compile Blender with /GL on msvc, linker error LNK1237 occur on building blenderplayer.exe.
http://msdn.microsoft.com/en-us/library/at5twzkt(v=VS.90).aspx
2010-09-07 02:39:32 +00:00
Campbell Barton
ab07ba84bf patch [#23703] Fix for Level compositing node; correct color representation
from Alexander Kuznetsov (alexk) 

--- copied from the tracker
Every image inside Blender is in linear color space and gets converted to SRGB upon saving.
Level node analyzed the linear image, which was not the one user saw because other output nodes converted image  to
sRGB.
This fix analyzes the image that user see (converting it to correct color space).
Here is difference:
http://www.pasteall.org/pic/show.php?id=5559

First histogram (before the fix) tells that image is underexposed, which is not the case.
2010-09-07 02:36:51 +00:00
Campbell Barton
2406ebe1a4 - added back zlib include (needed for win32).
- use list append in more places.
- remove non existing include dir.
2010-09-07 01:13:10 +00:00
Campbell Barton
e0aca888de bugfix [#23464] Crash on Tab
OBJ importing edges would produce corrupt meshes because face edges were not created.
2010-09-07 00:32:45 +00:00
Campbell Barton
0a2e0b28bf bugfix [#23631] Faces and edges missing in edit mode
there was no way to clear fgons.
2010-09-07 00:20:31 +00:00
Campbell Barton
59ac5b0930 in response to bug [#23701] Edit Mode: unable to bind vertex/edge/face select modes to keys
while not a bug, being able to cycle over vertex/edge/face modes is useful. added an operator to cycle an array, could be used for cycling the active layer or mesh edit mode.
2010-09-06 22:43:09 +00:00
Campbell Barton
6b6d6304e2 bugfix [#23702] Parent to hidden object crashes 2010-09-06 22:10:51 +00:00
Campbell Barton
67d2060450 bugfix [#23704] Background image does not support special german letters 2010-09-06 22:00:15 +00:00
Campbell Barton
99954545ee bugfix [#23656] Problems retrieving properties from inside runtime-created PointerProperties
cant test if this fix solves the problem matt is having but it at least fixes an error caused by classes created in exec(),
when the properties pointers were copied the hash key still referred to the python object which could be freed. in most cases this wouldnt happen (would be kept in bytecode) but with exec() the property string is freed immediately.
2010-09-06 15:54:08 +00:00
Campbell Barton
f6c68f1019 bugfix [#23663] relative path dind work on linux 2010-09-06 13:28:57 +00:00