8 years agoUnparenting objects from armatures/curves/lattices now removes the corresponding
Joshua Leung [Mon, 15 Oct 2012 03:00:27 +0000 (03:00 +0000)]
Unparenting objects from armatures/curves/lattices now removes the corresponding
modifiers now

This makes it harder for users to unwittingly create multiple deform modifiers
by parenting and unparenting a number of times, with the net result being that
"Clear Parent" is now the true inverse operation of "Make Parent".

8 years agocode cleanup: check for msvc directly when using warning pragma's.
Campbell Barton [Mon, 15 Oct 2012 02:15:07 +0000 (02:15 +0000)]
code cleanup: check for msvc directly when using warning pragma's.

8 years agoStreamlinining Bone Groups menu (Ctrl G)
Joshua Leung [Mon, 15 Oct 2012 02:01:39 +0000 (02:01 +0000)]
Streamlinining Bone Groups menu (Ctrl G)

The Ctrl-G menu for managing Bone Groups has always been a bit clunky,
especially when compared to the Hooks menu (Ctrl-H). This was because the old
menu was more data-orientated (Bone Group Management, Membership to these
groups) whereas this new arrangement should be a bit more task-orientated (Add
to new group, Add to active group, Remove from all groups, Remove active group).

8 years agofix for py-console ctrl+backspace/del changing the selection.
Campbell Barton [Sun, 14 Oct 2012 21:27:08 +0000 (21:27 +0000)]
fix for py-console ctrl+backspace/del changing the selection.

8 years agoFix for misplaced cursor in wrapped console prompt, also fixes newline for single...
Sv. Lockal [Sun, 14 Oct 2012 19:57:49 +0000 (19:57 +0000)]
Fix for misplaced cursor in wrapped console prompt, also fixes newline for single wrap when input line width equals console width

8 years agoAdding Estonian new language.
Bastien Montagne [Sun, 14 Oct 2012 19:38:27 +0000 (19:38 +0000)]
Adding Estonian new language.

8 years agoMore UI messages and BKE_reportf->BKE_report fixes...
Bastien Montagne [Sun, 14 Oct 2012 15:29:09 +0000 (15:29 +0000)]
More UI messages and BKE_reportf->BKE_report fixes...

8 years agoFew minor fixes to i18n tools (mostly use ordered dicts too for "xgettexted" messages...
Bastien Montagne [Sun, 14 Oct 2012 14:18:30 +0000 (14:18 +0000)]
Few minor fixes to i18n tools (mostly use ordered dicts too for "xgettexted" messages...).

8 years agocorrect another misuse of FLT_MIN
Campbell Barton [Sun, 14 Oct 2012 13:21:40 +0000 (13:21 +0000)]
correct another misuse of FLT_MIN

8 years agofix for incorrect initial boundbox with svbvh raytracing. (bad use of FLT_MIN)
Campbell Barton [Sun, 14 Oct 2012 13:18:32 +0000 (13:18 +0000)]
fix for incorrect initial boundbox with svbvh raytracing. (bad use of FLT_MIN)

8 years agostyle cleanup
Campbell Barton [Sun, 14 Oct 2012 13:08:19 +0000 (13:08 +0000)]
style cleanup

8 years agocode cleanup: remove redundant casts
Campbell Barton [Sun, 14 Oct 2012 08:49:01 +0000 (08:49 +0000)]
code cleanup: remove redundant casts

8 years agocode cleanup: remove redundant casts. quiet some qualifier warnings.
Campbell Barton [Sun, 14 Oct 2012 07:40:16 +0000 (07:40 +0000)]
code cleanup: remove redundant casts. quiet some qualifier warnings.

8 years agoFixed missing display buffer and mipmaps invalidation in cases only
Sergey Sharybin [Sun, 14 Oct 2012 06:59:01 +0000 (06:59 +0000)]
Fixed missing display buffer and mipmaps invalidation in cases only
few of selected objects failed to bake.

8 years agoRip-fill mesh tool (option for rip operator)
Campbell Barton [Sun, 14 Oct 2012 04:42:11 +0000 (04:42 +0000)]
Rip-fill mesh tool (option for rip operator)

Alt+V will fill the area inbetween the ripped faces - a bit like extrude.
faces are flipped to match existing geometry and customdata (uv, vcols etc) is copied from surrounding geometry too.

8 years agoBlenderplayer: Fixing a crash on startup when the graphics driver tried to use uninit...
Mitchell Stokes [Sun, 14 Oct 2012 04:22:38 +0000 (04:22 +0000)]
Blenderplayer: Fixing a crash on startup when the graphics driver tried to use uninitialized memory. I had fixed this previously in Swiss, but it looks like I missed grabbing the fix when bringing the GetViewPort() changes into trunk.

8 years agofix for error compiling on some platforms: use ll suffix for 64bit ints in BLI_endian...
Campbell Barton [Sun, 14 Oct 2012 04:11:34 +0000 (04:11 +0000)]
fix for error compiling on some platforms: use ll suffix for 64bit ints in BLI_endian_switch_int64()

8 years agouse safer string copy functions and change the define for FILE_MAX_LIBEXTRA to use...
Campbell Barton [Sun, 14 Oct 2012 03:56:47 +0000 (03:56 +0000)]
use safer string copy functions and change the define for FILE_MAX_LIBEXTRA to use MAX_ID_NAME (now greater then 32).

8 years agoMinor: precision in template_list doc, that only one list is allowed per template...
Bastien Montagne [Sat, 13 Oct 2012 21:32:58 +0000 (21:32 +0000)]
Minor: precision in template_list doc, that only one list is allowed per template...

Note: I should really try to remove this stupid limitation!

8 years agoMake zoom direction consistent all over the editors
Sergey Sharybin [Sat, 13 Oct 2012 16:42:12 +0000 (16:42 +0000)]
Make zoom direction consistent all over the editors

Was discussed in De Balie with lots of artists and we agreed it makes more
sense to behave this way

8 years agoMore UI messages fixes.
Bastien Montagne [Sat, 13 Oct 2012 15:44:50 +0000 (15:44 +0000)]
More UI messages fixes.
Also forgot to translate reports' titles, and change some usages of BKE_reportf to simple BKE_report, when the former is not needed!

8 years agoAdd translation of reports messages (only direct uses of BKE_report(f)/BKE_reports_ap...
Bastien Montagne [Sat, 13 Oct 2012 13:55:14 +0000 (13:55 +0000)]
Add translation of reports messages (only direct uses of BKE_report(f)/BKE_reports_append(f) funcs for now). Already adds quite a bunch of new msgids!

8 years agoAnd more UI messages spell check.
Bastien Montagne [Sat, 13 Oct 2012 13:40:05 +0000 (13:40 +0000)]
And more UI messages spell check.

8 years agoCycles: progressive refine option
Sergey Sharybin [Sat, 13 Oct 2012 12:38:32 +0000 (12:38 +0000)]
Cycles: progressive refine option

Just makes progressive refine :)

This means the whole image would be refined gradually using as much
threads as it's set in performance settings. Having enough tiles is
required to have this option working as it's expected.

Technically it's implemented by repeatedly computing next sample for
all the tiles before switching to next sample.

This works around 7-12% slower than regular tile-based rendering, so
use this option only if you really need it.

This commit also fixes progressive update of image when Save Buffers
option is enabled.

And one more thing this commit fixes is handling display buffer with
Save Buffers option enabled. If this option is enabled image buffer
wouldn't have neither byte nor float buffer until image is fully
rendered which could backfire in missing image while rendering in
cases color management cache became full.

This issue solved by allocating byte buffer for image buffer from
tile update callback.

Patch was reviewed by Brecht. He also made some minor edits to
original version to patch. Thanks, man!

8 years agoFix for wrong cycles tangent in some cases, was missing transform.
Brecht Van Lommel [Sat, 13 Oct 2012 12:11:01 +0000 (12:11 +0000)]
Fix for wrong cycles tangent in some cases, was missing transform.

8 years agocode cleanup: minor edits on recent commit.
Campbell Barton [Sat, 13 Oct 2012 11:23:04 +0000 (11:23 +0000)]
code cleanup: minor edits on recent commit.

8 years agoMore spell check exceptions...
Bastien Montagne [Sat, 13 Oct 2012 11:08:00 +0000 (11:08 +0000)]
More spell check exceptions...

8 years agoLattice Editing: Distortion-Free "Flip" Operator
Joshua Leung [Sat, 13 Oct 2012 10:42:38 +0000 (10:42 +0000)]
Lattice Editing: Distortion-Free "Flip" Operator

This operator (Ctrl-F) allows you to flip the lattice coordinates without
inverting the normals of meshes deformed by the lattice (or the lattice's
deformation space for that matter). Unlike the traditional mirror tool, this
tool is aware of the fact that the vertex order for lattice control points
matters, and that simply mirroring the coordinates will only cause the lattice
to have an inverted deform along a particular axis (i.e. it will be scaling by a
negative scaling factor along that axis).

The problems (as I discovered the other day) with having such an inverted
deformation space are that:
- the normals of meshes/objects inside that will be incorrect/flipped (and will
disappear in GLSL shading mode for instance)
- transforming objects deformed by the lattices will become really tricky and
counter-intuitive (e.g. rotate in opposite direction by asymmetric amounts to
get desired result)
- it is not always immediately obvious that problems have occurred

Specific use cases this operator is meant to solve:
1) You've created a lattice-based deformer for one cartoonish eye. Now you want
to make the second eye, but want to save some time crafting that basic shape
again but mirrored.
2) You've got an even more finely crafted setup for stretchy-rigs, and now need
to apply it to other parts of the rig.

* I've implemented a separate operator for this vs extending/patching mirror
transform tool as it's easier to implement this way, but also because there are
still some cases where the old mirroring seems valid (i.e. you explicitly want
these sort of distortion effects).
* Currently this doesn't take selections into account, as it doesn't seem useful
to do so.

8 years agofix for own error, leaving in test code to set the smooth flag.
Campbell Barton [Sat, 13 Oct 2012 10:41:34 +0000 (10:41 +0000)]
fix for own error, leaving in test code to set the smooth flag.

8 years agoadded filter for user installed addons
Gaia Clary [Sat, 13 Oct 2012 10:33:09 +0000 (10:33 +0000)]
added filter for user installed addons

8 years agodifferenciate log message for enabled/disabled modules
Gaia Clary [Sat, 13 Oct 2012 10:31:35 +0000 (10:31 +0000)]
differenciate log message for enabled/disabled modules

8 years agoimprove edge rip when the edge has only 2 other connected edges.
Campbell Barton [Sat, 13 Oct 2012 03:59:06 +0000 (03:59 +0000)]
improve edge rip when the edge has only 2 other connected edges.

common case ripping an edge of the default cube, it didn't run the edge size check.

8 years agostyle cleanup: spelling
Campbell Barton [Sat, 13 Oct 2012 03:54:27 +0000 (03:54 +0000)]
style cleanup: spelling

8 years agoadd support for ripping off a single face from a single vertex when the vertex has...
Campbell Barton [Sat, 13 Oct 2012 01:46:57 +0000 (01:46 +0000)]
add support for ripping off a single face from a single vertex when the vertex has 3 surrounding verts & faces.

8 years agoBugfix [#32865] Usercounts for World Textures not decremented after preview
Joshua Leung [Sat, 13 Oct 2012 01:19:23 +0000 (01:19 +0000)]
Bugfix [#32865] Usercounts for World Textures not decremented after preview

When adjusting settings for world textures (with Both/World preview modes),
every tweak would result in the usercount of the texture increasing. As a
result, before long the texture would claim to have over 100 users. Fortunately,
this only appeared to be just a cosmetic issue (i.e. no real memory leak here),
though it was a bit unsettling.

NOTE: this is still a bit glitchy, as now we have flickering when updating
texture settings - the texture still temporarily has a second user during
preview rendering.

8 years ago* Fix small bug in Python operator example; improved example of modal operator
Jiri Hnidek [Fri, 12 Oct 2012 18:19:39 +0000 (18:19 +0000)]
* Fix small bug in Python operator example; improved example of modal operator

8 years agoTemplates:
Thomas Dinges [Fri, 12 Oct 2012 18:10:15 +0000 (18:10 +0000)]
* UI Panel: Add examples for different button sizes.

8 years agoquiet some -Wshadow warnings
Campbell Barton [Fri, 12 Oct 2012 14:35:10 +0000 (14:35 +0000)]
quiet some -Wshadow warnings

8 years agocode cleanup: video playback move frame step into the PlayState struct.
Campbell Barton [Fri, 12 Oct 2012 14:03:43 +0000 (14:03 +0000)]
code cleanup: video playback move frame step into the PlayState struct.

8 years agofix for own error in copy_as_script(), imports were incorrect.
Campbell Barton [Fri, 12 Oct 2012 04:00:41 +0000 (04:00 +0000)]
fix for own error in copy_as_script(), imports were incorrect.

8 years agooptimization for PyObject -> ID-property sequence conversion, use PySequence_Fast.
Campbell Barton [Fri, 12 Oct 2012 03:59:50 +0000 (03:59 +0000)]
optimization for PyObject -> ID-property sequence conversion, use PySequence_Fast.

8 years agoquiet clang static checker warning by returning an error for invalid situation gettin...
Campbell Barton [Fri, 12 Oct 2012 03:24:47 +0000 (03:24 +0000)]
quiet clang static checker warning by returning an error for invalid situation getting an IDProp mapping from a PyObject.

also print the path installed to when installing an addon.

8 years agoremove BLI_noise from BLI_blenlib.h, not that many files need this.
Campbell Barton [Fri, 12 Oct 2012 00:18:32 +0000 (00:18 +0000)]
remove BLI_noise from BLI_blenlib.h, not that many files need this.

8 years agofix for many RNA definitions having soft/hard ranges swapped, make this BLI_assert...
Campbell Barton [Thu, 11 Oct 2012 23:46:12 +0000 (23:46 +0000)]
fix for many RNA definitions having soft/hard ranges swapped, make this BLI_assert() on debug builds.

8 years agoget the width and height of the font at once when drawing auto-key,
Campbell Barton [Thu, 11 Oct 2012 23:42:26 +0000 (23:42 +0000)]
get the width and height of the font at once when drawing auto-key,
also move BLF'g global font init into its own static function.

8 years agoRevert part of own r51193 (now I know where Courant comes from...), and add another...
Bastien Montagne [Thu, 11 Oct 2012 18:41:07 +0000 (18:41 +0000)]
Revert part of own r51193 (now I know where Courant comes from...), and add another exception to UI messages spellchecker! Thanks to Lockal for pointing this.

8 years agoRemoved duplicate include of stdio.h
Joshua Leung [Thu, 11 Oct 2012 10:19:38 +0000 (10:19 +0000)]
Removed duplicate include of stdio.h

At least on mingw, this doesn't seem to be needed.

8 years agoOSX/cmake: after osl librenew with globals patch, forcing oiio is not longer needed
Jens Verwiebe [Thu, 11 Oct 2012 10:15:37 +0000 (10:15 +0000)]
OSX/cmake: after osl librenew with globals patch, forcing oiio is not longer needed

8 years agoAuto key warning - Stripping down to basics
Joshua Leung [Thu, 11 Oct 2012 09:53:17 +0000 (09:53 +0000)]
Auto key warning - Stripping down to basics

Now just a static icon + text display in corner of view. No blinking. No
red/orange text. No window borders.

8 years agoLimit Distance Constraint - jpbouza Feature Request
Joshua Leung [Thu, 11 Oct 2012 08:26:49 +0000 (08:26 +0000)]
Limit Distance Constraint - jpbouza Feature Request

The Limit Distance constraint is now allowed to use the owner/target space
settings. Previously this wasn't exposed it didn't seem sensible/useful.
However, this can be useful when dealing with dependencies between bones and the
armature gets scaled.

Usage notes:
- It is advised to select the same space for both owner and target, otherwise
the comparisons are meaningless

8 years agostyle cleanup
Campbell Barton [Thu, 11 Oct 2012 03:25:19 +0000 (03:25 +0000)]
style cleanup

8 years agofix [#32829] Crash when making linked Mesh with UV Map local
Campbell Barton [Thu, 11 Oct 2012 00:56:34 +0000 (00:56 +0000)]
fix [#32829] Crash when making linked Mesh with UV Map local

8 years agostyle cleanup:
Campbell Barton [Wed, 10 Oct 2012 23:44:07 +0000 (23:44 +0000)]
style cleanup:

also add helper makefile targets:
* tbz - makes a tar.bz2 of an svn export
* test_style_qtc - outputs style checks in qtc task format.

8 years agoCycles: per-BSDF normal input and new Bump node.
Brecht Van Lommel [Wed, 10 Oct 2012 15:56:43 +0000 (15:56 +0000)]
Cycles: per-BSDF normal input and new Bump node.

Each BSDF node now has a Normal input, which can be used to set a custom normal
for the BSDF, for example if you want to have only bump on one of the layers in
a multilayer material.

The Bump node can be used to generate a normal from a scalar value, the same as
what happens when you connect a scalar value to the displacement output.

Documentation has been updated with the latest changes:

Patch by Agustin Benavidez, some implementation tweaks by me.

8 years agoquiet compiler warnings from recent merge.
Campbell Barton [Wed, 10 Oct 2012 14:28:47 +0000 (14:28 +0000)]
quiet compiler warnings from recent merge.

8 years agoCycles: make anistropic BSDF / tangent work without UV map, based on generated
Brecht Van Lommel [Wed, 10 Oct 2012 14:21:58 +0000 (14:21 +0000)]
Cycles: make anistropic BSDF / tangent work without UV map, based on generated
coordinates map to a sphere.

8 years agoworkaround for feedback loop when viewing-selected/all with a locked camera.
Campbell Barton [Wed, 10 Oct 2012 13:36:53 +0000 (13:36 +0000)]
workaround for feedback loop when viewing-selected/all with a locked camera.
the camera could try include its own boundbox in its view.

now just skip the camera if 'All Regions' and lock view option is enabled.

8 years agoGoogle Summer of Code project: "Smoke Simulator Improvements & Fire".
Daniel Genrich [Wed, 10 Oct 2012 13:18:07 +0000 (13:18 +0000)]
Google Summer of Code project: "Smoke Simulator Improvements & Fire".

Documentation & Test blend files:

Miika Hamalainen (MiikaH): Student / Main programmer

Daniel Genrich (Genscher): Mentor / Programmer of merged patches from Smoke2 branch
Google: For Google Summer of Code 2012

8 years agoCycles: Anisotropic BSDF enabled, with tangents now computed from the active UV map.
Brecht Van Lommel [Wed, 10 Oct 2012 13:02:20 +0000 (13:02 +0000)]
Cycles: Anisotropic BSDF enabled, with tangents now computed from the active UV map.
It's using the Ward BSDF currently, which has some energy loss so might be a bit
dark. More/better BSDF options can be implemented later.

Patch by Mike Farnsworth, some modifications by me. Currently it's not possible yet
to set a custom tangent, that will follow as part of per-bsdf normals patch.

8 years ago- Ctrl+NumpadDel is now view-selected (all regions), ... was view cursor.
Campbell Barton [Wed, 10 Oct 2012 12:54:36 +0000 (12:54 +0000)]
- Ctrl+NumpadDel is now view-selected (all regions), ... was view cursor.
- Ctrl+Home: is now view-all (all regions).

8 years agofix error changing the view with a lock-camera-to-view on and smooth-view disabled.
Campbell Barton [Wed, 10 Oct 2012 12:30:47 +0000 (12:30 +0000)]
fix error changing the view with a lock-camera-to-view on and smooth-view disabled.

8 years agoadd `All Regions` option to view_all (homekey), de-duplicate functions with view...
Campbell Barton [Wed, 10 Oct 2012 12:22:45 +0000 (12:22 +0000)]
add `All Regions` option to view_all (homekey), de-duplicate functions with view-selected.

8 years agocheck addons are enabled before disabling them (would cause python exceptions when...
Campbell Barton [Wed, 10 Oct 2012 11:37:38 +0000 (11:37 +0000)]
check addons are enabled before disabling them (would cause python exceptions when removing a disabled addon).

8 years agooption for view3d-selected to use all regions (nice for viewing selected in quad...
Campbell Barton [Wed, 10 Oct 2012 11:36:24 +0000 (11:36 +0000)]
option for view3d-selected to use all regions (nice for viewing selected in quad-view),

currently not assigned to any keys.

8 years agominor refactor, move view selected rv3d specific logic into its own static function.
Campbell Barton [Wed, 10 Oct 2012 10:05:56 +0000 (10:05 +0000)]
minor refactor, move view selected rv3d specific logic into its own static function.

8 years agoIts silly to use "verify index" because it will add non existing and remove them...
Ove Murberg Henriksen [Wed, 10 Oct 2012 08:50:56 +0000 (08:50 +0000)]
Its silly to use "verify index" because it will add non existing and remove them afterwards.

8 years agofix error setting quadview when there is no camera in the scene, the view would glitc...
Campbell Barton [Wed, 10 Oct 2012 08:47:53 +0000 (08:47 +0000)]
fix error setting quadview when there is no camera in the scene, the view would glitch/jump when accessing afterwards.

8 years agofix for crash when entering fly mode in a camera view that has no camera (rare but...
Campbell Barton [Wed, 10 Oct 2012 08:46:52 +0000 (08:46 +0000)]
fix for crash when entering fly mode in a camera view that has no camera (rare but possible situation).

8 years agoGraph Editor: Added a filtering option for Drivers mode to only show F-Curves
Joshua Leung [Wed, 10 Oct 2012 08:46:07 +0000 (08:46 +0000)]
Graph Editor: Added a filtering option for Drivers mode to only show F-Curves
with errors

This filtering option is useful when rigging and you want to figure out if any
of your drivers are not functioning, and/or which one(s) are not, so that you
can go through fixing them. It saves you from having to check on each one
individually, or going into the console to try to infer which ones are not

8 years agoChanging clear weight code from "assigning 0" to "removing".
Ove Murberg Henriksen [Wed, 10 Oct 2012 08:29:13 +0000 (08:29 +0000)]
Changing clear weight code from "assigning 0" to "removing".
Its less efficient but better practice.
+ Some style clean.

8 years agoFix #32780: Maya keymap selection issues
Sergey Sharybin [Wed, 10 Oct 2012 08:07:28 +0000 (08:07 +0000)]
Fix #32780: Maya keymap selection issues

Maya keymap used LMB press to select object and also used tweak event
of LMB for border select. This lead to selecting object under the cursor
before border select could start.

This could be pain when working on huge scenes.

Solved by switching selection from LMB press to release.

8 years agoCosmetic: Changed label of the 'Install Addon...' Button to 'Install from File...'
Gaia Clary [Wed, 10 Oct 2012 08:04:04 +0000 (08:04 +0000)]
Cosmetic: Changed label of the 'Install Addon...' Button to 'Install from File...'

8 years agoColor Management: fixed color management-less texture rendering
Sergey Sharybin [Wed, 10 Oct 2012 05:56:49 +0000 (05:56 +0000)]
Color Management: fixed color management-less texture rendering

There was a missing check for whether color management enabled or not when
converting byte textures to linear space.

This commit also fixes wrong texture preview rendering, which was applying
sRGB transform twice, making procedural textures bright. This will make
float textures being previewed dark (in a linear space) but that's how it
used to behave in pre-OCIO color management.

8 years agouse __restrict for string functions args so the compiler can assume they dont overlap.
Campbell Barton [Wed, 10 Oct 2012 04:47:53 +0000 (04:47 +0000)]
use __restrict for string functions args so the compiler can assume they dont overlap.
also avoid comparing int/size_t in for loops.

8 years agorefactor foreachScreen functions for clipping, now the projection clipping flag is...
Campbell Barton [Wed, 10 Oct 2012 04:03:22 +0000 (04:03 +0000)]
refactor foreachScreen functions for clipping, now the projection clipping flag is passed down directly rather then converting the enum into a flag, also fix own recent crash lasso seleting in object mode with pose objects.

8 years agocode cleanup: split `foreach` object data iterator functions out of drawobject.c...
Campbell Barton [Wed, 10 Oct 2012 03:13:02 +0000 (03:13 +0000)]
code cleanup: split `foreach` object data iterator functions out of drawobject.c (since they are used for selection too), into their own file: object_iterators.c

8 years agoobject center selection now uses floats, also fix own error in circle selection in...
Campbell Barton [Wed, 10 Oct 2012 01:54:02 +0000 (01:54 +0000)]
object center selection now uses floats, also fix own error in circle selection in recent refactor.

8 years agorefactor screen foreach functions to accept float[2] arguments rather then int pairs.
Campbell Barton [Wed, 10 Oct 2012 01:22:19 +0000 (01:22 +0000)]
refactor screen foreach functions to accept float[2] arguments rather then int pairs.
overall means less converting between float and int (and short in some cases).

8 years agotransfer weight's now operates on selected vertices (when vertex select is enabled).
Campbell Barton [Tue, 9 Oct 2012 22:55:05 +0000 (22:55 +0000)]
transfer weight's now operates on selected vertices (when vertex select is enabled).

8 years agocode cleanup:
Antony Riakiotakis [Tue, 9 Oct 2012 18:56:02 +0000 (18:56 +0000)]
code cleanup:

Move smart stitch drawing code inside a draw callback and use
ED_region_draw_cb_activate instead of explicitly checking for this
specific operator in the main uv drawing function.

8 years agoCycles: camera motion blur enabled.
Brecht Van Lommel [Tue, 9 Oct 2012 18:37:14 +0000 (18:37 +0000)]
Cycles: camera motion blur enabled.

Still more work needed to get object motion blur ready.

8 years agoGeneralization of node dependency sorting, avoid using the sock->link pointer. This...
Lukas Toenne [Tue, 9 Oct 2012 17:30:33 +0000 (17:30 +0000)]
Generalization of node dependency sorting, avoid using the sock->link pointer. This pointer only works for sockets that follow the standard 1-to-n connectivity (an output can be linked to multiple inputs, an input can only have one connection). Future node trees may implement 1-to-1 or n-to-1 linking.

8 years agoFixed wrong preset settings for motion tracking
Sergey Sharybin [Tue, 9 Oct 2012 16:29:27 +0000 (16:29 +0000)]
Fixed wrong preset settings for motion tracking

8 years agoFix cycles task manager calling pthread_join() twice. I haven't seen any bugs
Brecht Van Lommel [Tue, 9 Oct 2012 14:28:29 +0000 (14:28 +0000)]
Fix cycles task manager calling pthread_join() twice. I haven't seen any bugs
from this but best to fix anyway as it causes undefined behavior. Pointed out
on irc by dslammu, thanks!

8 years agocode cleanup: make header defines more consistent, JOYSENSOR header guard had a typo...
Campbell Barton [Tue, 9 Oct 2012 13:36:42 +0000 (13:36 +0000)]
code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too.

8 years agoBugfix [#32703] elbeem's isSimworldOk() will never return FALSE
Daniel Genrich [Tue, 9 Oct 2012 13:09:03 +0000 (13:09 +0000)]
Bugfix [#32703] elbeem's isSimworldOk() will never return FALSE

Fixed as suggested by Campbell, thank you!

8 years agoBugfix [#32677] Cloth Pinning Does Not Obey Weight Map
Daniel Genrich [Tue, 9 Oct 2012 12:59:20 +0000 (12:59 +0000)]
Bugfix [#32677] Cloth Pinning Does Not Obey Weight Map

Problem occured when having more than one weight map available.

8 years agostyle cleanup: also made functions static
Campbell Barton [Tue, 9 Oct 2012 12:41:37 +0000 (12:41 +0000)]
style cleanup: also made functions static

8 years agoAdding weightpaint transfer tool.
Ove Murberg Henriksen [Tue, 9 Oct 2012 12:25:10 +0000 (12:25 +0000)]
Adding weightpaint transfer tool.

Bachelor project at Narvik university collage (Norway).
By Ove M Henriksen (Cyborgmuppet)

Thesis will be published at Cyborgmuppets blender page.

Thanks for letting me participate!

8 years agoRevert part of 51209 -- MOUSEZOOM inversion should be done in lots of other
Sergey Sharybin [Tue, 9 Oct 2012 11:38:42 +0000 (11:38 +0000)]
Revert part of 51209 -- MOUSEZOOM inversion should be done in lots of other
places as well, but it's quite large change to be done before 'a' release.

For now ignore zoom inverse for 2d view to keep things consistent,
would be re-implemented for all areas after this.

8 years agoFix #32824: Color management configuration check was missed on file link/append
Sergey Sharybin [Tue, 9 Oct 2012 11:31:25 +0000 (11:31 +0000)]
Fix #32824: Color management configuration check was missed on file link/append

8 years agoFix based on code review Issue 6347064 meshdata_transfer
Ove Murberg Henriksen [Tue, 9 Oct 2012 11:29:29 +0000 (11:29 +0000)]
Fix based on code review Issue 6347064

8 years agopatch [#31919] limit the number of bone deform weights per vertex. Many game engines...
Campbell Barton [Tue, 9 Oct 2012 10:56:35 +0000 (10:56 +0000)]
patch [#31919] limit the number of bone deform weights per vertex. Many game engines require a limit of 4.
from Kesten Broughton (kestion)

Usage: In weight paint mode, select the mesh to have its weights culled. Click on "Limit Weights" button. A sub-panel will appear "Limit Number of Vertex Weights" with a slider field "Limit" which you can set to the appropriate level. The default level is 4, and it gets executed upon pressing "Limit Weights" so you will need to do an "undo" if your max bone limit is above 4. The checkbox "All Deform Weights" will consider all vertex weights, not just bone deform weights.

8 years agosvn merge ^/trunk/blender -r48592:HEAD
Ove Murberg Henriksen [Tue, 9 Oct 2012 10:53:20 +0000 (10:53 +0000)]
svn merge ^/trunk/blender -r48592:HEAD

8 years agoAutokey warning - trying with a slight "calmer" color
Joshua Leung [Tue, 9 Oct 2012 10:41:51 +0000 (10:41 +0000)]
Autokey warning - trying with a slight "calmer" color

Now it uses the same color used for indicating keyframes instead of using
"error" indications.

8 years agoAutokey warning - Only show for the active region
Joshua Leung [Tue, 9 Oct 2012 10:36:07 +0000 (10:36 +0000)]
Autokey warning - Only show for the active region

In response to some of the feedback, I've taken a second look at the situation
when multiple views are open, and indeed in that situation having it display in
every region and blinking was quite overwhelming (admittedly, I've mainly been
testing on single-view setups). Now it only shows for the region that was used
for initiating the transform.

8 years agoMotion Tracking; expose View All and Center to Current Frame to View menu of graph...
Sergey Sharybin [Tue, 9 Oct 2012 10:33:24 +0000 (10:33 +0000)]
Motion Tracking; expose View All and Center to Current Frame to View menu of graph view

8 years agoMotion Tracking: move keyframe settings to per-tracking object settings
Sergey Sharybin [Tue, 9 Oct 2012 10:33:18 +0000 (10:33 +0000)]
Motion Tracking: move keyframe settings to per-tracking object settings

8 years agoStyle cleanup - replace #define lists with enums
Joshua Leung [Tue, 9 Oct 2012 10:20:25 +0000 (10:20 +0000)]
Style cleanup - replace #define lists with enums

8 years agoOSX zoom pinch was using inverted direction
Sergey Sharybin [Tue, 9 Oct 2012 09:38:05 +0000 (09:38 +0000)]
OSX zoom pinch was using inverted direction