Campbell Barton [Thu, 25 Jun 2015 08:29:20 +0000 (18:29 +1000)]
splash fix, previous had color conversion error
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
Campbell Barton [Thu, 25 Jun 2015 05:59:48 +0000 (15:59 +1000)]
API calls for converting weights to float array
Campbell Barton [Wed, 24 Jun 2015 22:32:09 +0000 (08:32 +1000)]
Cleanup: generalize weight paint poll function
Quentin Wenger [Wed, 24 Jun 2015 20:31:11 +0000 (22:31 +0200)]
BGE: Missing dot in 2d filter actuator documentation.
Quentin Wenger [Wed, 24 Jun 2015 13:31:22 +0000 (15:31 +0200)]
BGE: Fix 2dfilter actuator mode constants.
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
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
Campbell Barton [Wed, 24 Jun 2015 08:42:16 +0000 (18:42 +1000)]
Cleanup: warnings
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.
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).
Campbell Barton [Wed, 24 Jun 2015 00:34:38 +0000 (10:34 +1000)]
Correct recent error
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.
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.
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.
Campbell Barton [Tue, 23 Jun 2015 19:13:43 +0000 (05:13 +1000)]
Cleanup: style
Antony Riakiotakis [Tue, 23 Jun 2015 15:48:29 +0000 (17:48 +0200)]
Subsurf: Make color layer aquisition order for textured draw match
cdderivedmesh
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.
Porteries Tristan [Tue, 23 Jun 2015 12:57:38 +0000 (14:57 +0200)]
BGE: Fix 57065a, missing dots.
Campbell Barton [Tue, 23 Jun 2015 11:58:08 +0000 (21:58 +1000)]
Minor tweaks to bge.constraints docs
Campbell Barton [Tue, 23 Jun 2015 11:29:37 +0000 (21:29 +1000)]
Update bge.constraints API doc
D1357 by @Matpi with edits.
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.
Campbell Barton [Tue, 23 Jun 2015 10:28:32 +0000 (20:28 +1000)]
Cleanup: use 2d math funcs for line intersection
Antony Riakiotakis [Tue, 23 Jun 2015 10:58:33 +0000 (12:58 +0200)]
Fix stupid mistake
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
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)
Campbell Barton [Tue, 23 Jun 2015 04:33:17 +0000 (14:33 +1000)]
CMake: quiet warnings in GTest
Campbell Barton [Tue, 23 Jun 2015 04:25:24 +0000 (14:25 +1000)]
CMake: support multiple args to remove_cc_flag
Campbell Barton [Tue, 23 Jun 2015 00:17:00 +0000 (10:17 +1000)]
Allow editing the text editor line directly
Alternate solution for T44855
Campbell Barton [Mon, 22 Jun 2015 22:02:00 +0000 (08:02 +1000)]
Fix T45117: Dark dupli-face objects (regression)
Campbell Barton [Mon, 22 Jun 2015 21:25:10 +0000 (07:25 +1000)]
Missed changing default arg in addon_utils.disable
Campbell Barton [Mon, 22 Jun 2015 21:07:52 +0000 (07:07 +1000)]
Fix T44320: UV island overlap considered linked
Jeroen Bakker [Mon, 22 Jun 2015 18:38:25 +0000 (20:38 +0200)]
Fixed compilation error in editor/animation/anim_markers
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
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.
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
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.
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
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.
Antony Riakiotakis [Mon, 22 Jun 2015 13:18:04 +0000 (15:18 +0200)]
Fix T45136, only draw edges if there's something to draw.
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.
Campbell Barton [Mon, 22 Jun 2015 09:35:00 +0000 (19:35 +1000)]
Fix T45144: Multi-value-edit ignored range
Campbell Barton [Mon, 22 Jun 2015 08:23:59 +0000 (18:23 +1000)]
Fix camera stereo logic use /w regular select
Campbell Barton [Mon, 22 Jun 2015 06:51:22 +0000 (16:51 +1000)]
Fix T45133: Crash drawing material buttons
Campbell Barton [Sun, 21 Jun 2015 22:22:47 +0000 (08:22 +1000)]
Fix memory leak /w multi-drag over a single button
Bastien Montagne [Sun, 21 Jun 2015 20:37:39 +0000 (22:37 +0200)]
Cleanup: Get rid of some ugly magic numbers...
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!
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
Campbell Barton [Sun, 21 Jun 2015 02:52:37 +0000 (12:52 +1000)]
Change defaults for planar-face tool
Campbell Barton [Sun, 21 Jun 2015 02:30:11 +0000 (12:30 +1000)]
Cleanup: quiet warning
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.
Campbell Barton [Sat, 20 Jun 2015 23:46:12 +0000 (09:46 +1000)]
BMesh: 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.
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
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.
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
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.
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
Sergey Sharybin [Sat, 20 Jun 2015 15:00:29 +0000 (17:00 +0200)]
SCons: Enable sm_52 CUDA kernel on all platforms
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.
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
Campbell Barton [Sat, 20 Jun 2015 10:02:16 +0000 (20:02 +1000)]
BGE: dissallow calling reverse on internal clists
Campbell Barton [Sat, 20 Jun 2015 09:47:34 +0000 (19:47 +1000)]
missed last commit
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.
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.
Campbell Barton [Sat, 20 Jun 2015 08:24:06 +0000 (18:24 +1000)]
support ninja for netbeans projects
Campbell Barton [Sat, 20 Jun 2015 07:57:50 +0000 (17:57 +1000)]
Sculpt lasso (used shorts for no good reason)
Campbell Barton [Sat, 20 Jun 2015 07:09:05 +0000 (17:09 +1000)]
Cleanup: use listbase clear
Campbell Barton [Sat, 20 Jun 2015 06:48:59 +0000 (16:48 +1000)]
BMesh: simplify join-tri's
Campbell Barton [Sat, 20 Jun 2015 06:39:05 +0000 (16:39 +1000)]
BMesh: minor optimization for UV island walker
Campbell Barton [Sat, 20 Jun 2015 05:17:32 +0000 (15:17 +1000)]
Cleanup: checks for unsupported MSVC versions
Campbell Barton [Sat, 20 Jun 2015 05:17:21 +0000 (15:17 +1000)]
Cleanup: unused vars
Campbell Barton [Sat, 20 Jun 2015 04:53:05 +0000 (14:53 +1000)]
Fix T45109: multi-view regression /w screen-cast
Jorge Bernal [Fri, 19 Jun 2015 23:18:39 +0000 (01:18 +0200)]
BGE Cleanup: Translation of several comments in Dutch
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
Sergey Sharybin [Fri, 19 Jun 2015 19:26:47 +0000 (21:26 +0200)]
SCons: Fix missing file in kernel when building on OSX
Sergey Sharybin [Fri, 19 Jun 2015 17:52:47 +0000 (19:52 +0200)]
SCons: Another attempt to fix bundling on OSX
Sergey Sharybin [Fri, 19 Jun 2015 17:37:16 +0000 (19:37 +0200)]
SCons: Fix wrong bunding of Cycles kernel on OSX platform
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
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.
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
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
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
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!
Bastien Montagne [Fri, 19 Jun 2015 10:29:06 +0000 (12:29 +0200)]
Cleanup: fix mismatch in printf formating (int/unsigned int).
Noisy and annoying with new gcc5...
Campbell Barton [Fri, 19 Jun 2015 07:40:35 +0000 (17:40 +1000)]
BLI_stack: BLI_stack_pop_n_reverse
Useful to fill an array in the order its added.
Campbell Barton [Fri, 19 Jun 2015 05:54:42 +0000 (15:54 +1000)]
BLI_stack: function comments
Campbell Barton [Thu, 18 Jun 2015 23:41:39 +0000 (09:41 +1000)]
avoid assert with bmesh inset
Campbell Barton [Thu, 18 Jun 2015 16:49:08 +0000 (02:49 +1000)]
Fix leak in edge-offset
Dalai Felinto [Thu, 18 Jun 2015 16:56:11 +0000 (13:56 -0300)]
Fix T45104: RGBA PNG Stereo 3d Anaglyph renders turn all shades of black into alpha in 2.75 RC1
Sergey Sharybin [Thu, 18 Jun 2015 14:15:37 +0000 (16:15 +0200)]
Cycles: Report currently sampling tile when CPU is working on the last tile
This is mainly useful for the render farms output when logging might stop at
the "Path Tracing Tile N/N" string, which makes it a bit difficult to follow
what exactly is happening (node going crazy, hardware issues or just last tile
is too much heavy).
This is more like an experiment, might be changed in the future.
Sergey Sharybin [Thu, 18 Jun 2015 12:07:39 +0000 (14:07 +0200)]
Return non-zero exit code when running blender from the command line and reading file has failed
This way automated scripts can actually see if some issue happened.
Sergey Sharybin [Thu, 18 Jun 2015 09:25:19 +0000 (11:25 +0200)]
Cycles: Don't show devices which does not support OpenCL 1.1 in the menu
They'll be checked for the version later and that check will fail anyway,
so better to not allow user to see unsupported device in the list.
Also corrected one more issue with the device enumeration.
Campbell Barton [Thu, 18 Jun 2015 02:37:24 +0000 (12:37 +1000)]
Assert when relative paths are passed to IO ops
This is typically an error (& hangs a few seconds on win32), best catch early.
Campbell Barton [Thu, 18 Jun 2015 02:19:47 +0000 (12:19 +1000)]
Transform: Improve UV creation efficiency
- was doing 2x spin-locks, multi-view check and hash-lookup per face-corner.
- avoid doing customdata layer lookup per face.
Campbell Barton [Thu, 18 Jun 2015 02:08:59 +0000 (12:08 +1000)]
Fix crash transforming UV /w PET-connected mode
Campbell Barton [Thu, 18 Jun 2015 01:38:07 +0000 (11:38 +1000)]
Fix transform connected UVs memory leak
Campbell Barton [Thu, 18 Jun 2015 01:38:58 +0000 (11:38 +1000)]
Update netbeans project file generator
Tamito Kajiyama [Wed, 17 Jun 2015 23:24:03 +0000 (08:24 +0900)]
Freestyle: Fix for wrong assertion failure upon inverted face normals.
The assertion code was not taking quad faces into account.
Problem report by Folkert de Vries (flokkievids) through personal
communications, thanks!
Campbell Barton [Wed, 17 Jun 2015 21:52:52 +0000 (07:52 +1000)]
update hand written rst docs
- minor corrections
- link to new manual
- wrap lines at 120