6 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

6 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

6 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

6 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 [[ | TODO list ]].

More specifically, it

  - fixes the rst syntax, including titles of the examples and;

  - 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).


  - 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:

6 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.

6 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

6 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

6 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

6 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

6 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:

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

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

6 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

6 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.

6 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.

6 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

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

6 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.).

6 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)

6 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.

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

6 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.

6 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.

6 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 :
4x alpha to coverage :

Reviewers: moguri, kupoman, campbellbarton, psy-fi

Reviewed By: psy-fi

Subscribers: lordloki, rdb

Projects: #game_engine

Differential Revision:

6 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?

6 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

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

6 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:

6 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).

6 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.

6 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:

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

6 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.

6 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

6 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:

6 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

6 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

6 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)

6 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.

6 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.

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

6 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

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

6 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)

6 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

6 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.

6 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.

6 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

6 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

6 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.

6 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.

6 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.

6 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.

6 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.

6 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

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

6 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

6 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.

6 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.

6 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

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

Make sure SEQ_TYPE_EFFECT is only used as a flag, not as number
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.

6 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.

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

6 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

6 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.

6 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.

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

6 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!

6 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).

6 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,

6 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.

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

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

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

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

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

6 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

6 years agoUse macro for user-prefs version checks
Campbell Barton [Wed, 1 Jul 2015 02:47:44 +0000 (12:47 +1000)]
Use macro for user-prefs version checks

6 years agoCycles: Solve some harmless NULL pointer magic
Sergey Sharybin [Tue, 30 Jun 2015 21:23:38 +0000 (23:23 +0200)]
Cycles: Solve some harmless NULL pointer magic

Was harmless but confused some sanity checks, also kinda makes sense
to be more verbose about what's going on there.

6 years agoFix 1px gap in regions drawn with region overlap
Julian Eisel [Tue, 30 Jun 2015 19:02:19 +0000 (21:02 +0200)]
Fix 1px gap in regions drawn with region overlap

6 years agoFix T45240: New depsgraph ignores animation applied on the curve data
Sergey Sharybin [Tue, 30 Jun 2015 16:11:21 +0000 (18:11 +0200)]
Fix T45240: New depsgraph ignores animation applied on the curve data

6 years agoFix T45238: New depsgraph flickers with the lattice modifier
Sergey Sharybin [Tue, 30 Jun 2015 16:00:24 +0000 (18:00 +0200)]
Fix T45238: New depsgraph flickers with the lattice modifier

6 years agoFix T45241: New depsgraph was lacking update of python drivers on time change
Sergey Sharybin [Tue, 30 Jun 2015 15:34:57 +0000 (17:34 +0200)]
Fix T45241: New depsgraph was lacking update of python drivers on time change

It's quite tricky to see if the driver actually depends on time or not,
so currently used approach when we'll be doing some extra updates.

This seems to correspond to how old depsgraph was dealing with this.

6 years agoFix T45239: New depsgraph does not work with IK pole target
Sergey Sharybin [Tue, 30 Jun 2015 14:48:02 +0000 (16:48 +0200)]
Fix T45239: New depsgraph does not work with IK pole target

6 years agoFix T45251 custom directory not taken into account for image proxies.
Antony Riakiotakis [Tue, 30 Jun 2015 14:31:14 +0000 (16:31 +0200)]
Fix T45251 custom directory not taken into account for image proxies.

6 years agoFix for mistake in grid-snap patch
Campbell Barton [Tue, 30 Jun 2015 13:42:17 +0000 (23:42 +1000)]
Fix for mistake in grid-snap patch

6 years agoSelect flush deleting edgeloop in edge mode too
Campbell Barton [Tue, 30 Jun 2015 12:50:32 +0000 (22:50 +1000)]
Select flush deleting edgeloop in edge mode too

6 years agoCMake: remove helper text
Campbell Barton [Tue, 30 Jun 2015 12:46:55 +0000 (22:46 +1000)]
CMake: remove helper text

Its out of date, better use the wiki building docs.

6 years agoCMake: minor edits
Campbell Barton [Tue, 30 Jun 2015 12:44:27 +0000 (22:44 +1000)]
CMake: minor edits

6 years agoTransform: add back absolute snapping option
Campbell Barton [Tue, 30 Jun 2015 08:57:17 +0000 (18:57 +1000)]
Transform: add back absolute snapping option

This ensures that vertices are grid-aligned while transforming,
instead of just snapping the input values for translate.

6 years agoCleanup: transform grid snap round, not floor
Campbell Barton [Tue, 30 Jun 2015 08:26:37 +0000 (18:26 +1000)]
Cleanup: transform grid snap round, not floor

6 years agoNote that closest_point_on_mesh is in object space
Campbell Barton [Tue, 30 Jun 2015 05:47:44 +0000 (15:47 +1000)]
Note that closest_point_on_mesh is in object space

6 years agoCleanup: use const for screen functions
Campbell Barton [Tue, 30 Jun 2015 05:31:55 +0000 (15:31 +1000)]
Cleanup: use const for screen functions

6 years agoCleanup: move BLI_char_switch into BLI_string
Campbell Barton [Tue, 30 Jun 2015 05:18:03 +0000 (15:18 +1000)]
Cleanup: move BLI_char_switch into BLI_string

6 years agoCleanup: use BLI_str prefix for BLI_replacestrN
Campbell Barton [Tue, 30 Jun 2015 04:50:34 +0000 (14:50 +1000)]
Cleanup: use BLI_str prefix for BLI_replacestrN

6 years agoCleanup: move BLI_timestr to BLI_timecode
Campbell Barton [Tue, 30 Jun 2015 04:47:31 +0000 (14:47 +1000)]
Cleanup: move BLI_timestr to BLI_timecode

6 years agoFix T45237: Dither dosn't work in Blender Internal Renderer after Multi-View
Dalai Felinto [Mon, 29 Jun 2015 21:09:49 +0000 (18:09 -0300)]
Fix T45237: Dither dosn't work in Blender Internal Renderer after Multi-View

6 years agoNode Editor: Use Smaller Factor for Grid Snapping
Julian Eisel [Mon, 29 Jun 2015 20:00:31 +0000 (22:00 +0200)]
Node Editor: Use Smaller Factor for Grid Snapping

An attempt to treat @sebastian_k's blood pressure a bit.

6 years agoRemove WITH_TESTS_PERFORMANCE option.
Bastien Montagne [Mon, 29 Jun 2015 18:26:58 +0000 (20:26 +0200)]

Performance tests now have their own CMake macro, which ensures they do not get
added to ctest list, so we do not have to bother about them anymore, and can always
build them (when GTests are enabled, of course).

6 years agoGTests: do not add 'performance' tests to auto-ran tests (with ctest or 'make test...
Bastien Montagne [Mon, 29 Jun 2015 16:15:02 +0000 (18:15 +0200)]
GTests: do not add 'performance' tests to auto-ran tests (with ctest or 'make test')...

6 years agoFix .obj testing.
Bastien Montagne [Mon, 29 Jun 2015 16:14:27 +0000 (18:14 +0200)]
Fix .obj testing.

6 years agoFix 73841 : Game Engine - Camera Lens Shift
Dalai Felinto [Mon, 29 Jun 2015 13:45:27 +0000 (10:45 -0300)]
Fix 73841 : Game Engine - Camera Lens Shift

This is essential for video projection, and the alternative until now was to manually change the projection matrix via Python.
- this page will be removed as soon as I commit this)

Also this is working for perspective and orto cameras BUT if the sensor is not AUTO it will only look correct in blenderplayer (this is an unrelated bug, but just in case someone runs into it while testing this, now you know why you got the issue).

Kudos for the BlenderVR project for supporting this feature development.

Differential Revision: