7 years agofix [#36923] Merge / Delete vertices crashes for some meshes
Campbell Barton [Thu, 3 Oct 2013 07:06:56 +0000 (07:06 +0000)]
fix [#36923] Merge / Delete vertices crashes for some meshes

add BM_ITER_MESH_MUTABLE which steps before entering the for() loop body and prevents the assert from complaining about removing mesh data while iterating as well as the crash.

this was done in quite a few areas, more may turn up.

7 years agoremove assert recently added to EDBM_backbuf_check and explain odd logic.
Campbell Barton [Thu, 3 Oct 2013 07:02:52 +0000 (07:02 +0000)]
remove assert recently added to EDBM_backbuf_check and explain odd logic.

7 years agofix bug in ED_vgroup_subset_from_select_type, setting negative index in boolean array.
Campbell Barton [Thu, 3 Oct 2013 07:01:32 +0000 (07:01 +0000)]
fix bug in ED_vgroup_subset_from_select_type, setting negative index in boolean array.
also was freeing NULL pointer in vgroup_blend_subset()

7 years agoadd debug mode assert if mesh-data is removed while iterating over it. (can crash).
Campbell Barton [Thu, 3 Oct 2013 06:12:44 +0000 (06:12 +0000)]
add debug mode assert if mesh-data is removed while iterating over it. (can crash).

7 years agofix [#36924] Calling .define(...) on Macro subclass crashes Blender, if subclass...
Campbell Barton [Thu, 3 Oct 2013 05:27:39 +0000 (05:27 +0000)]
fix [#36924] Calling .define(...) on Macro subclass crashes Blender, if subclass wasn't registered

7 years agoconsole: shift pad-enter now clears the line too.
Campbell Barton [Thu, 3 Oct 2013 04:31:41 +0000 (04:31 +0000)]
console: shift pad-enter now clears the line too.

7 years agoadjustments to sculpt cache scaling code, (float/double promotion)
Campbell Barton [Thu, 3 Oct 2013 03:05:41 +0000 (03:05 +0000)]
adjustments to sculpt cache scaling code, (float/double promotion)

7 years agoreal fix for #36695, scale brush stroke with maximum scale component,
Antony Riakiotakis [Wed, 2 Oct 2013 22:46:26 +0000 (22:46 +0000)]
real fix for #36695, scale brush stroke with maximum scale component,
except layer brush where the previous algorithm is used.

7 years agoFix an own regression introduced in the dyntopo cleanup commits. Do not
Antony Riakiotakis [Wed, 2 Oct 2013 22:18:23 +0000 (22:18 +0000)]
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.

7 years agoRevert 60358, it made irregularly scaled objects behave incorrectly, checking out...
Antony Riakiotakis [Wed, 2 Oct 2013 22:18:14 +0000 (22:18 +0000)]
Revert 60358, it made irregularly scaled objects behave incorrectly, checking out different approach here.

7 years agoOSX/GHOST: fix own issue in 60510, should now (hopefully) cover all multiple window...
Jens Verwiebe [Wed, 2 Oct 2013 19:54:24 +0000 (19:54 +0000)]
OSX/GHOST: fix own issue in 60510, should now (hopefully) cover all multiple window combinations

7 years agoFix #36316: dots in cycles render on certain CPUs with 32 bit linux builds.
Brecht Van Lommel [Wed, 2 Oct 2013 19:00:16 +0000 (19:00 +0000)]
Fix #36316: dots in cycles render on certain CPUs with 32 bit linux builds.
There is some sort of problem with the SSE2 code path, but I couldn't find
the cause, maybe a compiler bug due to the large amount of inlining? For
now I've disabled SSE2 optimizatons in 32 bit GCC builds.

7 years agoOSX/GHOST: refine #60409 and better take multiple windows into account
Jens Verwiebe [Wed, 2 Oct 2013 18:49:32 +0000 (18:49 +0000)]
OSX/GHOST: refine #60409 and better take multiple windows into account

7 years agoFixes for cycles Mapping and Vector Transform node:
Brecht Van Lommel [Wed, 2 Oct 2013 17:02:59 +0000 (17:02 +0000)]
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.

7 years agofix [#36919] Cannot delete keyframe of animated simulation parameter if simulation...
Campbell Barton [Wed, 2 Oct 2013 16:37:47 +0000 (16:37 +0000)]
fix [#36919] Cannot delete keyframe of animated simulation parameter if simulation has been disabled

7 years agore-shuffle ifdef for osx to make it more clear
Campbell Barton [Wed, 2 Oct 2013 16:13:24 +0000 (16:13 +0000)]
re-shuffle ifdef for osx to make it more clear

7 years agoOSX: readd ctrl-a for 'select all' in text(-boxes) against my own conviction for...
Jens Verwiebe [Wed, 2 Oct 2013 16:09:09 +0000 (16:09 +0000)]
OSX: readd ctrl-a for 'select all' in text(-boxes) against my own conviction for now - really to be discussed

7 years agoFix cycles OpenCL compile error on AMD, and fix assert in debug builds.
Brecht Van Lommel [Wed, 2 Oct 2013 14:41:04 +0000 (14:41 +0000)]
Fix cycles OpenCL compile error on AMD, and fix assert in debug builds.

7 years agoBugfix: All actions created when keyframing now have their "id-root" set appropriately
Joshua Leung [Wed, 2 Oct 2013 12:14:50 +0000 (12:14 +0000)]
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

7 years agolibmv: fix matrix address being printed instead of actual values
Sergey Sharybin [Wed, 2 Oct 2013 10:18:43 +0000 (10:18 +0000)]
libmv: fix matrix address being printed instead of actual values

7 years agofix [#36913] GHASH_FLAG_ALLOW_DUPES assert and crash in Edge Collapse
Campbell Barton [Wed, 2 Oct 2013 04:12:06 +0000 (04:12 +0000)]
fix [#36913] GHASH_FLAG_ALLOW_DUPES assert and crash in Edge Collapse

7 years agofix regression - convex hull tool leaving new faces unselected.
Campbell Barton [Tue, 1 Oct 2013 18:23:39 +0000 (18:23 +0000)]
fix regression - convex hull tool leaving new faces unselected.

7 years agoOSX/keys: change to OSX conform cmd-a for 'select-all' in text(-boxes)
Jens Verwiebe [Tue, 1 Oct 2013 17:47:08 +0000 (17:47 +0000)]
OSX/keys: change to OSX conform cmd-a for 'select-all' in text(-boxes)

7 years agostyle edits and use macro for prefix check
Campbell Barton [Tue, 1 Oct 2013 16:40:11 +0000 (16:40 +0000)]
style edits and use macro for prefix check

7 years agobugfix [#32346] Node animation, removing nodes keeps FCurves.
Dalai Felinto [Tue, 1 Oct 2013 16:15:52 +0000 (16:15 +0000)]
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

7 years agoallow knife-project to use sub-pixel length edges.
Campbell Barton [Tue, 1 Oct 2013 15:52:29 +0000 (15:52 +0000)]
allow knife-project to use sub-pixel length edges.

7 years agoFix use of uninitialized variable in recent node tree changes.
Brecht Van Lommel [Tue, 1 Oct 2013 15:37:01 +0000 (15:37 +0000)]
Fix use of uninitialized variable in recent node tree changes.

7 years agoFix blender internal viewport render not using color management settings like
Brecht Van Lommel [Tue, 1 Oct 2013 15:34:43 +0000 (15:34 +0000)]
Fix blender internal viewport render not using color management settings like
view, exposure, looks.

7 years agoUV sculpting was missing curve initialization causing crashes. Reported
Antony Riakiotakis [Tue, 1 Oct 2013 15:04:58 +0000 (15:04 +0000)]
UV sculpting was missing curve initialization causing crashes. Reported
by Sebastian Koenig, thanks!

7 years agoOptimization for recent changes in keyframe selection
Sergey Sharybin [Tue, 1 Oct 2013 14:55:34 +0000 (14:55 +0000)]
Optimization for recent changes in keyframe selection

7 years agochange to ED_armature_bone_rename so theres never any duplicates dictionary items...
Campbell Barton [Tue, 1 Oct 2013 13:33:43 +0000 (13:33 +0000)]
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.

7 years agoadd assert for bone renaming, to check if the chanhash is still valid.
Campbell Barton [Tue, 1 Oct 2013 13:28:59 +0000 (13:28 +0000)]
add assert for bone renaming, to check if the chanhash is still valid.

7 years agofix [#36906] AutoName operator do not update the display of the bone's name in the...
Campbell Barton [Tue, 1 Oct 2013 12:56:25 +0000 (12:56 +0000)]
fix [#36906] AutoName operator do not update the display of the bone's name in the Bone Properties

7 years agoFix issues reported by coverity scan in recent changes to customdata code.
Brecht Van Lommel [Tue, 1 Oct 2013 12:48:41 +0000 (12:48 +0000)]
Fix issues reported by coverity scan in recent changes to customdata code.

7 years agofix [#36435] Crash on unwrap with specific mesh
Campbell Barton [Tue, 1 Oct 2013 12:48:32 +0000 (12:48 +0000)]
fix [#36435] Crash on unwrap with specific mesh

7 years agomake the manipulator work with curve handle selections with normal orientation and...
Campbell Barton [Tue, 1 Oct 2013 12:37:17 +0000 (12:37 +0000)]
make the manipulator work with curve handle selections with normal orientation and individual origins.

7 years agocheck SELECT flags for curves (was checking for nonzero which would break if new...
Campbell Barton [Tue, 1 Oct 2013 12:35:43 +0000 (12:35 +0000)]
check SELECT flags for curves (was checking for nonzero which would break if new files use this field for other flags)

7 years agofix for bug own recent commit [#36904] Snap to Volume is broken with Armature
Campbell Barton [Tue, 1 Oct 2013 12:11:10 +0000 (12:11 +0000)]
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.

7 years agoreplace inline searches for BLI_findindex
Campbell Barton [Tue, 1 Oct 2013 11:44:39 +0000 (11:44 +0000)]
replace inline searches for BLI_findindex

7 years agoFix issues according to codereview page
Sergey Sharybin [Tue, 1 Oct 2013 11:15:24 +0000 (11:15 +0000)]
Fix issues according to codereview page

Mainly just a comment cleanups.

7 years agoYet another fix for node groups localization: The ntreeLocalMerge function can not...
Lukas Toenne [Tue, 1 Oct 2013 09:29:56 +0000 (09:29 +0000)]
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.

7 years agoMark some CCG funcrions as inlined
Sergey Sharybin [Tue, 1 Oct 2013 09:17:35 +0000 (09:17 +0000)]
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

7 years agoFix for own commit r60468: All the localized node groups ended up in the main library...
Lukas Toenne [Tue, 1 Oct 2013 08:55:38 +0000 (08:55 +0000)]
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.

7 years agofix bug with vector handles in the graph editor when transforming 2 selected points...
Campbell Barton [Tue, 1 Oct 2013 08:30:46 +0000 (08:30 +0000)]
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.

7 years agofix for error setting vector handles to free when both vector handles were selected...
Campbell Barton [Tue, 1 Oct 2013 08:18:43 +0000 (08:18 +0000)]
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.

7 years agoFix #36850, Material Node Editor Crash Always.
Lukas Toenne [Tue, 1 Oct 2013 08:18:16 +0000 (08:18 +0000)]
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.

7 years agofix [#36900] single spline handle can't be "scaled"
Campbell Barton [Tue, 1 Oct 2013 07:02:18 +0000 (07:02 +0000)]
fix [#36900] single spline handle can't be "scaled"

this works in the graph editor but didn't for curves, useful functionality to have.

7 years agoaddition to r60465, check for individual centers when positioning the manipulator
Campbell Barton [Tue, 1 Oct 2013 05:39:41 +0000 (05:39 +0000)]
addition to r60465, check for individual centers when positioning the manipulator

7 years agocurve transform: scale handles around their knot when using individual centers.
Campbell Barton [Tue, 1 Oct 2013 05:17:57 +0000 (05:17 +0000)]
curve transform: scale handles around their knot when using individual centers.

7 years agoadd rna path callback for material slots but disable animation.
Campbell Barton [Tue, 1 Oct 2013 04:49:47 +0000 (04:49 +0000)]
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.

7 years agoremove assert for poly_find_ear(), added recently but its incorrect, also minor style...
Campbell Barton [Tue, 1 Oct 2013 03:56:02 +0000 (03:56 +0000)]
remove assert for poly_find_ear(), added recently but its incorrect, also minor style edits.

7 years agode-duplicate report strings for freestyle error checks
Campbell Barton [Tue, 1 Oct 2013 02:51:39 +0000 (02:51 +0000)]
de-duplicate report strings for freestyle error checks

7 years agoFollow-up to r60433 (related to Bug #36878): additional checks for NULL line styles.
Tamito Kajiyama [Mon, 30 Sep 2013 23:02:29 +0000 (23:02 +0000)]
Follow-up to r60433 (related to Bug #36878): additional checks for NULL line styles.

7 years ago* Change NA_EDITED notifier to NA_ADDED, as suggested by Sergey. (r60414 follow up)
Thomas Dinges [Mon, 30 Sep 2013 22:53:56 +0000 (22:53 +0000)]
* Change NA_EDITED notifier to NA_ADDED, as suggested by Sergey. (r60414 follow up)

7 years agoFix #36894: maya keymap delete/backspace would immediately delete a mesh element,
Brecht Van Lommel [Mon, 30 Sep 2013 22:12:47 +0000 (22:12 +0000)]
Fix #36894: maya keymap delete/backspace would immediately delete a mesh element,
now it pops up the menu with delete options and dissolve so that there is a quick
key shortcut for those too.

7 years agoFix #36852: duplicate window crash on OS X, another case where it could crash
Brecht Van Lommel [Mon, 30 Sep 2013 22:07:14 +0000 (22:07 +0000)]
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.

7 years agoAdded new file that contains the sha1 hash key of the currently to be used OpenCollad...
Gaia Clary [Mon, 30 Sep 2013 21:11:20 +0000 (21:11 +0000)]
Added new file that contains the sha1 hash key of the currently to be used OpenCollada libraries

7 years agoFix [#36422] Trimmed audio files (hard cut only) in a metastrip have their trim removed
Bastien Montagne [Mon, 30 Sep 2013 20:53:53 +0000 (20:53 +0000)]
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.

7 years agoFix #36891: on OS X, cmd+s or cmd+o did not work when pressing them over the
Brecht Van Lommel [Mon, 30 Sep 2013 19:58:56 +0000 (19:58 +0000)]
Fix #36891: on OS X, cmd+s or cmd+o did not work when pressing them over the
text editor.

7 years agoUsual UI messages fixes...
Bastien Montagne [Mon, 30 Sep 2013 19:30:56 +0000 (19:30 +0000)]
Usual UI messages fixes...

7 years agoFix #36892: crash running "Sample Color" operator from 3D viewport when the
Brecht Van Lommel [Mon, 30 Sep 2013 17:54:35 +0000 (17:54 +0000)]
Fix #36892: crash running "Sample Color" operator from 3D viewport when the
sequencer contained any data. The sequence color sample operator was available
here when it shouldn't be.

7 years agoFix "Sample Color" not working in vertex paint mode.
Irie Shinsuke [Mon, 30 Sep 2013 16:18:56 +0000 (16:18 +0000)]
Fix "Sample Color" not working in vertex paint mode.

The issue was discussed at forum:

7 years agoFix #36884: blender spotlamp halo render was incorrectly showing light on the
Brecht Van Lommel [Mon, 30 Sep 2013 15:27:45 +0000 (15:27 +0000)]
Fix #36884: blender spotlamp halo render was incorrectly showing light on the
backside of objects, after bugfix in revision 56145.

It now still always renders one step, but step size is clamped to fit within
the halo volume.

7 years agochanging shortcut to toggle Properties in text editor (ctrl+t)
Dalai Felinto [Mon, 30 Sep 2013 14:33:18 +0000 (14:33 +0000)]
changing shortcut to toggle Properties in text editor (ctrl+t)

7 years agoworkaround for [#36314], ensure all id-properties are groups on load (which are expec...
Campbell Barton [Mon, 30 Sep 2013 13:44:16 +0000 (13:44 +0000)]
workaround for [#36314], ensure all id-properties are groups on load (which are expected to be groups).

7 years agoFix #36882: cycles gamma node not working with glsl materials.
Brecht Van Lommel [Mon, 30 Sep 2013 12:11:27 +0000 (12:11 +0000)]
Fix #36882: cycles gamma node not working with glsl materials.

7 years agoFix #36873: cycles opencl render status show negative sample count.
Brecht Van Lommel [Mon, 30 Sep 2013 12:11:25 +0000 (12:11 +0000)]
Fix #36873: cycles opencl render status show negative sample count.

7 years agoadd asserts for id property functions (ensure invalid types aren't passed)
Campbell Barton [Mon, 30 Sep 2013 11:27:03 +0000 (11:27 +0000)]
add asserts for id property functions (ensure invalid types aren't passed)

7 years agoFix [#36846] Adding a cloth sim to an object does not make it possible to go into...
Bastien Montagne [Mon, 30 Sep 2013 10:20:54 +0000 (10:20 +0000)]
Fix [#36846] Adding a cloth sim to an object does not make it possible to go into Particle Mode for that object.

Softbody/cloth were not checked when building available modes enum.

7 years agofix [#36835] Removing an addon has strange behavior
Campbell Barton [Mon, 30 Sep 2013 10:02:34 +0000 (10:02 +0000)]
fix [#36835] Removing an addon has strange behavior

7 years agoFix #36853, Undo not working for Particles Hair - Free Edit.
Lukas Toenne [Mon, 30 Sep 2013 09:51:25 +0000 (09:51 +0000)]
Fix #36853, Undo not working for Particles Hair - Free Edit.
Resetting the particle system without losing edit undo is not so easy. Just added a confirm message for now to warn user about loss of particle edit undo.

7 years agoFix for plane track jittering
Sergey Sharybin [Mon, 30 Sep 2013 09:35:04 +0000 (09:35 +0000)]
Fix for plane track jittering

Jittering was caused by homography not being estimated
accurate enough.

Before this, only algebraic estimation was used, which
is indeed not so much great, Now use algebraic estimation
followed with refinement step using Ceres minimizer.

The code was already there since keyframe selection patch,
made such estimation a generic function in multiview/ and
changed API for estimation in order to pass all additional
options via an options structure (the same way as it's
done fr Ceres).

This includes changes to both homography and fundamental

- Need to document Ceres functors better.
- Need to support homogeneous coordinates (currently
  only euclidean coords are supported).

7 years agofix for building with some configurations
Campbell Barton [Mon, 30 Sep 2013 09:34:13 +0000 (09:34 +0000)]
fix for building with some configurations

7 years agomore fixes relating to [#36878], freestyle was only checking for NULL linestyles...
Campbell Barton [Mon, 30 Sep 2013 09:28:43 +0000 (09:28 +0000)]
more fixes relating to [#36878], freestyle was only checking for NULL linestyles in some places.

7 years agorevert r36440, own commit, no longer needed because of changes to the keymap.
Campbell Barton [Mon, 30 Sep 2013 09:04:17 +0000 (09:04 +0000)]
revert r36440, own commit, no longer needed because of changes to the keymap.
resolves [#36860] sampling color in face select mask

7 years agofix regression [#36878], missing NULL checks for linestyle.
Campbell Barton [Mon, 30 Sep 2013 08:43:22 +0000 (08:43 +0000)]
fix regression [#36878], missing NULL checks for linestyle.

7 years agofix [#36842] OpenGL Animation Playblast renders 1 too many frames
Campbell Barton [Mon, 30 Sep 2013 08:21:12 +0000 (08:21 +0000)]
fix [#36842] OpenGL Animation Playblast renders 1 too many frames

7 years agofix [#36861] In face select masking circle select selects all when out of focus.
Campbell Barton [Mon, 30 Sep 2013 07:58:38 +0000 (07:58 +0000)]
fix [#36861] In face select masking circle select selects all when out of focus.

7 years agolots of operator descriptions were incorrectly copy/pasted.
Campbell Barton [Mon, 30 Sep 2013 05:50:41 +0000 (05:50 +0000)]
lots of operator descriptions were incorrectly copy/pasted.

update some descriptions, others were removed and operators tagged as internal.

add a script to detect duplicate operator descriptions.

7 years agoFix [#36863] OSL clamp, min and max functions have wrong signature when arguments...
Thomas Dinges [Sun, 29 Sep 2013 23:24:45 +0000 (23:24 +0000)]
Fix [#36863] OSL clamp, min and max functions have wrong signature when arguments are integers
* This was fixed in OSL 1.3.2, but we used an outdated stdosl.h.

7 years agoFix [#36859] Grease Pencil - doesn't create frame if frame_number <= 0
Bastien Montagne [Sun, 29 Sep 2013 18:12:07 +0000 (18:12 +0000)]
Fix [#36859] Grease Pencil - doesn't create frame if frame_number <= 0

Related to [#36831] (r60412), RNA was still forbidding negative frame numbers...

7 years agoFollowup to r60416, we need to get cdlayers from bmesh everywhere! sorry...
Bastien Montagne [Sun, 29 Sep 2013 15:09:48 +0000 (15:09 +0000)]
Followup to r60416, we need to get cdlayers from bmesh everywhere! sorry...

7 years agoFix broken example, reported by Codemanx on IRC, thanks.
Bastien Montagne [Sun, 29 Sep 2013 14:57:47 +0000 (14:57 +0000)]
Fix broken example, reported by Codemanx on IRC, thanks.

7 years agoFix [#36847] If Force Field in Ridgid Body group, crash at first frame of animation...
Bastien Montagne [Sun, 29 Sep 2013 13:38:56 +0000 (13:38 +0000)]
Fix [#36847] If Force Field in Ridgid Body group, crash at first frame of animation on playback

Not all objects in RB group actually have a "rigid body object", needs to be checked.

7 years agoFix [#36830] 'Reset to Default Value' on Current Area Type button causes crash
Bastien Montagne [Sun, 29 Sep 2013 13:25:42 +0000 (13:25 +0000)]
Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crash

Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.

7 years agoname cocoa functions in keeping with convention with similar functions for other...
Campbell Barton [Sun, 29 Sep 2013 13:14:09 +0000 (13:14 +0000)]
name cocoa functions in keeping with convention with similar functions for other ghost classes.

7 years agoOSX: more descriptive comment
Jens Verwiebe [Sun, 29 Sep 2013 10:11:49 +0000 (10:11 +0000)]
OSX: more descriptive  comment

7 years agoOSX: cleanup for 60409, let m_window protected and use rather a public function for...
Jens Verwiebe [Sun, 29 Sep 2013 10:00:34 +0000 (10:00 +0000)]
OSX: cleanup for 60409, let m_window protected and use rather a public function for getting it public

7 years agoFix [#36841] UV-Maps cannot be renamed in EditMode
Bastien Montagne [Sun, 29 Sep 2013 06:47:07 +0000 (06:47 +0000)]
Fix [#36841] UV-Maps cannot be renamed in EditMode

Own error in r60260, in edit mode we need to use bmesh's cdata!

7 years agominor edit on r60413, convert to a bool.
Campbell Barton [Sun, 29 Sep 2013 02:07:48 +0000 (02:07 +0000)]
minor edit on r60413, convert to a bool.

7 years agoFix [#36845] New generated blank image doesn't update preview (properties editor)
Thomas Dinges [Sat, 28 Sep 2013 20:04:49 +0000 (20:04 +0000)]
Fix [#36845] New generated blank image doesn't update preview (properties editor)

* IMAGE_OT_NEW did not had a notifier yet for some weird reason.

7 years agoProperties Editor / UI:
Thomas Dinges [Sat, 28 Sep 2013 19:56:08 +0000 (19:56 +0000)]
Properties Editor / UI:
* Fix a py error in the "Image Sampling" panel, tex.image can be NULL.

7 years agoFix [#36831] Grease Pencil dont create a drawing in current frame less than 1
Bastien Montagne [Sat, 28 Sep 2013 19:28:41 +0000 (19:28 +0000)]
Fix [#36831] Grease Pencil dont create a drawing in current frame less than 1

Only forbid negframes when user has not allowed them in whole Blender (userpref, editing). Else, it's more than annoying to not be able to draw negframed gpencil.

7 years agoOSX/Scons/OMP: 1. Allow for compile with gnu gcc 4.8.1, 2. fix compiling with sdk...
Jens Verwiebe [Sat, 28 Sep 2013 18:42:14 +0000 (18:42 +0000)]
OSX/Scons/OMP: 1. Allow for compile with gnu gcc 4.8.1, 2. fix compiling with sdk > 10.7 by using libgomp dynamic, which includes proper errorhandling vs. static. Before xtra linking to system libstdc++.6.dylib was needed, which then caused incompatibilities

7 years agoOSX: make sure closing the mainwindow forewards to the quitdialog - todo: check if...
Jens Verwiebe [Sat, 28 Sep 2013 17:55:22 +0000 (17:55 +0000)]
OSX: make sure closing the mainwindow forewards to the quitdialog - todo: check if m_window now public is a problem

7 years agoadd PoseBone.children convenience attribute.
Campbell Barton [Sat, 28 Sep 2013 12:05:59 +0000 (12:05 +0000)]
add PoseBone.children convenience attribute.

7 years agoFix [#36827] 2.69 bug with smoke domain, particle emitter and a force field causes...
Bastien Montagne [Sat, 28 Sep 2013 05:06:02 +0000 (05:06 +0000)]
Fix [#36827] 2.69 bug with smoke domain, particle emitter and a force field causes a crash

fuel array might be null!

7 years agoFix #36826: make screencast with quicktime output gave black flickering areas.
Brecht Van Lommel [Fri, 27 Sep 2013 20:29:07 +0000 (20:29 +0000)]
Fix #36826: make screencast with quicktime output gave black flickering areas.
Problem was OpenGL buffer alpha channel, it's not used in most places and so
not set to any meaningful value while drawing.

7 years agoFix build error when building without OpenMP.
Brecht Van Lommel [Fri, 27 Sep 2013 19:44:06 +0000 (19:44 +0000)]
Fix build error when building without OpenMP.

7 years agoFix #35684: cycles unable to use full 6GB of memory on NVidia Titan GPU. We now
Brecht Van Lommel [Fri, 27 Sep 2013 19:09:31 +0000 (19:09 +0000)]
Fix #35684: cycles unable to use full 6GB of memory on NVidia Titan GPU. We now
use arrays instead of textures for general storage on this card (image textures
are still stored as texture). Textures were found to be faster on older cards,
but the limits on 1D texture size have not increased along with the memory size,
which meant that the full 6 GB could not be used.

The performance actually seems to be slightly better with arrays in some tests
on Titan. For older cards there seems to be a bit of a mix, some are better and
others not. We may change those to use arrays too, but more testing is needed,
only Titan and Tesla K20 (sm_35) is changed for now.

The fact that arrays are faster is a bit surprising, as others found textures
to be faster on Kepler. However even if they were, the memory limitation is
more important to solve anyway.