Commit Graph

26004 Commits

Author SHA1 Message Date
Campbell Barton
6a4b9298c8 patch [#23968] filter_filetypes property to allow operators to filter by file extensions in the file selector
modified the patch to store the string internally rather then an array of allocated string pointers, less hassle with memory allocation.
changed to use fnmatch, so *.foo is needed (not .foo as with the patch)
2010-09-24 07:05:43 +00:00
Campbell Barton
99643037ca new utility function BLI_testextensie_glob
uses fnmatch to match strings like "*.foo;*.bar;*.blend?"
2010-09-24 06:20:43 +00:00
Campbell Barton
e90ad1d9ba Annoying hack to pretend that an operator and its properties are the same, when passing an operator to an rna function argument which accepts 'AnyType', then pass the properties instead.
This means we can do operator drawing without passing self.properties as an argument.

while this check if quite specific, if this gives problems later on we should probably change operators not to try to mix an operator and its properties, it looks nice to a scripter but internally is not easy to manage.
2010-09-24 03:48:26 +00:00
Campbell Barton
f866de1c9f missed this in recent commit. 2010-09-24 03:42:19 +00:00
Campbell Barton
5c99f3886e fix for python refcounting leak, RNA_path_resolve_full now unsets the index if its not last. 2010-09-24 03:24:15 +00:00
Campbell Barton
05f8e53d33 bugfix [#23965] Segmentation fault when using bpy_struct.keyframe_insert() with nested custom property 2010-09-24 00:39:01 +00:00
Janne Karhu
3921f0528c Fix for [#22662] Transforming handles in the graph editor is broken. 2010-09-23 23:45:14 +00:00
Nathan Letwory
af27774158 Fix [#23539] Blender Generated Static Environments Fail To Save
reported by bowels

Saving environment map didn't look at relative_path setting, made it do so.
2010-09-23 22:44:03 +00:00
Brecht Van Lommel
02fd98e1cf Fix #23170: multithreaded texture baking could give wrong results with margin,
with some threads not writing the margin mask.
2010-09-23 21:38:01 +00:00
Brecht Van Lommel
3b17b75451 Fix #23005: circle select not working paint modes with face select. 2010-09-23 21:01:12 +00:00
Brecht Van Lommel
63746ac4f7 Fix #22947: sample color tool not working in user preferences, was assuming the
color to be a property on an ID block. Note that sampling from another window
still does not work, only within the same window.
2010-09-23 20:26:03 +00:00
Brecht Van Lommel
1199551239 Fix #22922: adding new nodes didn't add them at the mouse location. This also
caused auto connect to not work in some cases, because that now orders nodes
and only connects if the new node is to the right of the old node.

I doubted between always connecting to the new node as output or keeping this
ordering trick also when adding nodes. Decided on the latter because then you
can also add a node between two others and have it auto connect to both.
2010-09-23 20:16:45 +00:00
Brecht Van Lommel
960cdb8f5d Fix other part of #22853: mirrored transform on armature tail/head only did not
mirror roll.
2010-09-23 19:31:01 +00:00
Brecht Van Lommel
cc4e2dfa59 UI: for operator macro's, don't show internal ID name but UI name in redo panel. 2010-09-23 18:58:26 +00:00
Brecht Van Lommel
d8ebb7beff Fix part of #22853: armature editmode crash with undo. 2010-09-23 18:54:06 +00:00
Brecht Van Lommel
6ae2003250 Small code cleanup to remove old undo calls that do nothing. 2010-09-23 18:45:56 +00:00
Brecht Van Lommel
c8343f59d8 Possible fix for #23947: baking while in editmode did not take into account
changes made to the mesh since entering editmode.
2010-09-23 18:26:33 +00:00
Campbell Barton
9b7cc91134 bugfix [#22169] LoopCut and Slide plus ArrayModifier Object offset FirstLast gives crash 2010-09-23 14:29:51 +00:00
Campbell Barton
57c4e9c8f7 [#23882] BrushTexture.Slot.size missing
missed with rna renaming
2010-09-23 12:50:45 +00:00
Campbell Barton
f88ad3f048 bugfix [#23595] Texture paint with a node based brush produces artifacts
also changed displace modifier not to link object depgraph when not using object texturespace.
2010-09-23 12:03:34 +00:00
Janne Karhu
6fdd00f709 Fix for [#22598] Animated texture properties do not appear in IPO if no material properties are also animated 2010-09-23 11:29:58 +00:00
Janne Karhu
7cbed194f4 Fix for [#23872] particle deflection in conjunction with SPH particles is apparently buggy
* Fix turned into a thorough cleanup and reorganization of particle collision response code.
* Collisions are now much more accurate, stable and even a bit more in agreement with real world physics.
* Only still remaining problem is rotating/deforming deflector objects, but that's something for the future.
* Visible changes should only be positive, i.e. no leaking particles, no strange instabilities etc.
2010-09-23 09:31:13 +00:00
Campbell Barton
1c3f2354f8 bugfix [#23795] Insert Visual Loc/Rot Keyframe of Armature Bones Broken
- converted 3 options in keying sets to use bl_options like panels & operators
- removed function arguments for new keying sets, better adjust these after to avoid duplicating properties in function arguments (they were not used).
2010-09-23 08:15:53 +00:00
Campbell Barton
dab69c01a1 whitespace commit, tabs -> spaces 2010-09-23 07:50:52 +00:00
Campbell Barton
e0289ff6fc support for PROP_ENUM_FLAG buttons, these were only supported by python. 2010-09-23 07:31:44 +00:00
Campbell Barton
25e3f68c7f fix for mistake in rna naming. 2010-09-23 04:49:01 +00:00
Campbell Barton
2b9a73ff98 - py/rna's path_resolve function was ignoring the index eg: obj.path_resolve("location[1]")
- corrected comment from previous commit
2010-09-23 02:12:33 +00:00
Campbell Barton
db47803de4 bugfix [#23954] Bone roll keeps changing when switching between EDIT <-> OBJECT mode
use lower epsilon value.
2010-09-23 01:48:31 +00:00
Campbell Barton
725c8dde92 patch [#23675] fix #22787 with workaround
from Shane Ambler (sambler)
2010-09-22 17:13:23 +00:00
Campbell Barton
e2c0777828 bugfix [#23577] Parenting scaled objects transforms them
commented so this line isn't added back.
2010-09-22 16:47:46 +00:00
Campbell Barton
7e121cb9a5 clear parent on objects with no parent would still transform them. 2010-09-22 16:30:57 +00:00
Campbell Barton
6bb0fc3e4f minor changes to text3d editing, skip wchar --> utf-8 conversion on cursor movement. 2010-09-22 15:39:43 +00:00
Campbell Barton
aa7db99a38 bugfix [#23832] Moving a pose bone doesnt update the transform button props realtime. 2010-09-22 14:34:02 +00:00
Campbell Barton
9387d46772 bugfix [#23948] Alpha from images inside compositor is gone
also fix memory leak.
2010-09-22 14:13:34 +00:00
Campbell Barton
9f901f6422 bugfix [#23950] Crash with bake 2010-09-22 13:43:31 +00:00
Nathan Letwory
0bbc2cf882 After discussion with Campbell (ideasman) on IRC I reorganized notifiers and created new one for visibility toggling (epilogue to r32052, fixing [#23944]). 2010-09-22 13:42:20 +00:00
Campbell Barton
d135e63705 bugfix [#23945] obj export problems 2010-09-22 13:24:21 +00:00
Campbell Barton
12628b197d bugfix [#23935] Exporting to Unity3d .fbx Blender 2.5 2010-09-22 12:36:54 +00:00
Campbell Barton
b27d924aac bugfix [#23514] Modifier names containing ']' character cant be animated. 2010-09-22 09:49:35 +00:00
Janne Karhu
b6d28b5850 Fix for [#21718] Shrinkwrap's "Project" mode with offset gives wrong results.
* normal offset not taken properly into account
* wrong usage of BVHTree (epsilon != radius) caused massive slowdowns in calculations, for example just opening test file took about 30 s on my machine, after fix about 0.5 s :)
2010-09-22 09:38:11 +00:00
Daniel Salazar
764a760c66 Increasing compositor blur max size 2010-09-22 08:51:18 +00:00
Dalai Felinto
ef8a6e5c84 RNA renaming nodetree to node_tree
* previously some were left as nodetree, that is not only inconsistent, but it was also raising one of those RNA property not found errors)
2010-09-22 08:10:46 +00:00
Nathan Letwory
f82f3f235e Fix [#23944] Missing update of 3D view when toggling visibility of object in outliner with keyboard
Reported and patched by Torsten Rupp (patch [#23895])

Also fixed typo in toggle visibility operator name
2010-09-22 06:58:51 +00:00
Campbell Barton
1632db7b71 bugfix [#23784] Renaming files broken in the file selector 2010-09-22 05:32:39 +00:00
Sergey Sharybin
916085247a Fix #23925: converting text into a curve looses materials
filldisplist worked incorrect with polys when charidx matched but col doesn't
Also fixed material loose when converting text/curve to mesh
2010-09-22 05:08:52 +00:00
Campbell Barton
d2bc4a31a0 patch [#23796] Full support for unit buttons: area, volume, mass, velocity and acceleration
from Lorenzo Tozzi (oni_niubbo), suppress_only_shown.diff
2010-09-22 02:47:08 +00:00
Campbell Barton
e4f3a0efa6 patch [#23796] Full support for unit buttons: area, volume, mass, velocity and acceleration
from Lorenzo Tozzi (oni_niubbo), multiple patches: better_split.diff
2010-09-22 02:44:03 +00:00
Campbell Barton
b0f36f0317 patch [#23796] Full support for unit buttons: area, volume, mass, velocity and acceleration
by Lorenzo Tozzi (oni_niubbo)
2010-09-22 02:36:14 +00:00
Ken Hughes
d0451fea58 Changes to scons for building with static zlib and tiff libraries. 2010-09-21 21:10:49 +00:00
Campbell Barton
0c7285b9ae minor UI change so blender built without fluids wont give a python error 2010-09-21 16:31:37 +00:00