blender.git
4 years agoMakefile: show build dir when configuring
Campbell Barton [Mon, 21 Sep 2015 14:16:53 +0000 (00:16 +1000)]
Makefile: show build dir when configuring

4 years agoSequencer: show X,Y in text effect location
Campbell Barton [Mon, 21 Sep 2015 14:15:37 +0000 (00:15 +1000)]
Sequencer: show X,Y in text effect location

4 years agoArmature drawing: custom shape scale options
Campbell Barton [Mon, 21 Sep 2015 13:49:58 +0000 (23:49 +1000)]
Armature drawing: custom shape scale options

- Custom scale:
  Avoids having multiple custom-shapes at different sizes.
- Option not to use bones length:
  So changes in edit-mode don't resize the custom-shape.

4 years agoRender: Free persistent image storage when loading new file
Sergey Sharybin [Mon, 21 Sep 2015 13:41:36 +0000 (18:41 +0500)]
Render: Free persistent image storage when loading new file

4 years agoRecent change for Py3.6 compat caused fatal-error
Campbell Barton [Mon, 21 Sep 2015 13:02:50 +0000 (23:02 +1000)]
Recent change for Py3.6 compat caused fatal-error

Revert back to old method, and define Py_BUILD_CORE to expose internals.

4 years agoFix (unreported) Append/link code: All library datablocks could end with same name.
Bastien Montagne [Mon, 21 Sep 2015 13:01:55 +0000 (15:01 +0200)]
Fix (unreported) Append/link code: All library datablocks could end with same name.

This was broken since ages I think, did not really hurt since we usually never use libs' names
to access them. Rather bad behavior however, breaking a ground rule of our ID system!

And no real reason to add new libraries to new (split) Main at all, libraries are
never considered linked datablocks, which means they should always be in 'main' Main->library list.

Not a regression, but should be included in 2.76 imho.

4 years agoFix T46159: OpenSubdiv does not always give same results as Blender own subsurf code...
Sergey Sharybin [Mon, 21 Sep 2015 12:53:21 +0000 (17:53 +0500)]
Fix T46159: OpenSubdiv does not always give same results as Blender own subsurf code with crease edges

4 years agoSmall fix for depsgraph debug graphviz: empty labels for edges require an explicit id.
Lukas Tönne [Mon, 21 Sep 2015 10:46:07 +0000 (12:46 +0200)]
Small fix for depsgraph debug graphviz: empty labels for edges require an explicit id.

4 years agoSome minor tweaks to depsgraph debug graphviz output.
Lukas Tönne [Mon, 21 Sep 2015 10:16:30 +0000 (12:16 +0200)]
Some minor tweaks to depsgraph debug graphviz output.

- Removed relation labels, since these mostly just reflect connected nodes, and also appear too far off the edge lines
- Draw cyclic links in dark red
- Slightly thicker edges and larger margins

4 years agoFix view-selected w/ custom bone shapes
Campbell Barton [Mon, 21 Sep 2015 05:03:31 +0000 (15:03 +1000)]
Fix view-selected w/ custom bone shapes

Was ignoring bone-length, also check that drawing shapes is enabled.

4 years agoFix T46186: Panel doesn't update on brush change
Campbell Barton [Mon, 21 Sep 2015 00:32:14 +0000 (10:32 +1000)]
Fix T46186: Panel doesn't update on brush change

4 years agoFix linker warning about zero length memset.
Brecht Van Lommel [Sun, 20 Sep 2015 23:59:00 +0000 (01:59 +0200)]
Fix linker warning about zero length memset.

4 years agoFix T43715: IK pole target + stretch not working for a single bone chain.
Brecht Van Lommel [Sun, 20 Sep 2015 23:48:37 +0000 (01:48 +0200)]
Fix T43715: IK pole target + stretch not working for a single bone chain.

4 years agoRNA: angle step-sizes were too small
Campbell Barton [Sun, 20 Sep 2015 23:44:14 +0000 (09:44 +1000)]
RNA: angle step-sizes were too small

These were ignored previously, so it wasn't noticeable.

4 years agoFix node auto-offset failing during heavy compositing (sometimes)
Julian Eisel [Sun, 20 Sep 2015 22:55:37 +0000 (00:55 +0200)]
Fix node auto-offset failing during heavy compositing (sometimes)

Compositing might make main thread so busy that animation is considered done due to duration before final position is reached.

Also added check to avoid unnecessary redraws.

4 years agoFix T46050: blender internal geometry node UV not working inside node group.
Brecht Van Lommel [Sun, 20 Sep 2015 21:05:27 +0000 (23:05 +0200)]
Fix T46050: blender internal geometry node UV not working inside node group.

4 years agoFix T46144: blender internal face texture color wrong in raytraced reflection.
Brecht Van Lommel [Sun, 20 Sep 2015 20:51:10 +0000 (22:51 +0200)]
Fix T46144: blender internal face texture color wrong in raytraced reflection.

4 years agoFix compiling with GE
Julian Eisel [Sun, 20 Sep 2015 19:11:08 +0000 (21:11 +0200)]
Fix compiling with GE

Enabled Freestyle instead of GE :| Sry

4 years agoFix T46180: Theme > UV Image editor > Scope Background does not have any effect
Julian Eisel [Sun, 20 Sep 2015 18:17:19 +0000 (20:17 +0200)]
Fix T46180: Theme > UV Image editor > Scope Background does not have any effect

4 years agoCleanup: Use new vector transform functions
Julian Eisel [Sun, 20 Sep 2015 16:11:25 +0000 (18:11 +0200)]
Cleanup: Use new vector transform functions

4 years agoGL-utils: Add vector transform functions
Julian Eisel [Sun, 20 Sep 2015 15:21:06 +0000 (17:21 +0200)]
GL-utils: Add vector transform functions

Might also be useful to have _neg versions of these (done quite often),
but decided to keep it simple for now.

4 years agoCleanup: warning, style
Campbell Barton [Sun, 20 Sep 2015 20:59:50 +0000 (06:59 +1000)]
Cleanup: warning, style

4 years agofix build error w/ clang
Campbell Barton [Sun, 20 Sep 2015 10:27:09 +0000 (20:27 +1000)]
fix build error w/ clang

4 years agoWord wrap support for frame node
Campbell Barton [Sun, 20 Sep 2015 07:48:39 +0000 (17:48 +1000)]
Word wrap support for frame node

4 years agoFix T46169: Link to bpy API in addons tab of user preferences is outdated.
Bastien Montagne [Sun, 20 Sep 2015 07:49:36 +0000 (09:49 +0200)]
Fix T46169: Link to bpy API in addons tab of user preferences is outdated.

Now use auto-generated one, like e.g. for link in Help main menu...

4 years agoFix T46161: Rotate around selection changes bezier curve handle type.
Bastien Montagne [Sat, 19 Sep 2015 09:08:21 +0000 (11:08 +0200)]
Fix T46161: Rotate around selection changes bezier curve handle type.

Issue is, when 'Rotate Aroud Selection' is set, in Edit mode we do a fake transform operation
to get center point around which to rotate. For curves, most transform operations involve
a check of handle types. For now, added 'TFM_DUMMY' as an exception here.

Think it would be best to actually undo those changes in case of cancelled operation,
but this is much more involved, while this fix is safe enough to be included in final 2.76.

4 years agoFix for building w/ Python3.6
Campbell Barton [Sat, 19 Sep 2015 07:44:44 +0000 (17:44 +1000)]
Fix for building w/ Python3.6

4 years agoFix leak in UI Panels
Campbell Barton [Sat, 19 Sep 2015 07:38:36 +0000 (17:38 +1000)]
Fix leak in UI Panels

Switching screens quickly didn't free the panels activedata.

4 years agoUI: tooltip layout tweaks
Campbell Barton [Sat, 19 Sep 2015 05:11:57 +0000 (15:11 +1000)]
UI: tooltip layout tweaks

- enable word-wrap for all tip text to align vertically.
- draw enum identifier at the end of the last line, not first.

4 years agoBLF: correct ResultBLF.width value when wrapping
Campbell Barton [Sat, 19 Sep 2015 04:45:56 +0000 (14:45 +1000)]
BLF: correct ResultBLF.width value when wrapping

4 years agoUI: word-wrap for tooltips, broke text alignment
Campbell Barton [Sat, 19 Sep 2015 04:50:35 +0000 (14:50 +1000)]
UI: word-wrap for tooltips, broke text alignment

This wasn't visible with default settings,
but caused problems w/ pie-menu's & manually adjusted theme font-size.

Now only draw from the bound-box top w/ word-wrap enabled.

4 years agoFile Browser: Scroll view on normal selection too
Julian Eisel [Sat, 19 Sep 2015 02:24:48 +0000 (04:24 +0200)]
File Browser: Scroll view on normal selection too

Adjusts view after mouse/border selection if some selected items are out of view bounds.
To get as much of the selection into view as possible, this adjusts view first for the last, then for the first element in the selection.
Also, if region is pretty small, view adjustment is skipped, as otherwise the view is focused on the first element only, which isn't really useful IMHO.

Maybe not so nice: Since we do two view alignment iterations, UI_view2d_curRect_validate, which is a rather big function *might* be called twice under certain circumstances (border select & total size of selected elements is exceeds view bounds). I think that's totally acceptable though.

4 years agoFile Browser: Scroll view with arrow keys navigation
Julian Eisel [Sat, 19 Sep 2015 01:29:06 +0000 (03:29 +0200)]
File Browser: Scroll view with arrow keys navigation

Adjusts view to display active file after using arrow keys to navigate through files.

4 years agoCorrection to previous commit
Julian Eisel [Sat, 19 Sep 2015 01:17:06 +0000 (03:17 +0200)]
Correction to previous commit

4 years agoFix file key select using wrong file after border select in scrolled view
Julian Eisel [Sat, 19 Sep 2015 01:05:08 +0000 (03:05 +0200)]
Fix file key select using wrong file after border select in scrolled view

Basically, after border selecting, a wrong file was selected by using arrow keys if the screen was scrolled a bit vertically. Reason was that we didn't use correct view space coordinates but region space coordinates for measuring distance from mouse to first/last file in selection after border select.

4 years agoFix T46155: Sequencer Text Effect: wrong vertical 'TOP' alignment.
Bastien Montagne [Fri, 18 Sep 2015 21:01:31 +0000 (23:01 +0200)]
Fix T46155: Sequencer Text Effect: wrong vertical 'TOP' alignment.

Logic was broken for this vertical alignment option - we need to remove one line height here...

4 years agoFix T46030: Strange behavior of Cycles Brick Texture
Sergey Sharybin [Fri, 18 Sep 2015 12:28:40 +0000 (17:28 +0500)]
Fix T46030: Strange behavior of Cycles Brick Texture

Added some extra seed to the hash, so it's now less likely to give repetitive
patters at values around zero.

This will change distribution of bricks for existing files. but it's something
inevitable.

4 years agoImage Stamp: word-wrap support for 'note' text
Campbell Barton [Fri, 18 Sep 2015 10:37:53 +0000 (20:37 +1000)]
Image Stamp: word-wrap support for 'note' text

4 years agoSequencer: word-wrap support for sequencer text
Campbell Barton [Fri, 18 Sep 2015 10:29:35 +0000 (20:29 +1000)]
Sequencer: word-wrap support for sequencer text

Also add vertical alignment option,
default align to bottom for subtitles.

4 years agoUI: word-wrap support for tooltips
Campbell Barton [Fri, 18 Sep 2015 10:21:25 +0000 (20:21 +1000)]
UI: word-wrap support for tooltips

Tooltips will automatically wrap when exceeding UI_TIP_MAXWIDTH.

4 years agoBLF: initial word-wrap support
Campbell Barton [Fri, 18 Sep 2015 10:10:26 +0000 (20:10 +1000)]
BLF: initial word-wrap support

- Adds support for word wrapping to Blender's BLF font library.
- Splits lines when width limit is reached or on explicit \n newlines.

Details:

- Word wrapping is used when `BLF_WORD_WRAP` flag is enabled.
- There is a single loop to handle line wrapping,
  this runs callback, passing in a substring,
  this way we can avoid code-duplication for all word-wrapped
  versions of functions... OR... avoid having to add support
  for word-wrapping directly into each function.
- The `ResultBLF` struct was added to be able to get the number
  of wrapped lines, when calling otherwise unrelated functions
  such as `BLF_draw/BLF_width/BLF_boundbox`,
  which can be passed as the last argument to `BLF_*_ex()` functions.
- The `ResultBLF` struct is used to store the result of drawing
  (currently only the number of lines wrapped, and the width).

4 years agoDoc: remove todo's from BMesh code
Campbell Barton [Thu, 17 Sep 2015 21:39:56 +0000 (07:39 +1000)]
Doc: remove todo's from BMesh code

These were out of date and better have outside the source.

Also clarify BMLoop description.

4 years agoMinor edits to sys-info
Campbell Barton [Mon, 14 Sep 2015 16:39:40 +0000 (02:39 +1000)]
Minor edits to sys-info

- remove byte b''
- remove always false check for missing buildinfo.
- use textwrap module

4 years agoCycles: simplify logic for calculating dof-dist
Campbell Barton [Mon, 7 Sep 2015 03:29:52 +0000 (13:29 +1000)]
Cycles: simplify logic for calculating dof-dist

Matches change from BKE_camera

4 years agoUse squared length where possible
Campbell Barton [Sun, 6 Sep 2015 14:48:26 +0000 (00:48 +1000)]
Use squared length where possible

4 years agoCleanup: simplify PyBMesh customdata API use
Campbell Barton [Tue, 1 Sep 2015 10:22:51 +0000 (20:22 +1000)]
Cleanup: simplify PyBMesh customdata API use

4 years agoCleanup: remove unused WriteFile members
Campbell Barton [Mon, 31 Aug 2015 15:56:03 +0000 (01:56 +1000)]
Cleanup: remove unused WriteFile members

4 years agoSupport relative frames w/ start/end args
Campbell Barton [Sat, 29 Aug 2015 15:20:03 +0000 (01:20 +1000)]
Support relative frames w/ start/end args

4 years agoFix UI crash entering very long strings
Campbell Barton [Fri, 18 Sep 2015 06:30:47 +0000 (16:30 +1000)]
Fix UI crash entering very long strings

Strings exceeding UI_MAX_DRAW_STR weren't null terminated.

4 years agoFix T46148: Sculpt view-clip fails in ortho mode
Campbell Barton [Fri, 18 Sep 2015 05:29:49 +0000 (15:29 +1000)]
Fix T46148: Sculpt view-clip fails in ortho mode

4 years agoAddress request from T46136: make softrange for 'simple deform' angle from -360 to...
Bastien Montagne [Fri, 18 Sep 2015 06:27:04 +0000 (08:27 +0200)]
Address request from T46136: make softrange for 'simple deform' angle from -360 to 360 degrees...

This should be safe enough for final 2.76, sould we make other RC.

4 years agoDoc: escape enum name & description
Campbell Barton [Thu, 17 Sep 2015 15:47:58 +0000 (01:47 +1000)]
Doc: escape enum name & description

Needed since key enum now uses many characters as they're typed.

4 years ago2.75 splash
Campbell Barton [Thu, 17 Sep 2015 14:05:33 +0000 (00:05 +1000)]
2.75 splash

by The Alike Team

4 years agoFix hidden auto-offset glitch
Julian Eisel [Thu, 17 Sep 2015 13:48:55 +0000 (15:48 +0200)]
Fix hidden auto-offset glitch

Steps to reproduce were: Open F233831, insert floating node into nearby link (so that it's not attached to frame).

4 years agoFix for broken tree offset after recent change for cyclic nodes support
Sergey Sharybin [Thu, 17 Sep 2015 12:28:13 +0000 (17:28 +0500)]
Fix for broken tree offset after recent change for cyclic nodes support

4 years agoFix T46143: Faces missing with GPU render
Sergey Sharybin [Thu, 17 Sep 2015 12:17:29 +0000 (17:17 +0500)]
Fix T46143: Faces missing with GPU render

Epsilon was quite arbitrary for GPU, replaced with checking for zero-sized faces.

It should solve both original report and the new one. After the release we can check
why GPU doesn't produce accurate math here and go to the root of the issue.

4 years agoFix T46134: units degrees increment are too small
Campbell Barton [Thu, 17 Sep 2015 11:50:40 +0000 (21:50 +1000)]
Fix T46134: units degrees increment are too small

The user interface was ignoring the precision step size for degrees,
making all rotation inputs drag by a 100th of a degree.

Now use a 10th of a degree instead.

4 years agoFix T46139: Crash when inserting a node in a looped node structure
Sergey Sharybin [Thu, 17 Sep 2015 11:16:41 +0000 (16:16 +0500)]
Fix T46139: Crash when inserting a node in a looped node structure

4 years agoFix for recent regression clamping materials
Campbell Barton [Thu, 17 Sep 2015 10:40:51 +0000 (20:40 +1000)]
Fix for recent regression clamping materials

Mixup between gpu/derivedMesh total materials, fix and name more clearly to avoid confusion.
thanks to Sergey for finding root cause!

4 years agoCMake: Another attempt to solve compilation error on Windows
Sergey Sharybin [Thu, 17 Sep 2015 09:29:56 +0000 (14:29 +0500)]
CMake: Another attempt to solve compilation error on Windows

4 years agoCMake: Attempt to fix compilation error on Windows after recent changes
Sergey Sharybin [Thu, 17 Sep 2015 09:17:00 +0000 (14:17 +0500)]
CMake: Attempt to fix compilation error on Windows after recent changes

4 years agoFix T46090: Blender game embedded player crash
Sybren A. Stüvel [Thu, 17 Sep 2015 08:14:08 +0000 (10:14 +0200)]
Fix T46090: Blender game embedded player crash

SCons didn't pass `-DWITH_AUDASPACE` to the compiler, so it skipped the
instantiation of the "aud" Python module. This caused a crash of the BGE,
which did get the `-DWITH_AUDASPACE` directive, and expected that module
to exist.

Reviewed by: lukastoenne

4 years agoCorrection to previous commit.
Bastien Montagne [Wed, 16 Sep 2015 20:23:05 +0000 (22:23 +0200)]
Correction to previous commit.

Mostly styling, but also str_exec would often remain undefined...

4 years agoFix (unreported): Filebrowser key navigation entry did not change caption correctly
Thomas Beck [Wed, 16 Sep 2015 20:03:06 +0000 (22:03 +0200)]
Fix (unreported): Filebrowser key navigation entry did not change caption correctly

As of this release we're able to navigate with the keyboard in the filebrowsing area. The button caption is changing to an appropriate string whenever a new entry is selected. In @Severins original code a different method was used to determine if a directory was choosen or not, but this got lost while merging the filebrowser rework.

Thanks to @mont29 for review!

4 years agoFix T46130: Vertex/wire no visible with OpenSubdiv in edit mode
Sergey Sharybin [Wed, 16 Sep 2015 18:00:50 +0000 (23:00 +0500)]
Fix T46130: Vertex/wire no visible with OpenSubdiv in edit mode

For now simply show warning in the interface and fallback to regular subsurf
code. Supporting OpenSubdiv in edit mode in possible but not high priority
currently.

4 years agoFix T46128: High Quality DoF broken
Sergey Sharybin [Wed, 16 Sep 2015 17:38:46 +0000 (22:38 +0500)]
Fix T46128: High Quality DoF broken

The issue was caused by some special tricks needed to compile OpenSubdiv shader
which was using stupid check whether geometry shader is used or not.

Now made it more explicit call whether special OpenSubdiv trickery is needed or
not.

Its not ideal solution, but it's not really easy to do a proper solution for
this, because while we can do half of the work with if-defs in the shader code
but we'll still need to somewhat define layout of the input blocks which isn't
really doable with current shader version we're using.

4 years agoOpenSubdiv: Fix crash caused by accessing OpenGL vendor from non-main thread
Sergey Sharybin [Wed, 16 Sep 2015 17:23:07 +0000 (22:23 +0500)]
OpenSubdiv: Fix crash caused by accessing OpenGL vendor from non-main thread

4 years agoComment unused sequencer prefetch
Campbell Barton [Wed, 16 Sep 2015 17:00:32 +0000 (03:00 +1000)]
Comment unused sequencer prefetch

4 years agoUI: Curve clipping didn't enforce zoom.
Campbell Barton [Wed, 16 Sep 2015 16:51:50 +0000 (02:51 +1000)]
UI: Curve clipping didn't enforce zoom.

4 years agoFix T46126: Anchored sculpt fail when cursor leaves mesh
Campbell Barton [Wed, 16 Sep 2015 16:08:22 +0000 (02:08 +1000)]
Fix T46126: Anchored sculpt fail when cursor leaves mesh

4 years agoOpenSubdiv: Attempt to solve crash in background mode
Sergey Sharybin [Wed, 16 Sep 2015 15:33:16 +0000 (20:33 +0500)]
OpenSubdiv: Attempt to solve crash in background mode

4 years agoCode cleanup, whitespace
Sergey Sharybin [Wed, 16 Sep 2015 15:26:58 +0000 (20:26 +0500)]
Code cleanup, whitespace

4 years agoOpenSubdiv: Fix for missing caching of vendor string parsing result
Sergey Sharybin [Wed, 16 Sep 2015 15:23:32 +0000 (20:23 +0500)]
OpenSubdiv: Fix for missing caching of vendor string parsing result

4 years agoFllowup to previous commit, remove unused code
Sergey Sharybin [Wed, 16 Sep 2015 15:20:16 +0000 (20:20 +0500)]
Fllowup to previous commit, remove unused code

4 years agoFix T45708: OpenSubdiv crashes on Windows with Intel cards
Sergey Sharybin [Wed, 16 Sep 2015 14:17:12 +0000 (19:17 +0500)]
Fix T45708: OpenSubdiv crashes on Windows with Intel cards

Disable Intel cards for until we'll go to the root of the issue of the crash.
This will take a bit, so being so close to the release we go safe and disable
unstable GPU, so blender at least doesn't crash.

This could be bypassed by setting OPENSUBDIV_ALLOW_INTEL environment variable.

4 years agoGet rid of leftover from refactor of VBO code. Thanks to severin for
Antony Riakiotakis [Wed, 16 Sep 2015 14:22:18 +0000 (17:22 +0300)]
Get rid of leftover from refactor of VBO code. Thanks to severin for
noticing

4 years agoCMake: Don't modify global CFlags when enabling/disabling OpenJpeg
Sergey Sharybin [Wed, 16 Sep 2015 14:08:26 +0000 (19:08 +0500)]
CMake: Don't modify global CFlags when enabling/disabling OpenJpeg

4 years agoFix T46105, disable viewport compositing when non power of two texture
Antony Riakiotakis [Wed, 16 Sep 2015 14:04:12 +0000 (17:04 +0300)]
Fix T46105, disable viewport compositing when non power of two texture
support is missing.

Supporting those (really) old GPUs requires us to make shaders more
expensive by converting between real and scaled coordinates and be wary
of such conversion caveats when handling uv coordinates in shaders. Not
worth the cost for supporting hardware that old.

4 years agoFix T46073: crash w/ out-of-bounds material
Campbell Barton [Tue, 15 Sep 2015 21:39:23 +0000 (07:39 +1000)]
Fix T46073: crash w/ out-of-bounds material

4 years agoFix T45389 Windows thumbnails not working.
Antony Riakiotakis [Tue, 15 Sep 2015 21:28:09 +0000 (00:28 +0300)]
Fix T45389 Windows thumbnails not working.

Also they did not work when using blender -R from
command line in 64-bit systems.
Issue was checking for wrong define which would
cause code to detect if the blender executable
functions under 32 bit emulation.
For 64bit executables this is false, leading
blender to believe we are operating under a 32bit
system, and registration would try to register
the 32bit thumbnailer.

This 32 bit dll is (correctly) missing for local
installs and from the new installer, thus no thumbnails.

4 years agoFix for text editor un-indent undo
Campbell Barton [Tue, 15 Sep 2015 17:30:02 +0000 (03:30 +1000)]
Fix for text editor un-indent undo

Same issue as T44381, re-use logic for indent.

4 years agoFix T46093: Thumbnails/previews of materials/textures not displaying in Blender fileb...
Bastien Montagne [Tue, 15 Sep 2015 10:51:13 +0000 (12:51 +0200)]
Fix T46093: Thumbnails/previews of materials/textures not displaying in Blender filebrowser when only one thread is available.

Using the global scheduler here is not a really good idea - `filelist_cache_previewf()` is not a short task
that run once, but it's a loop that keeps cheking for work in a TODO queue. This means it won't quickly allow other tasks
to start, so it should not be in the global scheduler.

In fact, asynchronous tasks (that is, tasks that will live for quite a bit of time, and often sleep a lot) should never use
global scheduler, they would steal computing resources from heavy-duty, short-time living ones - and possibly even completely
stall threaded tasks (if all worker threads are executing long-life tasks...).

We could probably even completely bypass the scheduler/task thing here (and directly use threads), but it does not have
that much of an over-head, and still offers easy handling of threading stuff...

4 years agoFix T46113: Color picker erratic outside 0-1 range
Campbell Barton [Tue, 15 Sep 2015 11:22:33 +0000 (21:22 +1000)]
Fix T46113: Color picker erratic outside 0-1 range

4 years agoCleanup: hide clnors warning prints behind G.debug, those can get annoyingly verbose...
Bastien Montagne [Tue, 15 Sep 2015 10:03:58 +0000 (12:03 +0200)]
Cleanup: hide clnors warning prints behind G.debug, those can get annoyingly verbose...

4 years agoFix wm leak loading factory-startup
Campbell Barton [Tue, 15 Sep 2015 07:43:26 +0000 (17:43 +1000)]
Fix wm leak loading factory-startup

4 years agoBGE: make error message more clear when trying to de/activate actuator from non-activ...
Dalai Felinto [Tue, 15 Sep 2015 03:01:09 +0000 (00:01 -0300)]
BGE: make error message more clear when trying to de/activate actuator from non-active controller

4 years agoFix T46114: paint face-mask hide clears sharp flag
Campbell Barton [Mon, 14 Sep 2015 19:42:47 +0000 (05:42 +1000)]
Fix T46114: paint face-mask hide clears sharp flag

4 years agoFix T46109: Bitmap font objects leads to unfreed memory.
Bastien Montagne [Mon, 14 Sep 2015 15:12:40 +0000 (17:12 +0200)]
Fix T46109: Bitmap font objects leads to unfreed memory.

4 years agoFix T45699: BGE auto-run exits immediately
Campbell Barton [Mon, 14 Sep 2015 13:37:33 +0000 (23:37 +1000)]
Fix T45699: BGE auto-run exits immediately

4 years agoFix T46099: snapping failed on objects with some NULL-dimension in their bbox.
Bastien Montagne [Mon, 14 Sep 2015 10:51:04 +0000 (12:51 +0200)]
Fix T46099: snapping failed on objects with some NULL-dimension in their bbox.

Added a helper that ensures a bbox has some non-NULL dimension along all its axes.

Also, fixed some (rather unlikely) NULL dereference cases (though it should not in this context,
`BKE_object_boundbox_get()` can return NULL).

4 years agoFix T46106: Hidden socket w/ node link from Py API
Campbell Barton [Mon, 14 Sep 2015 10:39:20 +0000 (20:39 +1000)]
Fix T46106: Hidden socket w/ node link from Py API

Internally this was OK, but an invalid state from the users POV.

4 years agoFix T45699: own regression w/ looptri update
Campbell Barton [Mon, 14 Sep 2015 05:55:43 +0000 (15:55 +1000)]
Fix T45699: own regression w/ looptri update

Baking was still checking tessface in parts.

4 years agoAlternate fix for offscreen render w/o npot
Campbell Barton [Mon, 14 Sep 2015 03:18:43 +0000 (13:18 +1000)]
Alternate fix for offscreen render w/o npot

Store the original texture size,
since its needed for reading pixels and passing to glViewport.

4 years agoRevert "Fix crash in opengl render caused..."
Campbell Barton [Mon, 14 Sep 2015 03:13:44 +0000 (13:13 +1000)]
Revert "Fix crash in opengl render caused..."

This reverts commit d64b1221c67846bb954855a19c8dd093b83adc8e.

While this prevents the crash, offscreen renders still aren't working right.

4 years agoFix crash in opengl render caused by gfx being blacklisted for
Joe Eagar [Sun, 13 Sep 2015 21:51:36 +0000 (14:51 -0700)]
Fix crash in opengl render caused by gfx being blacklisted for
non-power-of-2 texture support.  Note that all I did was pass
the correct width/height into glReadPixels; the result may not
be the same as if non2 textures were enabled.

4 years agoFix T43033: VideoTexture module repeated loading of images causes memory leak
Porteries Tristan [Sun, 13 Sep 2015 15:50:27 +0000 (17:50 +0200)]
Fix T43033: VideoTexture module repeated loading of images causes memory leak

Fix proposal for memory leak caused by png decoding in videoFFmpeg.cpp

T43033

Author: Ulysse MARTIN (youle)

Reviewers: dfelinto, ben2610, moguri, lordloki, panzergame

Reviewed By: lordloki, panzergame

Subscribers: panzergame, lordloki

Projects: #game_engine

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

4 years agoCleanup: spelling
Campbell Barton [Sun, 13 Sep 2015 16:21:15 +0000 (02:21 +1000)]
Cleanup: spelling

4 years agoFix T46089: Text from Effect Strip is invisible in VSE Preview.
Bastien Montagne [Sun, 13 Sep 2015 12:51:50 +0000 (14:51 +0200)]
Fix T46089: Text from Effect Strip is invisible in VSE Preview.

Deviding two ints together never yields a float... Also, logic of various proxies size corrections was quite broken.
Now we should always get the same (relative) size of text whatever proxy setting/render scale is chosen.

4 years agoFix T46091: Video Sequencer rewrite *.png to _.png
Bastien Montagne [Sun, 13 Sep 2015 06:20:48 +0000 (08:20 +0200)]
Fix T46091: Video Sequencer rewrite *.png to _.png

Own mistake when adding filename safety check...

4 years agoCleanup: Quiet some picky warning from Coverity.
Bastien Montagne [Sat, 12 Sep 2015 14:46:27 +0000 (16:46 +0200)]
Cleanup: Quiet some picky warning from Coverity.