Commit Graph

21995 Commits

Author SHA1 Message Date
Brecht Van Lommel
cd429bdb50 Fix #23985: crash in graph editor with objects without material. 2010-09-25 14:14:04 +00:00
Sergey Sharybin
9f6544b426 Fix #23983: Text editor does not update immediately when unlinking a text
- Unlinked text block was sending as reference to note which isn't safe at all
- Minor reorgonize of text space listener to use switches instead of big condition
2010-09-25 13:27:42 +00:00
Brecht Van Lommel
0d3f0ff08e Fix #23901: displace node not working with negative values. 2010-09-25 11:30:46 +00:00
Campbell Barton
d305a64b69 py/rna keyframe functions can now key longer paths if called from an ID block.
eg, bpy.context.object.keyframe_insert("soft_body.plastic")
2010-09-25 10:11:36 +00:00
Brecht Van Lommel
a3b0bda708 Fix related to #23606, tweak baking error message a bit so it also covers
the case where the image can't be loaded.
2010-09-25 08:31:58 +00:00
Campbell Barton
80f6ca9850 fix for own error with recent patch edits, globbing wasnt being cleared so importing an OBJ would keep *.obj when opening a blend. 2010-09-25 08:29:25 +00:00
Sergey Sharybin
468e48982b - Ignore selected handles if control point is selected when
snapping cursor to selection (fixes #23966: Cursor to selected: incorrect behaviour in curves)
- Keep handles' of selected vectors if control point is selected when
  snapping selection to grid/cursor
- Added definitions to hard-coded numeric flags for make_trans_verts
  and removed unused proportional flag
2010-09-25 06:45:28 +00:00
Janne Karhu
b57e09544a Fix for [#21875] Copy rotation only on y axies 2010-09-24 17:49:33 +00:00
Janne Karhu
3567eebcc2 Fix for [#23549] Copy rotation don't work if influence is another than 0 or 1
* Replaced constraint result interpolation with much simpler logic, hopefully this doesn't create any unseen complications :)
2010-09-24 17:47:28 +00:00
Campbell Barton
b0f4c3c883 bugfix [#23973] Make Single User -> Object & Data dont work as expected 2010-09-24 11:28:56 +00:00
Janne Karhu
46bcd48abf Changing loopcut count caused memory errors in some cases due to missing null check. 2010-09-24 10:49:29 +00:00
Campbell Barton
0ed109c550 missing check in recent commit 2010-09-24 10:39:26 +00:00
Janne Karhu
4a8c1e3a22 Fix for [#22289] Cancelling transform fails to revert change in f-curve handle type 2010-09-24 09:54:28 +00:00
Janne Karhu
df71f8828c Fix for [#22323] Graph Editor: crashe when transforming keys after pivot is set to "Individual Centers" 2010-09-24 09:18:28 +00:00
Janne Karhu
361bd506dc Fix for [#23970] Memory problem when setting hair amount to zero 2010-09-24 07:39:52 +00:00
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
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
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
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
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