blender.git
4 years agoFreestyle: new stroke modifiers
Folkert de Vries [Fri, 10 Jul 2015 12:57:23 +0000 (21:57 +0900)]
Freestyle: new stroke modifiers

This patch introduces a couple new stroke modifiers. The ones currently implemented are based on prototypes by @kjym3 and myself.

The new modifiers:
  - Tangent
  - Thickness noise
  - Crease Angle
  - Simplification
  - Curvature 3D

The documentation for these new modifier types can be found [[ http://www.blender.org/manual/render/freestyle/parameter_editor/index.html | in the manual ]]:

{F134441}
(left: AnisotropicThicknessShader, right: NoiseThicknessShader)

{F140499}
(left: Curvature 3D, right: Simplification)

Author: Folkert de Vries (flokkievids)

Reviewers: kjym3

Subscribers: #user_interface, plasmasolutions, kjym3

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D963

4 years agoBLI_math 'compare' cleanup & enhancements.
Bastien Montagne [Fri, 10 Jul 2015 12:32:35 +0000 (14:32 +0200)]
BLI_math 'compare' cleanup & enhancements.

This commit:
* Adds a 'compare_ff' function for absolute 'almost equal' comparison of floats.
* Makes 'compare_vxvx' functions use that new 'compare_ff' one.
* Adds a 'compare_ff_relative' function for secured ulp-based relative comparison of floats.
* Adds matching 'compare_vxvx_relative' functions.
* Adds some basic tests for compare_ff_relative.

See https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/

Note that we could replace our python/mathutils' EXPP_FloatsAreEqual() by BLI's compare_ff_relative
(using a very small absolute max_diff), but these do not have exact same behavior...
Left a comment there for now, we can do it later if/when we are sure it won't break anything!

4 years agoREmove stupid apple check on OMP in weightvg modifier.
Bastien Montagne [Fri, 10 Jul 2015 07:55:01 +0000 (09:55 +0200)]
REmove stupid apple check on OMP in weightvg modifier.

This is handled in build files...

4 years agoCustomData: deprecate CD_ID_MCOL
Campbell Barton [Fri, 10 Jul 2015 06:47:39 +0000 (16:47 +1000)]
CustomData: deprecate CD_ID_MCOL

4 years agomakesrna: use int64 for rounding check
Campbell Barton [Fri, 10 Jul 2015 06:42:36 +0000 (16:42 +1000)]
makesrna: use int64 for rounding check

Harmless but larger values would overflow

4 years agoDNA: replace GCC poison with ifdef for enums
Campbell Barton [Fri, 10 Jul 2015 05:58:08 +0000 (15:58 +1000)]
DNA: replace GCC poison with ifdef for enums

4 years agoFix T45398: Saving file from File Browser doesn't work if no file is selected
Julian Eisel [Thu, 9 Jul 2015 21:48:55 +0000 (23:48 +0200)]
Fix T45398: Saving file from File Browser doesn't work if no file is selected

Own mistake in rBaeeb23efa28dc16e20

4 years agoFile Browser: (Re-)Allow selecting '..' parent entry for file navigation
Julian Eisel [Thu, 9 Jul 2015 17:48:03 +0000 (19:48 +0200)]
File Browser: (Re-)Allow selecting '..' parent entry for file navigation

Selecting '..' entry was intentionally disabled in rB76b4fad6dbda1b10c, however, for file navigation this can be really useful. So this basically allows selecting '..' entry again, *if it is the only entry to select*. It won't be selected using box select, select all or when expanding selection.

4 years agoFile Browser: Improve usage of Enter-key to open files/directories
Julian Eisel [Thu, 9 Jul 2015 16:40:34 +0000 (18:40 +0200)]
File Browser: Improve usage of Enter-key to open files/directories

From a user-POV this makes following changes:
* Adds support for using the Enter-key to open directories
* Updates the upper text-buttons for file and directory on selection
* Last selected file/directory is opened now (in sync with upper text-buttons)
* Changes text in open button to "Open Directory" if a directory is selected

D1349, Reviewed by @mont29

4 years agoCleanup: warnings
Campbell Barton [Thu, 9 Jul 2015 09:39:37 +0000 (19:39 +1000)]
Cleanup: warnings

4 years agoCleanup: quiet warning
Campbell Barton [Thu, 9 Jul 2015 09:23:49 +0000 (19:23 +1000)]
Cleanup: quiet warning

4 years agoUse it->second instead of (*it).second in KX_BlenderSceneConverter.
Porteries Tristan [Thu, 9 Jul 2015 07:45:21 +0000 (09:45 +0200)]
Use it->second instead of (*it).second in KX_BlenderSceneConverter.

4 years agoSelect Shortest Path for edit-curve
Campbell Barton [Thu, 9 Jul 2015 03:14:09 +0000 (13:14 +1000)]
Select Shortest Path for edit-curve

D1391 by @pink.vertex with own fixes/edits

4 years agoCurve: change rules wrt active bezier
Campbell Barton [Thu, 9 Jul 2015 04:52:01 +0000 (14:52 +1000)]
Curve: change rules wrt active bezier

Activate the vertex even if only a single handle is selected

4 years agoCurve selection, de-duplicate & cleanup
Campbell Barton [Thu, 9 Jul 2015 04:31:27 +0000 (14:31 +1000)]
Curve selection, de-duplicate & cleanup

4 years agoSelect Similar for edit-curve
Campbell Barton [Wed, 8 Jul 2015 16:58:40 +0000 (02:58 +1000)]
Select Similar for edit-curve

D1381 by @johnroper100 with edits

4 years agoAdd BKE_nurb_bpoint_calc_normal
Campbell Barton [Wed, 8 Jul 2015 16:56:04 +0000 (02:56 +1000)]
Add BKE_nurb_bpoint_calc_normal

4 years agoEditCurve: move selection into own file
Campbell Barton [Wed, 8 Jul 2015 13:24:16 +0000 (23:24 +1000)]
EditCurve: move selection into own file

4 years agoFix/Cleanup mesh remap dest transformation in tree/source space.
Bastien Montagne [Tue, 7 Jul 2015 17:23:01 +0000 (19:23 +0200)]
Fix/Cleanup mesh remap dest transformation in tree/source space.

In org work, bvhtree helpers were modifying passed co/no in place according to given transform.

However, during review pass we decided this was bad, and made them modify copies. But this broke
some cases where we'd do extra tests after bvhtree query, expecting tmp_co to be in tree (aka source) space!

Further more, since in quite a few cases we were already doing that transform outside of bvhtree helpers,
decided to remove this alltogether from the helpers - makes things more clear and easy to follow,
avoids needless copy of vector, and ensures we are always using tmp_co in its transformed version!

4 years agoCorrect default enum values
Campbell Barton [Tue, 7 Jul 2015 13:09:08 +0000 (23:09 +1000)]
Correct default enum values

Had assert creating cheat sheet

4 years agoCycles: Add debug print about CLEW initialization status
Sergey Sharybin [Tue, 7 Jul 2015 12:37:12 +0000 (14:37 +0200)]
Cycles: Add debug print about CLEW initialization status

4 years agoCycles: Add an option to force disable all OpenCL devices
Sergey Sharybin [Tue, 7 Jul 2015 12:17:41 +0000 (14:17 +0200)]
Cycles: Add an option to force disable all OpenCL devices

This way it's possible to disable OpenCL devices for AMD devices
which are considered whitelisted.

4 years agoBGE: Fix wrong current logic manager in collision callback.
Porteries Tristan [Tue, 7 Jul 2015 11:36:47 +0000 (13:36 +0200)]
BGE: Fix wrong current logic manager in collision callback.

4 years agoRemove redundant lists, link instead
Campbell Barton [Tue, 7 Jul 2015 11:25:51 +0000 (21:25 +1000)]
Remove redundant lists, link instead

4 years agoRemove unnecessary constant info
Campbell Barton [Tue, 7 Jul 2015 11:17:33 +0000 (21:17 +1000)]
Remove unnecessary constant info

Noting every constant as an int isnt helping,
this is only meant to be passed to only.

4 years agoFix for recent error, ngons now flipped correctly
Campbell Barton [Tue, 7 Jul 2015 09:53:56 +0000 (19:53 +1000)]
Fix for recent error, ngons now flipped correctly

4 years agoUsing proper subtype in game object velocity clamping properties.
Sybren A. Stüvel [Tue, 7 Jul 2015 09:59:24 +0000 (11:59 +0200)]
Using proper subtype in game object velocity clamping properties.

The game.velocity_{min,max} and game.angular_velocity_{min,max} object
RNA properties did not use a subtype, and thus velocity was always
displayed as radians or blender units instead of the configured units.

Reviewed by: campbellbarton

4 years agoMinor simplification for uv edge drawing
Campbell Barton [Tue, 7 Jul 2015 05:08:45 +0000 (15:08 +1000)]
Minor simplification for uv edge drawing

4 years agoBGE: bge.texture API documentation enhancement
Quentin Wenger [Mon, 6 Jul 2015 09:11:40 +0000 (11:11 +0200)]
BGE: bge.texture API documentation enhancement

This patch attempts to improve and review the documentation of bge.texture, as requested in the [[ http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/GameEngine#Video_Texture | TODO list ]].

More specifically, it

  - fixes the rst syntax, including titles of the examples bge.texture.py and bge.texture.1.py;

  - adds, standardizes and reviews description of the API elements, particularly signatures, types, etc.

  - adds SOURCE_* constants to the doc

  - splits the doc into thematical parts (Video, Image, Texture, and Filter Classes, Functions, Constants).

Notes:

  - The parameter "mode" of ImageBuff.plot has to be described better. Actually, the whole set of IMB_BLEND_* constants (from IMB_imbuf.h) should be exposed to Python. I'll do that in a future diff, and complete the doc at the same moment (adding those IMB_BLEND_* constants to the Constants part of this doc).

  - The option of using webcams in VideoFFmpeg is still particularly not well documented. I am planning to make a proposal about fixing T18634 (and its corresponding TODO in the list) by integrating OpenCV in the BGE (and Blender?). The idea would then probably be to add a new class, f.ex. ImageWebcam, making this functionnality more specialized. So for now I don't think it is worth to document that part much.

This patch fixes T44284 too.

Reviewers: moguri, kupoman, campbellbarton, panzergame, lordloki

Reviewed By: panzergame, lordloki

Subscribers: hg1

Projects: #game_engine, #game_python, #documentation

Maniphest Tasks: T44284

Differential Revision: https://developer.blender.org/D1352

4 years agoFix T45331, a bevel regression for 2.75.
Howard Trickey [Mon, 6 Jul 2015 17:24:42 +0000 (13:24 -0400)]
Fix T45331, a bevel regression for 2.75.

Got bad results when two beveled edges form straight line
and there are two or more unbeveled edges attached to either
side of the connecting vertex.

4 years agoFix T45237: Dither does not work
Dalai Felinto [Mon, 6 Jul 2015 14:51:40 +0000 (11:51 -0300)]
Fix T45237: Dither does not work

4 years agoFix T45290: Selecting passes in image editor does no longer work
Dalai Felinto [Mon, 6 Jul 2015 14:13:49 +0000 (11:13 -0300)]
Fix T45290: Selecting passes in image editor does no longer work

This issue was introduced with the wrong fix I committed for dither (rB56ca7f34)
Which also means T45237 has to be re-open

4 years agoBGE: Fix T45341: Crash when camera is eliminated
Jorge Bernal [Mon, 6 Jul 2015 13:40:09 +0000 (15:40 +0200)]
BGE: Fix T45341: Crash when camera is eliminated

A null check is added to avoid crashes when the camera is removed during
the game and no other is available

4 years agoFix T45328: Crash upon finishing render with 'Cache Result' enabled
Sergey Sharybin [Mon, 6 Jul 2015 10:34:40 +0000 (12:34 +0200)]
Fix T45328: Crash upon finishing render with 'Cache Result' enabled

4 years agoBGE Fix T45207: Camera actuator shakes with low height
Sybren A. Stüvel [Mon, 6 Jul 2015 10:20:29 +0000 (12:20 +0200)]
BGE Fix T45207: Camera actuator shakes with low height

The camera-aiming code was using a near-zero-length cross product, which
caused oscillations. Thresholding on the cross product length seems to
fix this.

Reviewers: lucky3, Matpi, lordloki

Reviewed By: lordloki

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1387

4 years agoRemove redundant face-flipping check
Campbell Barton [Mon, 6 Jul 2015 09:21:19 +0000 (19:21 +1000)]
Remove redundant face-flipping check

4 years agoCleanup: style, spelling
Campbell Barton [Mon, 6 Jul 2015 04:18:03 +0000 (14:18 +1000)]
Cleanup: style, spelling

4 years agoCMake: use cmake commands where possible
Campbell Barton [Sun, 5 Jul 2015 16:25:53 +0000 (02:25 +1000)]
CMake: use cmake commands where possible

4 years agoChange default for bevel to match previous behavior.
Howard Trickey [Sun, 5 Jul 2015 17:31:26 +0000 (13:31 -0400)]
Change default for bevel to match previous behavior.

Have reconsidered and feel it best to try matching previous behavior
(doing "loop slides" where possible) as default. This will avoid the
need to change regression tests, among other things.

4 years agoAdd 'loop slide' option to bevel. See T45260
Howard Trickey [Sun, 5 Jul 2015 13:53:17 +0000 (09:53 -0400)]
Add 'loop slide' option to bevel. See T45260

Current behavior of bevel is to 'loop slide' along unbeveled edges
when possible, but this produces uneven bevel widths sometimes,
so this option lets user choose between having the loop slide effect
or having more even bevel widths. Trying it out with default being
'no loop slide', so different from current behavior. May reverse this
choice later, depending on user reactions.

4 years agoCorrect vert-slide helper-line scale
Campbell Barton [Sun, 5 Jul 2015 12:33:44 +0000 (22:33 +1000)]
Correct vert-slide helper-line scale

Was invalid in perspective view

4 years agoCorrect comment
Campbell Barton [Sun, 5 Jul 2015 12:19:01 +0000 (22:19 +1000)]
Correct comment

4 years agoFix T45319: Set same precision for 3D cursor location as other locations (objects...
Bastien Montagne [Sun, 5 Jul 2015 08:53:21 +0000 (10:53 +0200)]
Fix T45319: Set same precision for 3D cursor location as other locations (objects', vertices', etc.).

4 years agoGPencil: use ctrl+x/del for dissolve
Campbell Barton [Sun, 5 Jul 2015 04:34:17 +0000 (14:34 +1000)]
GPencil: use ctrl+x/del for dissolve

Move dissolve into own operator (as with mesh/armature)

4 years agoAdd key toggle (V) to bevel tool to turn vertex-only on/off.
Howard Trickey [Sat, 4 Jul 2015 14:14:47 +0000 (10:14 -0400)]
Add key toggle (V) to bevel tool to turn vertex-only on/off.

4 years agoCleanup: Typo in comment.
Thomas Dinges [Sat, 4 Jul 2015 11:17:06 +0000 (13:17 +0200)]
Cleanup: Typo in comment.

4 years agoRNA: Match enum string to UI name
Campbell Barton [Sat, 4 Jul 2015 03:02:59 +0000 (13:02 +1000)]
RNA: Match enum string to UI name

Having different terminology for enum's is confusing for scripters.

4 years agoBGE: Fix T45259 collision sensor registration.
Porteries Tristan [Fri, 3 Jul 2015 21:48:26 +0000 (23:48 +0200)]
BGE: Fix T45259 collision sensor registration.

4 years agoBGE: Add alpha to coverage render mode.
Porteries Tristan [Fri, 3 Jul 2015 17:03:29 +0000 (19:03 +0200)]
BGE: Add alpha to coverage render mode.

This patch add a new option for transparency meshes : Alpha to coverage, in the game setting panel in material.
The alpha to coverage request a multisample, the best is 8x but 4x and 2x can also give nice render.

4x alpha clip : http://www.pasteall.org/pic/show.php?id=89464
4x alpha to coverage : http://www.pasteall.org/pic/show.php?id=89463

Reviewers: moguri, kupoman, campbellbarton, psy-fi

Reviewed By: psy-fi

Subscribers: lordloki, rdb

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1354

4 years agoFix T45281: IOR Value Slider with "Ctrl" modifier does not increment as intended.
Bastien Montagne [Fri, 3 Jul 2015 16:56:59 +0000 (18:56 +0200)]
Fix T45281: IOR Value Slider with "Ctrl" modifier does not increment as intended.

Looks like a typo in rB1b8069bd?

4 years agoFix T45283: Blender crashes on some grayscale PNGs with alpha.
Bastien Montagne [Fri, 3 Jul 2015 16:23:55 +0000 (18:23 +0200)]
Fix T45283: Blender crashes on some grayscale PNGs with alpha.

PNG_COLOR_TYPE_GRAY colortype can have some values for alpha, in the same way as
PNG_COLOR_TYPE_PALETTE colortype.

In this case, we need two channels (grayscale and alpha), not one.

4 years agoBGE: Add integer uniforms for 2D Filter
Thomas Szepe [Fri, 3 Jul 2015 15:07:31 +0000 (17:07 +0200)]
BGE: Add integer uniforms for 2D Filter

Actually it is only possible to pass float properties to a 2D filter (GLSL fragment shader).
This patch allows also to use integer properties for the 2D filter.

Reviewers: sybren, agoose77, kupoman, moguri, lordloki, panzergame

Reviewed By: lordloki, panzergame

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1370

4 years agoWalk mode: Add modal shortcuts in UI (header help message).
Bastien Montagne [Fri, 3 Jul 2015 13:54:34 +0000 (15:54 +0200)]
Walk mode: Add modal shortcuts in UI (header help message).

4 years agoCleanup: 'return' parameters to the end of functions, and use 'r_' prefix for them.
Bastien Montagne [Fri, 3 Jul 2015 13:44:38 +0000 (15:44 +0200)]
Cleanup: 'return' parameters to the end of functions, and use 'r_' prefix for them.

4 years agoUI: add ability to access/generate 'shortcuts strings' of modal keymaps.
Bastien Montagne [Fri, 3 Jul 2015 13:07:46 +0000 (15:07 +0200)]
UI: add ability to access/generate 'shortcuts strings' of modal keymaps.

We already had that for global keymaps (used e.g. to generate shortcuts for menu entries),
but this wasn’t possible for modal keymaps yet (e.g. help message in header during
transforms and other modal operation).

This commit only adds needing background code, it does not change anything from user PoV.
Modal operators will be updated to use it in comming weeks.

Thanks to Campbell for revisions & suggestions. :)

Differential Revision: https://developer.blender.org/D780

4 years agoCycles: Code cleanup, double semicolon
Sergey Sharybin [Fri, 3 Jul 2015 13:44:24 +0000 (15:44 +0200)]
Cycles: Code cleanup, double semicolon

4 years agoSequencer: srt export support.
Antony Riakiotakis [Fri, 3 Jul 2015 10:34:23 +0000 (12:34 +0200)]
Sequencer: srt export support.

This commit adds a new operator that will compile the list of text
strips into an srt file. No positioning is supported yet but will
be added later.

The operator can be found in the effect panel in the strip properties.

4 years agoCycles: Error enqueueing split kernels should no longer cause infinite loop
Sergey Sharybin [Fri, 3 Jul 2015 10:13:02 +0000 (12:13 +0200)]
Cycles: Error enqueueing split kernels should no longer cause infinite loop

4 years agoBGE: Extend Python API for KX_BlenderMaterial (specular, diffuse…)
Porteries Tristan [Fri, 3 Jul 2015 09:47:48 +0000 (11:47 +0200)]
BGE: Extend Python API for KX_BlenderMaterial (specular, diffuse…)

Add support for material diffuse, specular… in KX_BlenderMaterial python proxy. And use mathutils in KX_BlenderMaterial for the specular and diffuse color in KX_BlenderMaterial.

Reviewers: sybren, brita_, kupoman, agoose77, dfelinto, moguri, campbellbarton, hg1

Reviewed By: moguri, campbellbarton, hg1

Subscribers: dfelinto

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1298

4 years agoCycles: Use explicit indices for split kernel queues
Sergey Sharybin [Fri, 3 Jul 2015 09:05:28 +0000 (11:05 +0200)]
Cycles: Use explicit indices for split kernel queues

4 years agoCycles: Code cleanup in split kernel, whitespaces
Sergey Sharybin [Fri, 3 Jul 2015 08:56:40 +0000 (10:56 +0200)]
Cycles: Code cleanup in split kernel, whitespaces

4 years agoMulti-View UI: convergence is only useless for the parallel camera (toe-in still...
Dalai Felinto [Fri, 3 Jul 2015 04:10:56 +0000 (01:10 -0300)]
Multi-View UI: convergence is only useless for the parallel camera (toe-in still uses it)

4 years agoFix vertex slide regression w/ rotated objects
Campbell Barton [Fri, 3 Jul 2015 00:49:57 +0000 (10:49 +1000)]
Fix vertex slide regression w/ rotated objects

This could only be done with certain rotations.

4 years agoBLI_GHash: add BLI_gset_str_new helpers.
Bastien Montagne [Thu, 2 Jul 2015 18:35:05 +0000 (20:35 +0200)]
BLI_GHash: add BLI_gset_str_new helpers.

4 years agoSupport debug contexts on win32
Antony Riakiotakis [Thu, 2 Jul 2015 18:06:02 +0000 (20:06 +0200)]
Support debug contexts on win32

4 years agoMake OpenGL debug contexts a flag --debug-gpu instead of a compile time
Antony Riakiotakis [Thu, 2 Jul 2015 17:30:08 +0000 (19:30 +0200)]
Make OpenGL debug contexts a flag --debug-gpu instead of a compile time
option.

This makes sense, since contexts get created at runtime, there is little
reason to require recompilation for this.

Only works on linux currently, will be doing more OSs later

4 years agoRNA Doc: Camera shift affects all cameras (perspective, orthographic and even panoramic)
Dalai Felinto [Thu, 2 Jul 2015 16:53:36 +0000 (13:53 -0300)]
RNA Doc: Camera shift affects all cameras (perspective, orthographic and even panoramic)

4 years agoGame Engine: Camera Lens Shift: support to change it during game
Dalai Felinto [Thu, 2 Jul 2015 16:47:27 +0000 (13:47 -0300)]
Game Engine: Camera Lens Shift: support to change it during game

4 years agoText effect strip for sequencer.
Antony Riakiotakis [Wed, 1 Jul 2015 18:29:18 +0000 (20:29 +0200)]
Text effect strip for sequencer.

Is pretty much what it says :)
Easy subtitles for everyone!

Supports size, positioning,
a cheap shadow effect (probably will need more work),
and autocentering on x axis.

Now you can go wild with long spanish names
in your soap opera videos.

Will probably be refined as days go by,
but at least it's now ready for testing.

4 years agoRender: Solve wrong vertex parent in linked objects with Locked UI
Sergey Sharybin [Thu, 2 Jul 2015 14:12:08 +0000 (16:12 +0200)]
Render: Solve wrong vertex parent in linked objects with Locked UI

The cleanup function was a bit too much aggressive here, made it much more
conservative. It means memory usage will not be so low anymore, and to
address this we'll need to make this function depsgraph aware.

4 years agoFix crash in background mode after the NDof deadzone commit
Sergey Sharybin [Thu, 2 Jul 2015 13:59:12 +0000 (15:59 +0200)]
Fix crash in background mode after the NDof deadzone commit

4 years agoFix: Keyframe indicators for NLA Strip properties fails if the AnimData has an active...
Joshua Leung [Thu, 2 Jul 2015 01:19:42 +0000 (13:19 +1200)]
Fix: Keyframe indicators for NLA Strip properties fails if the AnimData has an active action

4 years agoBGE: remove check for area in start-game operator
Campbell Barton [Thu, 2 Jul 2015 11:25:25 +0000 (21:25 +1000)]
BGE: remove check for area in start-game operator

This prevented the BGE from being started from the command-line,
the exec() function checked already.

Also use API calls to find area, region.

4 years agoBGE: Fix T45267 Lib load without material caching.
Porteries Tristan [Thu, 2 Jul 2015 10:20:13 +0000 (12:20 +0200)]
BGE: Fix T45267 Lib load without material caching.

4 years agoFix T45269: Blender 2.75 crashes when I run my the game
Sybren A. Stüvel [Thu, 2 Jul 2015 10:05:38 +0000 (12:05 +0200)]
Fix T45269: Blender 2.75 crashes when I run my the game

Velocity clamping on static objects caused a crash.

4 years agoBGE: Fix T45196 armature action on libloading.
Porteries Tristan [Thu, 2 Jul 2015 09:56:49 +0000 (11:56 +0200)]
BGE: Fix T45196 armature action on libloading.

4 years agoLinux desktop spec: Add a 'Keyword' field.
Bastien Montagne [Thu, 2 Jul 2015 06:53:45 +0000 (08:53 +0200)]
Linux desktop spec: Add a 'Keyword' field.

4 years agoDerivedMesh: cleanup & minor edirs
Campbell Barton [Thu, 2 Jul 2015 06:20:22 +0000 (16:20 +1000)]
DerivedMesh: cleanup & minor edirs

- place return args last position
- move crazyspace function out of DerivedMesh header
- use bool for args
- flow control on own lines to ease debugging

4 years agoMinor edits to --help
Campbell Barton [Thu, 2 Jul 2015 02:50:09 +0000 (12:50 +1000)]
Minor edits to --help

4 years agoCleanup: Use bool instead of int
Julian Eisel [Wed, 1 Jul 2015 19:48:42 +0000 (21:48 +0200)]
Cleanup: Use bool instead of int

4 years agoTransform: use snap-to-grid behavior from D910
Campbell Barton [Wed, 1 Jul 2015 16:13:15 +0000 (02:13 +1000)]
Transform: use snap-to-grid behavior from D910

Excuse the trashing here, but seems users prefer this most (though both can be useful).

Note that the UI remains the same,
so this is an option for 'Incremental' snapping instead of a new snapping mode.

4 years agoLinux XDesktop spec: add '%f' file specifier to 'Exec' field.
Bastien Montagne [Wed, 1 Jul 2015 15:39:31 +0000 (17:39 +0200)]
Linux XDesktop spec: add '%f' file specifier to 'Exec' field.

Also reorder alphabetically generic names & comments, and add french comment.

4 years agoCleanup: Make select grouped effect code a bit more readable
Antony Riakiotakis [Wed, 1 Jul 2015 15:37:14 +0000 (17:37 +0200)]
Cleanup: Make select grouped effect code a bit more readable

4 years agoRefactoring:
Antony Riakiotakis [Wed, 1 Jul 2015 15:32:56 +0000 (17:32 +0200)]
Refactoring:

Make sure SEQ_TYPE_EFFECT is only used as a flag, not as number
comparison.
This should allow us to add new non-effect types in between
effect types (every 8 indices).

Dirty, but alternative of separating type/subtype means we lose
forward compatibility.

4 years agoBGE: Fix T44069 playing action during libfree.
Porteries Tristan [Wed, 1 Jul 2015 14:38:31 +0000 (16:38 +0200)]
BGE: Fix T44069 playing action during libfree.

4 years agoCorrect --help message
Campbell Barton [Wed, 1 Jul 2015 14:20:09 +0000 (00:20 +1000)]
Correct --help message

4 years agoRemoving gaps will now also move the scene markers, unless markers are
Antony Riakiotakis [Wed, 1 Jul 2015 14:25:28 +0000 (16:25 +0200)]
Removing gaps will now also move the scene markers, unless markers are
locked

4 years agoSequencer metadata:
Antony Riakiotakis [Wed, 1 Jul 2015 13:23:09 +0000 (15:23 +0200)]
Sequencer metadata:

Add option to render strip metadata to final result, bypassing current
scene metadata.

4 years agoBGE: Remove KX_PolygonMaterial reference in documentation.
Porteries Tristan [Wed, 1 Jul 2015 12:56:02 +0000 (14:56 +0200)]
BGE: Remove KX_PolygonMaterial reference in documentation.

4 years agoBPlayer compile fix ©
Bastien Montagne [Wed, 1 Jul 2015 10:34:04 +0000 (12:34 +0200)]
BPlayer compile fix ©

4 years agoatomic_ops: Fix MSVC versions of add/sub returning original value instead of result...
Bastien Montagne [Wed, 1 Jul 2015 10:24:04 +0000 (12:24 +0200)]
atomic_ops: Fix MSVC versions of add/sub returning original value instead of result of operation.

Thanks to Brecht for tip about how to fix this!

4 years agoatomic_ops: fix typo in func names (uint32 instead of uint64).
Bastien Montagne [Wed, 1 Jul 2015 10:21:14 +0000 (12:21 +0200)]
atomic_ops: fix typo in func names (uint32 instead of uint64).

4 years agoCycles: Fix zero-size buffer allocation with OpenCL devices
Sergey Sharybin [Wed, 1 Jul 2015 09:56:48 +0000 (11:56 +0200)]
Cycles: Fix zero-size buffer allocation with OpenCL devices

This is not really supported by OpenCL but might happen in certain
configurations. There might be some remained cases when this happens
but so far can not find any,

4 years agoFix T45253: Particle emitter volume mode and grid mode broken in 2.75.x
Sergey Sharybin [Wed, 1 Jul 2015 08:32:30 +0000 (10:32 +0200)]
Fix T45253: Particle emitter volume mode and grid mode broken in 2.75.x

This is a regression since dced56f and root of the issue comes to the fact
that grid distribution sets UNEXIST flag during distribution, which is then
being reset in initialize_all_particles().

This commit solves the issue, but it's not really nice and some smart guy
might want to revisit it.

4 years agoParticles: Code cleanup, whitespace
Sergey Sharybin [Wed, 1 Jul 2015 07:32:12 +0000 (09:32 +0200)]
Particles: Code cleanup, whitespace

4 years agoCleanup: use bools
Campbell Barton [Wed, 1 Jul 2015 06:57:18 +0000 (16:57 +1000)]
Cleanup: use bools

4 years agoCleanup: use cross_v2v2 function
Campbell Barton [Wed, 1 Jul 2015 06:37:05 +0000 (16:37 +1000)]
Cleanup: use cross_v2v2 function

4 years agoCleanup: doxygen comments
Campbell Barton [Wed, 1 Jul 2015 06:30:26 +0000 (16:30 +1000)]
Cleanup: doxygen comments

4 years agoCleanup: use swap math funcs
Campbell Barton [Wed, 1 Jul 2015 06:02:30 +0000 (16:02 +1000)]
Cleanup: use swap math funcs

4 years agoUser Prefs for NDOF dead-zone
Campbell Barton [Wed, 1 Jul 2015 03:45:19 +0000 (13:45 +1000)]
User Prefs for NDOF dead-zone

D1344 with edits