blender.git
5 years agoGTests for new 'end' option of `BLI_str_partition_ex()`.
Bastien Montagne [Sat, 27 Jun 2015 08:22:56 +0000 (10:22 +0200)]
GTests for new 'end' option of `BLI_str_partition_ex()`.

5 years agoExtend `BLI_str_partition_ex`: add possibility to define a right limit to the string.
Bastien Montagne [Sat, 27 Jun 2015 08:22:29 +0000 (10:22 +0200)]
Extend `BLI_str_partition_ex`: add possibility to define a right limit to the string.

Now you can define `end` pointer as right limit of the string (allows to easily search
in substring, especially useful when searching from right).

5 years agoFix part of code in `load_image_single()` wrongly disabled when WITH_OPENEXR was...
Bastien Montagne [Sat, 27 Jun 2015 07:52:52 +0000 (09:52 +0200)]
Fix part of code in `load_image_single()` wrongly disabled when WITH_OPENEXR was disabled.

5 years agoFix crasher when loading multiview OpenEXR image.
Bastien Montagne [Sat, 27 Jun 2015 07:46:38 +0000 (09:46 +0200)]
Fix crasher when loading multiview OpenEXR image.

With multiview/multilayer OpenEXR file, `load_image_single()` will return NULL ibuf,
since it has already populated ima (with `image_create_multiview()` or
`image_create_multilayer()` calls).

Also, added some more checks before doing `IMB_ImBufFromStereo3d()`, to be sure
we do have enough slots in ibuf_arr, and we do not overwrite second ibuf either.

5 years agoFix T45204: String Splitting Function Bug: Using OpenEXR function even if compiled...
Bastien Montagne [Fri, 26 Jun 2015 17:41:51 +0000 (19:41 +0200)]
Fix T45204: String Splitting Function Bug: Using OpenEXR function even if compiled without OpenEXR.

Seriously!!!

Also, fix a potential buffer overrun here.

This should be backported to final release.

5 years agoCleanup: Fix a typo in world MIS.
Thomas Dinges [Fri, 26 Jun 2015 19:36:28 +0000 (21:36 +0200)]
Cleanup: Fix a typo in world MIS.

Found by Lukas Stockner, thanks!

5 years agoFix crash on undoing after 8690ea6
Antony Riakiotakis [Fri, 26 Jun 2015 15:50:08 +0000 (17:50 +0200)]
Fix crash on undoing after 8690ea6

Forgot to clear the mutex when reloading the scene.

5 years agoMake code compile with GPU_DEBUG
Antony Riakiotakis [Fri, 26 Jun 2015 14:18:06 +0000 (16:18 +0200)]
Make code compile with GPU_DEBUG

5 years agoFix T45199 crash when editing material nodes.
Antony Riakiotakis [Fri, 26 Jun 2015 12:47:53 +0000 (14:47 +0200)]
Fix T45199 crash when editing material nodes.

Issue is data race between preview job and GPU nodetree evaluation when
localizing the nodetree. Data race happens due to localizations doing
overrides on original nodes' new_node variable.

Solution here could probably be to use a hash for mapping of old to new
nodes but will prefer simple brute force lock for now.

5 years agoCleanup: transform center
Campbell Barton [Fri, 26 Jun 2015 06:19:39 +0000 (16:19 +1000)]
Cleanup: transform center

store global center in transform struct,
some code was calculating all the time, this is useful to keep available.

5 years agoCleanup: transform aspect
Campbell Barton [Fri, 26 Jun 2015 05:45:09 +0000 (15:45 +1000)]
Cleanup: transform aspect

Transform code had duplicate aspect checking,
now store aspect in TransInfo.aspect for reuse.

5 years agoRevert "Fix off by one error in display of start/end frame in sequencer."
Antony Riakiotakis [Thu, 25 Jun 2015 18:10:30 +0000 (20:10 +0200)]
Revert "Fix off by one error in display of start/end frame in sequencer."

This reverts commit 0e02ad8b6495b2755598a24b487041a3ed8e0116.

Initial commit was done so visual result fits with animation cursor
in timeline but this makes it so it looks like one extra frame is
rendered. Other idea would be to render one less frame for sequencer
but this is not so nice either. Generally here's no way to be
fully consistent here, but at least let's be workflow-consistent

5 years agoFix T45191 Speed strip behaviour not easy to predict.
Antony Riakiotakis [Thu, 25 Jun 2015 17:49:08 +0000 (19:49 +0200)]
Fix T45191 Speed strip behaviour not easy to predict.

Code here calculated speed based on underlying strip start position,
which was not really visible, making prediction of the result really
difficult. Things here are simple: As long as the strip exists,
manipulate the current frame by the provided factor.

5 years agoFix T45190 effect muting does not restore original sequencer display.
Antony Riakiotakis [Thu, 25 Jun 2015 16:21:58 +0000 (18:21 +0200)]
Fix T45190 effect muting does not restore original sequencer display.

5 years agoCorrect error in recent refactor
Campbell Barton [Thu, 25 Jun 2015 12:11:25 +0000 (22:11 +1000)]
Correct error in recent refactor

Closed loops missed last line

5 years agoSelect flush was missing in delete edge-loop
Campbell Barton [Thu, 25 Jun 2015 11:06:47 +0000 (21:06 +1000)]
Select flush was missing in delete edge-loop

5 years agosplash fix, previous had color conversion error
Campbell Barton [Thu, 25 Jun 2015 08:29:20 +0000 (18:29 +1000)]
splash fix, previous had color conversion error

5 years agoWeight Paint: replace Blend with Smooth tool
Campbell Barton [Thu, 25 Jun 2015 06:10:18 +0000 (16:10 +1000)]
Weight Paint: replace Blend with Smooth tool

Improved behavior

- can smooth # iterations
- option to expand/contract weights
- optionally mix with all/selected/unselected

5 years agoAPI calls for converting weights to float array
Campbell Barton [Thu, 25 Jun 2015 05:59:48 +0000 (15:59 +1000)]
API calls for converting weights to float array

5 years agoCleanup: generalize weight paint poll function
Campbell Barton [Wed, 24 Jun 2015 22:32:09 +0000 (08:32 +1000)]
Cleanup: generalize weight paint poll function

5 years agoBGE: Missing dot in 2d filter actuator documentation.
Quentin Wenger [Wed, 24 Jun 2015 20:31:11 +0000 (22:31 +0200)]
BGE: Missing dot in 2d filter actuator documentation.

5 years agoBGE: Fix 2dfilter actuator mode constants.
Quentin Wenger [Wed, 24 Jun 2015 13:31:22 +0000 (15:31 +0200)]
BGE: Fix 2dfilter actuator mode constants.

5 years agoBGE: Fix color used as background in VideoTexture.
Quentin Wenger [Wed, 24 Jun 2015 10:52:54 +0000 (12:52 +0200)]
BGE: Fix color used as background in VideoTexture.

Now we use color converted (if we do a color management) by the setter for background color in VideoTexture (ImageRender & ImageMirror).

Reviewers:panzergame

5 years agoWeightPaint Blend: don't stack mem for dverts
Campbell Barton [Wed, 24 Jun 2015 10:42:02 +0000 (20:42 +1000)]
WeightPaint Blend: don't stack mem for dverts

Bad assumption since this could be a large list

5 years agoCleanup: warnings
Campbell Barton [Wed, 24 Jun 2015 08:42:16 +0000 (18:42 +1000)]
Cleanup: warnings

5 years agoFix edge/vert slide UV-correct, small face error
Campbell Barton [Wed, 24 Jun 2015 01:09:53 +0000 (11:09 +1000)]
Fix edge/vert slide UV-correct, small face error

Decrease epsilon to prevent flickering with small faces.

5 years agoFix edge/vert slide UV-correct & non-planar faces
Campbell Barton [Wed, 24 Jun 2015 00:59:45 +0000 (10:59 +1000)]
Fix edge/vert slide UV-correct & non-planar faces

non-flat ngons would give instability (bad UV's).

5 years agoCorrect recent error
Campbell Barton [Wed, 24 Jun 2015 00:34:38 +0000 (10:34 +1000)]
Correct recent error

5 years agoRNA: exposing image_user settings for ImageTextureNodes
Dalai Felinto [Wed, 24 Jun 2015 00:17:55 +0000 (21:17 -0300)]
RNA: exposing image_user settings for ImageTextureNodes

This is required in order to access image sequence frame_duration and
frame_offset among other settings.

5 years agoFix edge/vert slide UV-correct & zero length edges
Campbell Barton [Tue, 23 Jun 2015 23:54:23 +0000 (09:54 +1000)]
Fix edge/vert slide UV-correct & zero length edges

When calculating loop angle weighting, skip overlapping vertices.

5 years agoImprove dist_***_to_corner_v3v3v3 precision
Campbell Barton [Tue, 23 Jun 2015 21:14:33 +0000 (07:14 +1000)]
Improve dist_***_to_corner_v3v3v3 precision

Remove offset before calculating distance.

Define 'plane3' to BLI_math, since we often don't need the 4th component.

5 years agoCleanup: style
Campbell Barton [Tue, 23 Jun 2015 19:13:43 +0000 (05:13 +1000)]
Cleanup: style

5 years agoSubsurf: Make color layer aquisition order for textured draw match
Antony Riakiotakis [Tue, 23 Jun 2015 15:48:29 +0000 (17:48 +0200)]
Subsurf: Make color layer aquisition order for textured draw match
cdderivedmesh

5 years agoFix T45051: Curve parent bug.
Bastien Montagne [Tue, 23 Jun 2015 15:35:55 +0000 (17:35 +0200)]
Fix T45051: Curve parent bug.

PARCURVE is deprecated parting type, should never have been exposed to user!

Not a regression, but safe enough for final 2.75 imho.

5 years agoBGE: Fix 57065a, missing dots.
Porteries Tristan [Tue, 23 Jun 2015 12:57:38 +0000 (14:57 +0200)]
BGE: Fix 57065a, missing dots.

5 years agoMinor tweaks to bge.constraints docs
Campbell Barton [Tue, 23 Jun 2015 11:58:08 +0000 (21:58 +1000)]
Minor tweaks to bge.constraints docs

5 years agoUpdate bge.constraints API doc
Campbell Barton [Tue, 23 Jun 2015 11:29:37 +0000 (21:29 +1000)]
Update bge.constraints API doc

D1357 by @Matpi with edits.

5 years agoFix T45123: 2D line intersection fails
Campbell Barton [Tue, 23 Jun 2015 10:37:53 +0000 (20:37 +1000)]
Fix T45123: 2D line intersection fails

Co-linear lines could detect as intersecting even if they weren't overlapping.

5 years agoCleanup: use 2d math funcs for line intersection
Campbell Barton [Tue, 23 Jun 2015 10:28:32 +0000 (20:28 +1000)]
Cleanup: use 2d math funcs for line intersection

5 years agoFix stupid mistake
Antony Riakiotakis [Tue, 23 Jun 2015 10:58:33 +0000 (12:58 +0200)]
Fix stupid mistake

5 years agoCode cleanup: Use enums for redraw timer operator, makes things more
Antony Riakiotakis [Tue, 23 Jun 2015 10:53:33 +0000 (12:53 +0200)]
Code cleanup: Use enums for redraw timer operator, makes things more
readable

5 years agoFix edge drawing, total loose edges can only be determined -after- the
Antony Riakiotakis [Tue, 23 Jun 2015 10:06:36 +0000 (12:06 +0200)]
Fix edge drawing, total loose edges can only be determined -after- the
edge buffer has been setup (this is where they are counted)

5 years agoCMake: quiet warnings in GTest
Campbell Barton [Tue, 23 Jun 2015 04:33:17 +0000 (14:33 +1000)]
CMake: quiet warnings in GTest

5 years agoCMake: support multiple args to remove_cc_flag
Campbell Barton [Tue, 23 Jun 2015 04:25:24 +0000 (14:25 +1000)]
CMake: support multiple args to remove_cc_flag

5 years agoAllow editing the text editor line directly
Campbell Barton [Tue, 23 Jun 2015 00:17:00 +0000 (10:17 +1000)]
Allow editing the text editor line directly

Alternate solution for T44855

5 years agoFix T45117: Dark dupli-face objects (regression)
Campbell Barton [Mon, 22 Jun 2015 22:02:00 +0000 (08:02 +1000)]
Fix T45117: Dark dupli-face objects (regression)

5 years agoMissed changing default arg in addon_utils.disable
Campbell Barton [Mon, 22 Jun 2015 21:25:10 +0000 (07:25 +1000)]
Missed changing default arg in addon_utils.disable

5 years agoFix T44320: UV island overlap considered linked
Campbell Barton [Mon, 22 Jun 2015 21:07:52 +0000 (07:07 +1000)]
Fix T44320: UV island overlap considered linked

5 years agoFixed compilation error in editor/animation/anim_markers
Jeroen Bakker [Mon, 22 Jun 2015 18:38:25 +0000 (20:38 +0200)]
Fixed compilation error in editor/animation/anim_markers

5 years agoFix T45149: Normal Node shows a hole in its sphere with heigh scale facs
Julian Eisel [Mon, 22 Jun 2015 18:35:10 +0000 (20:35 +0200)]
Fix T45149: Normal Node shows a hole in its sphere with heigh scale facs

5 years agoFix T45034: MirrorBall rendering on wrong camera axis
Sergey Sharybin [Mon, 22 Jun 2015 18:04:46 +0000 (20:04 +0200)]
Fix T45034: MirrorBall rendering on wrong camera axis

This was a mistake in the original code from D1079.

With the current way how direction ot mirror ball works camera should look
into negative Y direction. Corrected it in the camera matrix synchronization,
so no extra calculations are needed at the render time.

That's a bit annoying, but we'd better port it to the release branch, or
otherwise we'll end up with files created with wrong camera mapping after
2.75 release.

5 years agoFix T45148, stupid own mistake, the two functions are not the same,
Antony Riakiotakis [Mon, 22 Jun 2015 17:38:30 +0000 (19:38 +0200)]
Fix T45148, stupid own mistake, the two functions are not the same,
shouldn't have collapsed them

5 years agoRevert "Lock markers now also disallows selection of markers"
Antony Riakiotakis [Mon, 22 Jun 2015 17:37:30 +0000 (19:37 +0200)]
Revert "Lock markers now also disallows selection of markers"

This reverts commit 37fd2628058f296153a21ad359fbcbc74e9141e5.

5 years agoBGE: Fix T45110, T44174, armature animations update and mirror render.
Porteries Tristan [Mon, 22 Jun 2015 14:44:16 +0000 (16:44 +0200)]
BGE: Fix T45110, T44174, armature animations update and mirror render.

Reveiwers:Moguri, Matpi, youle

5 years agoFix T45145, multiview selection fix not working for scaled matrices.
Antony Riakiotakis [Mon, 22 Jun 2015 13:55:36 +0000 (15:55 +0200)]
Fix T45145, multiview selection fix not working for scaled matrices.

Multiview code already accounts for scale, do not scale frame before
multiplying with matrix.

5 years agoFix T45136, only draw edges if there's something to draw.
Antony Riakiotakis [Mon, 22 Jun 2015 13:18:04 +0000 (15:18 +0200)]
Fix T45136, only draw edges if there's something to draw.

5 years agoCycles: Respect duplicator's object motion blur settings
Sergey Sharybin [Fri, 12 Jun 2015 11:54:17 +0000 (13:54 +0200)]
Cycles: Respect duplicator's object motion blur settings

The idea is to make it possible to control linked duplicated objects motion
blur from the scene file without need to do overrides on the linked object
settings. Currently only supported for dupligroup duplication and all now
if duplicator object has motion blur disabled then it'll be inherited into
all the duplicated objects.

There should be no regressions/changes in look of existing files because
objects do have motion blur enabled by default.

5 years agoFix T45144: Multi-value-edit ignored range
Campbell Barton [Mon, 22 Jun 2015 09:35:00 +0000 (19:35 +1000)]
Fix T45144: Multi-value-edit ignored range

5 years agoFix camera stereo logic use /w regular select
Campbell Barton [Mon, 22 Jun 2015 08:23:59 +0000 (18:23 +1000)]
Fix camera stereo logic use /w regular select

5 years agoFix T45133: Crash drawing material buttons
Campbell Barton [Mon, 22 Jun 2015 06:51:22 +0000 (16:51 +1000)]
Fix T45133: Crash drawing material buttons

5 years agoFix memory leak /w multi-drag over a single button
Campbell Barton [Sun, 21 Jun 2015 22:22:47 +0000 (08:22 +1000)]
Fix memory leak /w multi-drag over a single button

5 years agoCleanup: Get rid of some ugly magic numbers...
Bastien Montagne [Sun, 21 Jun 2015 20:37:39 +0000 (22:37 +0200)]
Cleanup: Get rid of some ugly magic numbers...

5 years agoFix T45135: More cleanup of extreme max values in operator properties.
Bastien Montagne [Sun, 21 Jun 2015 19:56:35 +0000 (21:56 +0200)]
Fix T45135: More cleanup of extreme max values in operator properties.

INT_/FLOAT_MAX are sometimes valid choices, but most of the time more
sensible values should be used here!

5 years agoFix/Cleanup possibility to type insane values in 'add' operators options.
Bastien Montagne [Sun, 21 Jun 2015 14:06:44 +0000 (16:06 +0200)]
Fix/Cleanup possibility to type insane values in 'add' operators options.

Our 'hard limit' values was too often max_int/float here, mis-typing could
lead to crash (or infinite hanging) of Blender, see e.g.
http://blender.stackexchange.com/questions/32790/blender-forces-computer-to-reboot-after-mistyping-extreme-value-for-resolution-i

5 years agoChange defaults for planar-face tool
Campbell Barton [Sun, 21 Jun 2015 02:52:37 +0000 (12:52 +1000)]
Change defaults for planar-face tool

5 years agoCleanup: quiet warning
Campbell Barton [Sun, 21 Jun 2015 02:30:11 +0000 (12:30 +1000)]
Cleanup: quiet warning

5 years agoSupport for platforms /wo malloc_usable_size
Campbell Barton [Sun, 21 Jun 2015 02:29:20 +0000 (12:29 +1000)]
Support for platforms /wo malloc_usable_size

Was only used for stats, netbsd doesn't define this function.

5 years agoBMesh: replace BLI_array -> BLI_stack
Campbell Barton [Sat, 20 Jun 2015 23:46:12 +0000 (09:46 +1000)]
BMesh: replace BLI_array -> BLI_stack

5 years agoBMesh: replace BLI_array -> BLI_stack
Campbell Barton [Sat, 20 Jun 2015 23:15:09 +0000 (09:15 +1000)]
BMesh: replace BLI_array -> BLI_stack

Also use more direct custom-data access.

5 years agoThreads: Cache result of syscall when querying number of system threads
Sergey Sharybin [Sat, 20 Jun 2015 20:10:30 +0000 (22:10 +0200)]
Threads: Cache result of syscall when querying number of system threads

Number of system threads is quite difficult to change without need of blender
restart, so we can cache result of the systcalls (which are not really cheap)
in order to be able to call BLI_system_thread_count() without worrying of
performance issues in that function.

Reviewers: campbellbarton

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

5 years agoCycles: Another fix for OSX, sm_50 experimental actually also fails to compile
Sergey Sharybin [Sat, 20 Jun 2015 17:40:23 +0000 (19:40 +0200)]
Cycles: Another fix for OSX, sm_50 experimental actually also fails to compile

Didn't notice it originally because compilation was threaded.

5 years agoCycles: Tweak to previous commit, experimental sm_52 works on Linux but not OSX
Sergey Sharybin [Sat, 20 Jun 2015 17:01:24 +0000 (19:01 +0200)]
Cycles: Tweak to previous commit, experimental sm_52 works on Linux but not OSX

5 years agoCycles: Un-inline triangle_intersect_precalc() on Apple OpenCL
Sergey Sharybin [Sat, 20 Jun 2015 16:00:30 +0000 (18:00 +0200)]
Cycles: Un-inline triangle_intersect_precalc() on Apple OpenCL

This gives quite the same problems as experimental CUDA kernels
and for until it's found a root cause of the problem we'd just
explicitly uninline the function.

5 years agoCycles: Don't show pre-sm_20 CUDA cards in the device list
Sergey Sharybin [Sat, 20 Jun 2015 15:34:12 +0000 (17:34 +0200)]
Cycles: Don't show pre-sm_20 CUDA cards in the device list

5 years agoSCons: Enable sm_52 CUDA kernel on all platforms
Sergey Sharybin [Sat, 20 Jun 2015 15:00:29 +0000 (17:00 +0200)]
SCons: Enable sm_52 CUDA kernel on all platforms

5 years agoCycles: Cleanup, make it more obvious which platform requires workaround for triangle...
Sergey Sharybin [Sat, 20 Jun 2015 14:57:19 +0000 (16:57 +0200)]
Cycles: Cleanup, make it more obvious which platform requires workaround for triangle intersection

Should be no functional changes.

5 years agoBGE: Fix T38030: wrong vertex index returned by KX_PolyProxy
Porteries Tristan [Sat, 20 Jun 2015 12:21:31 +0000 (14:21 +0200)]
BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy

Fix T38030.
In c++ source we use one list for triangles and an other for quads, but KX_PolyProxy doesn't care about that and return the vertex offset in its list. So we just have to compute the offset of each RAS_DisplayArray to its previous to have an absolute vertex index.

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

Reviewed By: agoose77, hg1

Projects: #game_engine

Maniphest Tasks: T38030

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

5 years agoBGE: dissallow calling reverse on internal clists
Campbell Barton [Sat, 20 Jun 2015 10:02:16 +0000 (20:02 +1000)]
BGE: dissallow calling reverse on internal clists

5 years agomissed last commit
Campbell Barton [Sat, 20 Jun 2015 09:47:34 +0000 (19:47 +1000)]
missed last commit

5 years agoTransform: UV islands were split by winding
Campbell Barton [Sat, 20 Jun 2015 09:28:51 +0000 (19:28 +1000)]
Transform: UV islands were split by winding

This meant front/back faces from a projection would be seen as separate islands.

5 years agoMinor edit to transform-uv-island center calc
Campbell Barton [Sat, 20 Jun 2015 09:13:49 +0000 (19:13 +1000)]
Minor edit to transform-uv-island center calc

Only count each UV to influence the center once.

5 years agosupport ninja for netbeans projects
Campbell Barton [Sat, 20 Jun 2015 08:24:06 +0000 (18:24 +1000)]
support ninja for netbeans projects

5 years agoSculpt lasso (used shorts for no good reason)
Campbell Barton [Sat, 20 Jun 2015 07:57:50 +0000 (17:57 +1000)]
Sculpt lasso (used shorts for no good reason)

5 years agoCleanup: use listbase clear
Campbell Barton [Sat, 20 Jun 2015 07:09:05 +0000 (17:09 +1000)]
Cleanup: use listbase clear

5 years agoBMesh: simplify join-tri's
Campbell Barton [Sat, 20 Jun 2015 06:48:59 +0000 (16:48 +1000)]
BMesh: simplify join-tri's

5 years agoBMesh: minor optimization for UV island walker
Campbell Barton [Sat, 20 Jun 2015 06:39:05 +0000 (16:39 +1000)]
BMesh: minor optimization for UV island walker

5 years agoCleanup: checks for unsupported MSVC versions
Campbell Barton [Sat, 20 Jun 2015 05:17:32 +0000 (15:17 +1000)]
Cleanup: checks for unsupported MSVC versions

5 years agoCleanup: unused vars
Campbell Barton [Sat, 20 Jun 2015 05:17:21 +0000 (15:17 +1000)]
Cleanup: unused vars

5 years agoFix T45109: multi-view regression /w screen-cast
Campbell Barton [Sat, 20 Jun 2015 04:53:05 +0000 (14:53 +1000)]
Fix T45109: multi-view regression /w screen-cast

5 years agoBGE Cleanup: Translation of several comments in Dutch
Jorge Bernal [Fri, 19 Jun 2015 23:18:39 +0000 (01:18 +0200)]
BGE Cleanup: Translation of several comments in Dutch

5 years agoBGE Cleanup: remove dead code at SetCenterOfMassTransform
Jorge Bernal [Fri, 19 Jun 2015 23:00:22 +0000 (01:00 +0200)]
BGE Cleanup: remove dead code at SetCenterOfMassTransform

Basically, at this line body is always NULL and the code is never
executed

Reviewers: moguri, hg1, panzergame, agoose77

Reviewed By: hg1, panzergame, agoose77

Subscribers: blueprintrandom

Projects: #game_engine

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

5 years agoSCons: Fix missing file in kernel when building on OSX
Sergey Sharybin [Fri, 19 Jun 2015 19:26:47 +0000 (21:26 +0200)]
SCons: Fix missing file in kernel when building on OSX

5 years agoSCons: Another attempt to fix bundling on OSX
Sergey Sharybin [Fri, 19 Jun 2015 17:52:47 +0000 (19:52 +0200)]
SCons: Another attempt to fix bundling on OSX

5 years agoSCons: Fix wrong bunding of Cycles kernel on OSX platform
Sergey Sharybin [Fri, 19 Jun 2015 17:37:16 +0000 (19:37 +0200)]
SCons: Fix wrong bunding of Cycles kernel on OSX platform

5 years agoBGE: Simplify collision callback registration.
Porteries Tristan [Fri, 19 Jun 2015 09:52:37 +0000 (11:52 +0200)]
BGE: Simplify collision callback registration.

Remove list m_triggerController and just use getter CcdPhysicsController->Registered().

Reviewers: sybren, agoose77

5 years agoRNA: Don't fill in color grid array when built without smoke
Sergey Sharybin [Fri, 19 Jun 2015 11:55:31 +0000 (13:55 +0200)]
RNA: Don't fill in color grid array when built without smoke

Array length is set to 0 in that case, so filling in first element is
likely to cause memory corruptions.

5 years agoExpose smoke simulation velocities in Python API
Johannes Meng [Fri, 19 Jun 2015 11:45:26 +0000 (13:45 +0200)]
Expose smoke simulation velocities in Python API

This patch exposes smoke simulation velocities in the Python API,
similar to how density and flame grids are exposed.

This is useful to export velocities to an external renderer using Python.

Reviewers: campbellbarton, sergey

Reviewed By: sergey

Subscribers: sergey

Projects: #bf_blender

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

5 years agoSupport half float file format storage for Multilayer EXR
Sergey Sharybin [Fri, 19 Jun 2015 11:00:18 +0000 (13:00 +0200)]
Support half float file format storage for Multilayer EXR

Quite straightforward implementation -- all the conversion magic is
happening in IMB_exr_write_channels() and remained changes are only
needed to pass information whether channels is to be converted to
half float or not.

Regular file output will use full-float for Z pass, which matches
behavior of the single layer EXR files. But when saving happens
with File Output node then all the passes are respecting half float
settings because it's not possible to distinguish whether we're
saving Z pass or not.

Reviewers: juicyfruit, campbellbarton

Reviewed By: campbellbarton

Subscribers: maxon, effstops, fsiddi

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

5 years agoTransform: Add individual origins for UV islands
Campbell Barton [Fri, 19 Jun 2015 11:15:13 +0000 (21:15 +1000)]
Transform: Add individual origins for UV islands

Useful for scaling all UV islands

5 years agoBLI_threads Queue: add `BLI_thread_queue_is_empty()`.
Bastien Montagne [Fri, 19 Jun 2015 10:30:21 +0000 (12:30 +0200)]
BLI_threads Queue: add `BLI_thread_queue_is_empty()`.

Avoids counting the whole queue when we only want to check whether it is empty or not!