Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
4cb4dc8432 remove assert recently added to EDBM_backbuf_check and explain odd logic. 2013-10-03 07:02:52 +00:00
Campbell Barton
f3e41046fe fix bug in ED_vgroup_subset_from_select_type, setting negative index in boolean array.
also was freeing NULL pointer in vgroup_blend_subset()
2013-10-03 07:01:32 +00:00
Campbell Barton
962c183471 add debug mode assert if mesh-data is removed while iterating over it. (can crash). 2013-10-03 06:12:44 +00:00
Campbell Barton
91e020eea9 fix [#36924] Calling .define(...) on Macro subclass crashes Blender, if subclass wasn't registered 2013-10-03 05:27:39 +00:00
Campbell Barton
5568b63087 console: shift pad-enter now clears the line too. 2013-10-03 04:31:41 +00:00
Campbell Barton
58fe3435b4 adjustments to sculpt cache scaling code, (float/double promotion) 2013-10-03 03:05:41 +00:00
Antony Riakiotakis
6ff35258c0 real fix for #36695, scale brush stroke with maximum scale component,
except layer brush where the previous algorithm is used.
2013-10-02 22:46:26 +00:00
Antony Riakiotakis
98ee7fdd9a Fix an own regression introduced in the dyntopo cleanup commits. Do not
remove a vertex from the pbvh if the only face it was part of was
removed from the pbvh. This should work but no time to investigate now
properly, and better have a solid release. The problem could be seen
when sculpting to open meshes. Some vertices and faces on the boundaries
would become stuck and unresponsive.
2013-10-02 22:18:23 +00:00
Antony Riakiotakis
8dcbc1060b Revert 60358, it made irregularly scaled objects behave incorrectly, checking out different approach here. 2013-10-02 22:18:14 +00:00
Brecht Van Lommel
a47e6810a2 Fixes for cycles Mapping and Vector Transform node:
* Keep the Mapping node default type as Point for now, instead of Texture. The
  latter is a better default, but this is breaking API compatibility and it's
  too close to release to expect addons to be fixed in time.

* Vector Transform and Mapping nodes had properties with name "type" to set the
  type of vector, but this conflicts with the node type property, so renamed to
  vector_type now.
2013-10-02 17:02:59 +00:00
Campbell Barton
ba01e5e3eb fix [#36919] Cannot delete keyframe of animated simulation parameter if simulation has been disabled 2013-10-02 16:37:47 +00:00
Campbell Barton
592443816d re-shuffle ifdef for osx to make it more clear 2013-10-02 16:13:24 +00:00
Jens Verwiebe
4bc998d0b3 OSX: readd ctrl-a for 'select all' in text(-boxes) against my own conviction for now - really to be discussed 2013-10-02 16:09:09 +00:00
Joshua Leung
8e70db78f4 Bugfix: All actions created when keyframing now have their "id-root" set appropriately
This means that it will no longer be possible to accidentally load a nodetree action in
the Action Editor (object-level actions only), resulting in F-Curves getting 
invalidated/disabled.
2013-10-02 12:14:50 +00:00
Campbell Barton
0959482acb fix [#36913] GHASH_FLAG_ALLOW_DUPES assert and crash in Edge Collapse 2013-10-02 04:12:06 +00:00
Campbell Barton
bab799bf25 fix regression - convex hull tool leaving new faces unselected. 2013-10-01 18:23:39 +00:00
Jens Verwiebe
b5fcc340b6 OSX/keys: change to OSX conform cmd-a for 'select-all' in text(-boxes) 2013-10-01 17:47:08 +00:00
Campbell Barton
4627f9d92c style edits and use macro for prefix check 2013-10-01 16:40:11 +00:00
Dalai Felinto
d2e55cb282 bugfix [#32346] Node animation, removing nodes keeps FCurves.
The same bug happens for modifiers, but better to address it separately.
Contribution and review by Lukas Toenne and Brecht van Lommel
2013-10-01 16:15:52 +00:00
Campbell Barton
1fa59cdf4d allow knife-project to use sub-pixel length edges. 2013-10-01 15:52:29 +00:00
Brecht Van Lommel
d310e060d2 Fix use of uninitialized variable in recent node tree changes. 2013-10-01 15:37:01 +00:00
Brecht Van Lommel
5806ffdfd9 Fix blender internal viewport render not using color management settings like
view, exposure, looks.
2013-10-01 15:34:43 +00:00
Antony Riakiotakis
4c6a6a8fe3 UV sculpting was missing curve initialization causing crashes. Reported
by Sebastian Koenig, thanks!
2013-10-01 15:04:58 +00:00
Campbell Barton
d8020f54ba change to ED_armature_bone_rename so theres never any duplicates dictionary items in 'ob->pose->chanhash'
this turned out to be harmless but it did make ghash assert() because the ghash isnt flagged to allow duplicates.
2013-10-01 13:33:43 +00:00
Campbell Barton
9883641f46 add assert for bone renaming, to check if the chanhash is still valid. 2013-10-01 13:28:59 +00:00
Campbell Barton
4c3d9e358b fix [#36906] AutoName operator do not update the display of the bone's name in the Bone Properties 2013-10-01 12:56:25 +00:00
Brecht Van Lommel
ffec71db84 Fix issues reported by coverity scan in recent changes to customdata code. 2013-10-01 12:48:41 +00:00
Campbell Barton
6c83806a00 fix [#36435] Crash on unwrap with specific mesh 2013-10-01 12:48:32 +00:00
Campbell Barton
d44b3f66ac make the manipulator work with curve handle selections with normal orientation and individual origins. 2013-10-01 12:37:17 +00:00
Campbell Barton
fd01e72877 check SELECT flags for curves (was checking for nonzero which would break if new files use this field for other flags) 2013-10-01 12:35:43 +00:00
Campbell Barton
9b3e3f3e31 fix for bug own recent commit [#36904] Snap to Volume is broken with Armature
this is infact an older bug which was exposed by the recent change.
for now only use the change in behavior for scale/rotation.
2013-10-01 12:11:10 +00:00
Campbell Barton
d370c7619f replace inline searches for BLI_findindex 2013-10-01 11:44:39 +00:00
Lukas Toenne
ff9f799d8b Yet another fix for node groups localization: The ntreeLocalMerge function can not be used to free localized node groups, because it is not commonly called to free the localized node trees. Instead these
data blocks are freed using the standard ntreeFreeTree function, so freeing localized node groups has to be done there. This means an ugly loop over G.main to detect localized groups, but should not be a
big problem in practice.
2013-10-01 09:29:56 +00:00
Sergey Sharybin
3073a5b1c4 Mark some CCG funcrions as inlined
This seems to be giving speedup up to 10% in own tests.

--
svn merge -r60104:60105 ^/branches/soc-2013-depsgraph_mt
2013-10-01 09:17:35 +00:00
Lukas Toenne
a4068d39de Fix for own commit r60468: All the localized node groups ended up in the main library ... This was because of the G.main check in ntreeCopyTree_internal, which determines whether a node tree gets put
into main or is an independent data block. This can now be controlled by passing an explicit Main pointer, so we can ensure localized node groups don't pollute main.
2013-10-01 08:55:38 +00:00
Campbell Barton
aecb76b93e fix bug with vector handles in the graph editor when transforming 2 selected points of a bezt, the unselected handle wouldn't have its value restored on transform cancel. 2013-10-01 08:30:46 +00:00
Campbell Barton
f1f7648d4c fix for error setting vector handles to free when both vector handles were selected but not the mid-point.
only one of the handles would be changed to the HD_FREE.

effected curves and fcurves.
2013-10-01 08:18:43 +00:00
Lukas Toenne
4cd7799364 Fix #36850, Material Node Editor Crash Always.
This problem was introduced with pynodes merge in r55373. It's caused by missing localization of node groups in shaders in cases where GLSL + node previews causes threading conflicts. I'm not quite sure why
we didn't do this before, but now all node groups also get localized recursively.
2013-10-01 08:18:16 +00:00
Campbell Barton
9550d05a1c fix [#36900] single spline handle can't be "scaled"
this works in the graph editor but didn't for curves, useful functionality to have.
2013-10-01 07:02:18 +00:00
Campbell Barton
86b28fc2fc addition to r60465, check for individual centers when positioning the manipulator 2013-10-01 05:39:41 +00:00
Campbell Barton
fe9a64ad6f curve transform: scale handles around their knot when using individual centers. 2013-10-01 05:17:57 +00:00
Campbell Barton
40dd2b27e7 add rna path callback for material slots but disable animation.
without this - the info space would report an invalid rna-path when showing the string to change a value.
2013-10-01 04:49:47 +00:00
Campbell Barton
92527b9264 remove assert for poly_find_ear(), added recently but its incorrect, also minor style edits. 2013-10-01 03:56:02 +00:00
Campbell Barton
6067fa682b de-duplicate report strings for freestyle error checks 2013-10-01 02:51:39 +00:00
Tamito Kajiyama
aaba317c76 Follow-up to r60433 (related to Bug #36878): additional checks for NULL line styles. 2013-09-30 23:02:29 +00:00
Thomas Dinges
e28bd0d302 * Change NA_EDITED notifier to NA_ADDED, as suggested by Sergey. (r60414 follow up) 2013-09-30 22:53:56 +00:00
Brecht Van Lommel
f94a14a318 Fix #36852: duplicate window crash on OS X, another case where it could crash
when changing the window state raises an event, and the window isn't fully
initialized yet.
2013-09-30 22:07:14 +00:00
Gaia Clary
52e12dca6a Added new file that contains the sha1 hash key of the currently to be used OpenCollada libraries 2013-09-30 21:11:20 +00:00
Bastien Montagne
ab31941874 Fix [#36422] Trimmed audio files (hard cut only) in a metastrip have their trim removed
Meta sound update (seq_update_sound_bounds_recursive_rec) was not taking into account hard trim (anim_startofs) when setting sound's start, while default sound strip update (sound_move_scene_sound_defaults) did... This could use some refactor, though, with a single func used in both cases, to avoid such issue.

Also added soft trim to sound panel, only hard one was available.
2013-09-30 20:53:53 +00:00
Bastien Montagne
3ccb370d38 Usual UI messages fixes... 2013-09-30 19:30:56 +00:00