blender.git
2 years agoFix return in BKE_scene_layer_find_from_collection
Dalai Felinto [Fri, 3 Feb 2017 09:51:13 +0000 (10:51 +0100)]
Fix return in BKE_scene_layer_find_from_collection

2 years agoBring back the select button for the UI
Dalai Felinto [Thu, 2 Feb 2017 17:06:24 +0000 (18:06 +0100)]
Bring back the select button for the UI

2 years agoDepsgraph hack: DEG_OBJECT_ITER and base_flag
Dalai Felinto [Tue, 31 Jan 2017 13:52:46 +0000 (14:52 +0100)]
Depsgraph hack: DEG_OBJECT_ITER and base_flag

This is a temporary iterator that flushes the base flag to the object

2 years agoUI: temporary panels for layer/collections
Dalai Felinto [Tue, 31 Jan 2017 12:06:26 +0000 (13:06 +0100)]
UI: temporary panels for layer/collections

2 years agobpy.ops.collections.* accessible outside collection editor
Dalai Felinto [Tue, 31 Jan 2017 12:05:02 +0000 (13:05 +0100)]
bpy.ops.collections.* accessible outside collection editor

2 years agobpy.ops.collections.select()
Dalai Felinto [Tue, 31 Jan 2017 12:03:53 +0000 (13:03 +0100)]
bpy.ops.collections.select()

When we introduce overrides we will extend it to have override_index,
and if it is -1, only set the collection

2 years agobpy.ops.collections.collection_new()
Dalai Felinto [Tue, 31 Jan 2017 12:03:31 +0000 (13:03 +0100)]
bpy.ops.collections.collection_new()

2 years agoRemove old layers bitflag from viewport 3d header template
Dalai Felinto [Tue, 31 Jan 2017 10:46:02 +0000 (11:46 +0100)]
Remove old layers bitflag from viewport 3d header template

2 years agoLet scene_collection and layer_collection to have the same fallback
Dalai Felinto [Tue, 31 Jan 2017 10:45:09 +0000 (11:45 +0100)]
Let scene_collection and layer_collection to have the same fallback

2 years agoAdd icon to collection panel
Dalai Felinto [Tue, 31 Jan 2017 09:52:09 +0000 (10:52 +0100)]
Add icon to collection panel

2 years agoFix logic for bpy.context.scene_collection
Dalai Felinto [Tue, 31 Jan 2017 09:46:06 +0000 (10:46 +0100)]
Fix logic for bpy.context.scene_collection

2 years agoUnittest: refresh blender between tests
Dalai Felinto [Tue, 31 Jan 2017 09:14:46 +0000 (10:14 +0100)]
Unittest: refresh blender between tests

2 years agoProperties Editor: Collection context
Dalai Felinto [Mon, 30 Jan 2017 17:24:33 +0000 (18:24 +0100)]
Properties Editor: Collection context

2 years agoCollections Editor: populate header with operators
Dalai Felinto [Mon, 30 Jan 2017 17:23:51 +0000 (18:23 +0100)]
Collections Editor: populate header with operators

2 years agoSceneCollection.objects.active_index (for user interface)
Dalai Felinto [Mon, 30 Jan 2017 17:23:05 +0000 (18:23 +0100)]
SceneCollection.objects.active_index (for user interface)

2 years agoCollection related operators barebones
Dalai Felinto [Mon, 30 Jan 2017 17:10:12 +0000 (18:10 +0100)]
Collection related operators barebones

Those are the operators for the collections editor, and the collection property panel

2 years agoRNA: collection override
Dalai Felinto [Mon, 30 Jan 2017 17:07:38 +0000 (18:07 +0100)]
RNA: collection override

2 years agobpy.context.layer_collection
Dalai Felinto [Mon, 30 Jan 2017 17:07:14 +0000 (18:07 +0100)]
bpy.context.layer_collection

2 years agoCollection Editor based on patch by Julian Eisel
Dalai Felinto [Mon, 30 Jan 2017 13:14:27 +0000 (14:14 +0100)]
Collection Editor based on patch by Julian Eisel

This is extracted from the layer-manager branch. With the following
changes:

* Renamed references of layer manager to collections manager
* I didn't include the editors/space_collections/ draw and util files.

I still need to bring the drawing code here, so we see something.

2 years agoLayers: allow anonymous collection, and set active collection when linking it
Dalai Felinto [Mon, 30 Jan 2017 13:14:52 +0000 (14:14 +0100)]
Layers: allow anonymous collection, and set active collection when linking it

2 years agoMerge remote-tracking branch 'origin/blender2.8' into render-layers
Dalai Felinto [Thu, 26 Jan 2017 18:17:22 +0000 (19:17 +0100)]
Merge remote-tracking branch 'origin/blender2.8' into render-layers

Note:

renamed blo_do_versions_after_linking_280 to do_versions_after_linking_280 to following the pattern of do_versions_after_linking_270

2 years agoMesh batch caches update from depsgraph
Dalai Felinto [Thu, 26 Jan 2017 18:08:27 +0000 (19:08 +0100)]
Mesh batch caches update from depsgraph

We no longer need to rely on Derived mesh flag since the mesh is
properly flushed from the depsgraph

2 years agoDepsgraph: mesh cache depends needs updates when geometry changes (patch by Sergey...
Dalai Felinto [Thu, 26 Jan 2017 18:06:17 +0000 (19:06 +0100)]
Depsgraph: mesh cache depends needs updates when geometry changes (patch by Sergey Sharybin)

2 years agoFix blenderplayer build
Dalai Felinto [Thu, 26 Jan 2017 18:01:49 +0000 (19:01 +0100)]
Fix blenderplayer build

2 years agoUse the ultimate depsgraph callback function
Dalai Felinto [Thu, 26 Jan 2017 17:56:52 +0000 (18:56 +0100)]
Use the ultimate depsgraph callback function

Note: when in edit mode this depsgraph update is not being called. We are using DerivedMesh in those cases, so it is fine. I would like to investigate this though

2 years agoFixup for selected_objects context
Dalai Felinto [Thu, 26 Jan 2017 17:27:30 +0000 (18:27 +0100)]
Fixup for selected_objects context

This was making crash happen for any operation :/ shame on me

2 years agoFixup in doversioning
Dalai Felinto [Thu, 26 Jan 2017 17:25:08 +0000 (18:25 +0100)]
Fixup in doversioning

2 years agoDepsgraph: Add placeholder function to handle objects update
Sergey Sharybin [Thu, 26 Jan 2017 16:24:57 +0000 (17:24 +0100)]
Depsgraph: Add placeholder function to handle objects update

This way @dfelinto can do some special trickery in there.

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 26 Jan 2017 16:23:33 +0000 (17:23 +0100)]
Merge branch 'master' into blender2.8

2 years agoDepsgraph: Fix typo in assert
Sergey Sharybin [Thu, 26 Jan 2017 16:22:54 +0000 (17:22 +0100)]
Depsgraph: Fix typo in assert

2 years agoBlender 2.8: Apparently auto-merge worked incorrect in the merge commit
Sergey Sharybin [Thu, 26 Jan 2017 16:04:25 +0000 (17:04 +0100)]
Blender 2.8: Apparently auto-merge worked incorrect in the merge commit

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 26 Jan 2017 16:02:28 +0000 (17:02 +0100)]
Merge branch 'master' into blender2.8

2 years agoDepsgraph: Link from material to object shading
Sergey Sharybin [Thu, 26 Jan 2017 16:01:37 +0000 (17:01 +0100)]
Depsgraph: Link from material to object shading

This is a ground work for the upcoming changes in Blender 2.8 branch
where we need to do special actions to reconstruct shaders when
material changes.

2 years agoDepsgraph: Add relation from node tree to material it's coming from
Sergey Sharybin [Thu, 26 Jan 2017 15:49:24 +0000 (16:49 +0100)]
Depsgraph: Add relation from node tree to material it's coming from

2 years agoDepsgraph: Remove owner argument from relations builder as well
Sergey Sharybin [Thu, 26 Jan 2017 15:35:23 +0000 (16:35 +0100)]
Depsgraph: Remove owner argument from relations builder as well

The idea was to link something to a parent, but the point is:
we must not pass owner deep and then have any parent-type-related
logic implemented in the "children".

2 years agoFix (unreported) crash when file browser attempts to show preview of some defective...
IRIE Shinsuke [Thu, 26 Jan 2017 15:15:49 +0000 (00:15 +0900)]
Fix (unreported) crash when file browser attempts to show preview of some defective font

Confirmed with the Wine's bundled fonts.

2 years agoDepsgraph: Remove owner node argument which was simply passed around
Sergey Sharybin [Thu, 26 Jan 2017 15:29:09 +0000 (16:29 +0100)]
Depsgraph: Remove owner node argument which was simply passed around

2 years agoCompositor: Make HSV node inputs a real sockets
Sergey Sharybin [Wed, 7 Dec 2016 12:52:12 +0000 (13:52 +0100)]
Compositor: Make HSV node inputs a real sockets

This is much more flexible solution which will allow doing some
more procedural features.

Reviewers: brecht, dfelinto, mont29

Reviewed By: mont29

Subscribers: Severin

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

2 years agoFix unfreed memory after cleaning render layers
Dalai Felinto [Thu, 26 Jan 2017 10:58:47 +0000 (11:58 +0100)]
Fix unfreed memory after cleaning render layers

The freestyle data was never freed when removing a renderlayer.

```
blender -b --factory-startup --debug-memory --python-expr "import bpy;bpy.ops.scene.render_layer_add();bpy.context.scene.render.layers.active_index=0;bpy.ops.scene.render_layer_remove()"
```

2 years agoFix T50530: Crash on Info Editor "console"
Dalai Felinto [Thu, 26 Jan 2017 08:41:40 +0000 (09:41 +0100)]
Fix T50530: Crash on Info Editor "console"

Introduced on rB2de882e8 - the original size of the array was neglected

2 years agoAlembic: fix compile error on Linux.
Kévin Dietrich [Thu, 26 Jan 2017 05:18:07 +0000 (06:18 +0100)]
Alembic: fix compile error on Linux.

2 years agoFix T50287: Blender crashes when open a blend that contains an alembic
Kévin Dietrich [Thu, 26 Jan 2017 05:16:33 +0000 (06:16 +0100)]
Fix T50287: Blender crashes when open a blend that contains an alembic
file.

Missed in rB62a2ed97b.

2 years agoRemove unused panels (layer_passes and layer_options)
Dalai Felinto [Wed, 25 Jan 2017 17:02:58 +0000 (18:02 +0100)]
Remove unused panels (layer_passes and layer_options)

2 years agoAdd scene active layer
Dalai Felinto [Wed, 25 Jan 2017 17:02:09 +0000 (18:02 +0100)]
Add scene active layer

2 years ago[Cycles/MSVC/Testing] Fix broken test code.
lazydodo [Wed, 25 Jan 2017 16:36:41 +0000 (09:36 -0700)]
[Cycles/MSVC/Testing] Fix broken test code.

Currently the tests don't run on windows for the following reasons

1) render_graph_finalize has an linking issue due missing a bunch of libraries (not sure why this is not an issue for linux)
2) This one is more interesting, in test/python/cmakelists.txt ${TEST_BLENDER_EXE_BARE} and ${TEST_BLENDER_EXE} are flat out wrong, but for some reason this doesn't matter for most tests, cause ctest will actually go out and look for the executable and fix the path for you *BUT* only for the command, if you use them in any of the parameters it'll happily pass on the wrong path.
3) on linux you can just run a .py file, windows is not as awesome and needs to be told to run it with pyton.
4) had to use the NAME/COMMAND long form of add_test otherwise $<TARGET_FILE:blender> doesn't get expanded, why? beats me.
5) missing idiff.exe for msvc2015/x64 in the libs folder.

This patch addresses 1-4 , but given I have no working Linux build environment, I'm unsure if it'll break anything there

5 has been fixed in rBL61751

Reviewers: juicyfruit, brecht, sergey

Reviewed By: sergey

Subscribers: Blendify

Tags: #cycles, #automated_testing

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

2 years agoRemove scene layer and collection from context
Dalai Felinto [Wed, 25 Jan 2017 15:57:23 +0000 (16:57 +0100)]
Remove scene layer and collection from context

2 years agoFix T50115: stereoscopic video file memory leak
Dalai Felinto [Wed, 25 Jan 2017 14:15:37 +0000 (15:15 +0100)]
Fix T50115: stereoscopic video file memory leak

2 years agoFix T50032: Wrong render result when same image is used with and without alpha
Sergey Sharybin [Wed, 25 Jan 2017 13:02:59 +0000 (14:02 +0100)]
Fix T50032: Wrong render result when same image is used with and without alpha

2 years agoFix T50512: Linked Backround scene with animation not updating with new depsgraph
Sergey Sharybin [Wed, 25 Jan 2017 11:30:29 +0000 (12:30 +0100)]
Fix T50512: Linked Backround scene with animation not updating with new depsgraph

Was missing relations for the set scenes.

Perhaps not ideal solution, but should be good enough for now.

2 years agoDepsgraph: Do ID tag outside of build_scene
Sergey Sharybin [Wed, 25 Jan 2017 11:28:27 +0000 (12:28 +0100)]
Depsgraph: Do ID tag outside of build_scene

Otherwise it was possible to get ID tags cleared in the middle
of DEG construction when there are set scenes used.

2 years agoFix compile error
Clément Foucault [Wed, 25 Jan 2017 11:21:43 +0000 (12:21 +0100)]
Fix compile error

2 years agoFix T50517: Rendering expecting time is negative
Sergey Sharybin [Wed, 25 Jan 2017 10:18:12 +0000 (11:18 +0100)]
Fix T50517: Rendering expecting time is negative

2 years agoMerge remote-tracking branch 'origin/blender2.8' into render-layers
Dalai Felinto [Wed, 25 Jan 2017 09:17:38 +0000 (10:17 +0100)]
Merge remote-tracking branch 'origin/blender2.8' into render-layers

2 years agoConvert MBC_ API to Mesh (instead of derived mesh) and move it to mesh_render
Dalai Felinto [Wed, 25 Jan 2017 08:16:29 +0000 (09:16 +0100)]
Convert MBC_ API to Mesh (instead of derived mesh) and move it to mesh_render

This includes a few fixes in the MBC_ api.

The idea here is for this to be the only interface the render engines
will deal with for the meshes.

If we need to expose special options for sculpting engine we refactor
this accordingly. But for now we are shaping this in a per-case base.

Note:
* We still need to hook up to the depsgraph to force clear/update of
batch_cache when mesh changes

(I'm waiting for Sergey Sharybin's depsgraph update for this though)

* Also ideally we could/should use BMesh directly instead of
DerivedMesh, but this will do for now.

Note 2:
In the end I renamed the `BKE_mesh_render` functions to `static
mesh_render`. We can re-expose them as BKE_* later once we need it.

Reviewers: merwin

Subscribers: fclem

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

2 years agoRevert "UI: Add missing menu item"
Aaron Carlisle [Wed, 25 Jan 2017 06:33:10 +0000 (01:33 -0500)]
Revert "UI: Add missing menu item"

This reverts commit 1ad842d432ccacd1f822d7f2b8ff3c542d25e976.

2 years agoUI: Add missing menu item
Aaron Carlisle [Wed, 25 Jan 2017 05:59:10 +0000 (00:59 -0500)]
UI: Add missing menu item

2 years agoFix T49405: Crash when baking with adaptive subdivision
Mai Lavelle [Wed, 25 Jan 2017 05:35:20 +0000 (00:35 -0500)]
Fix T49405: Crash when baking with adaptive subdivision

Blenders baking system currently doesn't support the topology used by
adaptive subdivision and primitive ids will be wrong or out of range
leading to crashes. Updating the baking system to support other
topologies would be a bit involved, so for now we simply disable
subdivision while baking to avoid crashes.

2 years agoRemove commented code
Aaron [Tue, 24 Jan 2017 20:58:52 +0000 (15:58 -0500)]
Remove commented code

2 years agoFix T50386: Crash when spawning pie menus
Julian Eisel [Tue, 24 Jan 2017 20:35:38 +0000 (21:35 +0100)]
Fix T50386: Crash when spawning pie menus

D2455 by @raa, thanks!

2 years agoDepsgraph: Fix duplicated operation node when two objects are sharing same armature
Sergey Sharybin [Tue, 24 Jan 2017 16:15:39 +0000 (17:15 +0100)]
Depsgraph: Fix duplicated operation node when two objects are sharing same armature

2 years agoCycles: Don't rely on indirectly included algorithm
Sergey Sharybin [Tue, 24 Jan 2017 15:39:16 +0000 (16:39 +0100)]
Cycles: Don't rely on indirectly included algorithm

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 24 Jan 2017 13:56:56 +0000 (14:56 +0100)]
Merge branch 'master' into blender2.8

2 years agoFix typo in comment
Sergey Sharybin [Tue, 24 Jan 2017 13:56:35 +0000 (14:56 +0100)]
Fix typo in comment

2 years agoDepsgraph: Make it more clear and explicit compile fail when required features are...
Sergey Sharybin [Tue, 24 Jan 2017 11:57:33 +0000 (12:57 +0100)]
Depsgraph: Make it more clear and explicit compile fail when required features are not found

2 years agoDepsgraph: Remove legacy code from new depsgraph
Sergey Sharybin [Tue, 24 Jan 2017 11:55:08 +0000 (12:55 +0100)]
Depsgraph: Remove legacy code from new depsgraph

Now we have no remaining WITH_LEGACY_DEPSGRAPH in the code.

2 years agoDepsgraph: Remove command line argument to use new depsgraph
Sergey Sharybin [Tue, 24 Jan 2017 11:54:21 +0000 (12:54 +0100)]
Depsgraph: Remove command line argument to use new depsgraph

2 years agoDepsgraph: Remove more legacy code from viewport
Sergey Sharybin [Tue, 24 Jan 2017 11:52:05 +0000 (12:52 +0100)]
Depsgraph: Remove more legacy code from viewport

2 years agoDepsgraph: Remove legacy updateDepgraph callbacks from modifiers
Sergey Sharybin [Tue, 24 Jan 2017 11:49:23 +0000 (12:49 +0100)]
Depsgraph: Remove legacy updateDepgraph callbacks from modifiers

2 years agoDepsgraph: Remove legacy implementation of depsgraph
Sergey Sharybin [Tue, 24 Jan 2017 11:46:56 +0000 (12:46 +0100)]
Depsgraph: Remove legacy implementation of depsgraph

2 years agoDepsgraph: Remove legacy calls from scene update routines
Sergey Sharybin [Tue, 24 Jan 2017 11:42:56 +0000 (12:42 +0100)]
Depsgraph: Remove legacy calls from scene update routines

2 years agoDepsgraph: Remove special exception in update logging
Sergey Sharybin [Tue, 24 Jan 2017 11:33:05 +0000 (12:33 +0100)]
Depsgraph: Remove special exception in update logging

2 years agoDepsgraph: Remove special version of pose builder
Sergey Sharybin [Tue, 24 Jan 2017 11:29:46 +0000 (12:29 +0100)]
Depsgraph: Remove special version of pose builder

2 years agoDepsgraph: Remove legacy depsgraph code from viewport
Sergey Sharybin [Tue, 24 Jan 2017 11:25:58 +0000 (12:25 +0100)]
Depsgraph: Remove legacy depsgraph code from viewport

2 years agoDepsgraph: Remove legacy depsgraph code from transform
Sergey Sharybin [Tue, 24 Jan 2017 11:23:57 +0000 (12:23 +0100)]
Depsgraph: Remove legacy depsgraph code from transform

2 years agoInstall deps: Bump OpenSubdiv version to 3.1.1
Sergey Sharybin [Tue, 24 Jan 2017 10:49:45 +0000 (11:49 +0100)]
Install deps: Bump OpenSubdiv version to 3.1.1

Required to have some crash fixes.

2 years agoGPencil: Fix unreported animation data missing when change palette name
Antonio Vazquez [Tue, 24 Jan 2017 08:15:41 +0000 (09:15 +0100)]
GPencil: Fix unreported animation data missing when change palette name

When a palette was renamed, the animation data was not changed.

This fix is related to commit 196520fe7d81

2 years agoUse new manual URL
Aaron Carlisle [Tue, 24 Jan 2017 00:09:45 +0000 (19:09 -0500)]
Use new manual URL

2 years agoUpdate script generating/uploading py API doc to new addresses (docs.blender.org).
Bastien Montagne [Mon, 23 Jan 2017 20:10:56 +0000 (21:10 +0100)]
Update script generating/uploading py API doc to new addresses (docs.blender.org).

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 23 Jan 2017 17:11:42 +0000 (18:11 +0100)]
Merge branch 'master' into blender2.8

2 years agoFix compilation error with legacy depsgraph disabled
Sergey Sharybin [Mon, 23 Jan 2017 17:08:41 +0000 (18:08 +0100)]
Fix compilation error with legacy depsgraph disabled

2 years agoCycles: Split ShaderData object and shader flags
Sergey Sharybin [Fri, 23 Dec 2016 10:31:19 +0000 (11:31 +0100)]
Cycles: Split ShaderData object and shader flags

We started to run out of bits there, so now we separate flags
which came from __object_flags and which are either runtime or
coming from __shader_flags.

Rule now is: SD_OBJECT_* flags are to be tested against new
object_flags field of ShaderData, all the rest flags are to
be tested against flags field of ShaderData.

There should be no user-visible changes, and time difference
should be minimal. In fact, from tests here can only see hardly
measurable difference and sometimes the new code is somewhat
faster (all within a noise floor, so hard to tell for sure).

Reviewers: brecht, dingto, juicyfruit, lukasstockner97, maiself

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

2 years agoCycles: Make object flag names more obvious that hey are object and not shader
Sergey Sharybin [Fri, 23 Dec 2016 09:49:59 +0000 (10:49 +0100)]
Cycles: Make object flag names more obvious that hey are object and not shader

2 years agoFix strict compiler warning in the gflags code
Sergey Sharybin [Mon, 23 Jan 2017 10:52:41 +0000 (11:52 +0100)]
Fix strict compiler warning in the gflags code

2 years agoSilence strict compiler warnings
Sergey Sharybin [Mon, 23 Jan 2017 10:46:02 +0000 (11:46 +0100)]
Silence strict compiler warnings

Similar thing to other areas where we mix Blender's char with OpenGL API.

2 years agoMerge remote-tracking branch 'origin/blender2.8' into render-layers
Dalai Felinto [Mon, 23 Jan 2017 10:17:09 +0000 (11:17 +0100)]
Merge remote-tracking branch 'origin/blender2.8' into render-layers

2 years agoCycles: Fix typo in the panel name
Sergey Sharybin [Mon, 23 Jan 2017 09:35:15 +0000 (10:35 +0100)]
Cycles: Fix typo in the panel name

No user visible changes, it was a typo in the name of the class.

Spotted by povmaniac in IRC, thanks!

2 years agoCycles: Update current Cycles version
Sergey Sharybin [Mon, 23 Jan 2017 09:23:09 +0000 (10:23 +0100)]
Cycles: Update current Cycles version

2 years agoMerge branch 'master' into blender2.8
Julian Eisel [Sun, 22 Jan 2017 20:16:00 +0000 (21:16 +0100)]
Merge branch 'master' into blender2.8

Conflicts:
source/blender/editors/space_action/action_draw.c

2 years agoFix T50491: Cycles UI breaks when pushing F8.
Bastien Montagne [Sun, 22 Jan 2017 11:42:14 +0000 (12:42 +0100)]
Fix T50491: Cycles UI breaks when pushing F8.

Cycles add-on did not actually support reloading correctly.

When you want to correctly reload sub-modules (i.e. modules of an add-on
which is a package), you need to use importlib, a mere import will do
nothing with already loaded modules (RNA classes are sort of
pre-registered when they are evaluated, through the meta-class system).

2 years agoFix T49527: Blender stalls when changing armature ghosting range with stepsize = 0
Joshua Leung [Sat, 21 Jan 2017 13:54:35 +0000 (02:54 +1300)]
Fix T49527: Blender stalls when changing armature ghosting range with stepsize = 0

A big thanks to Steffen Mortensen (stifan) for finding the root cause of this bug!

2 years agoFix own mistake in rB051526da6279, confusing off_t with ptrdiff_t.
Bastien Montagne [Fri, 20 Jan 2017 20:57:48 +0000 (21:57 +0100)]
Fix own mistake in rB051526da6279, confusing off_t with ptrdiff_t.

2 years agoFix minor glitches in GP code.
Bastien Montagne [Fri, 20 Jan 2017 17:46:06 +0000 (18:46 +0100)]
Fix minor glitches in GP code.

Reported by coverity scan.

2 years agoFix/cleanup stupid check on array of char being non-NULL pointer...
Bastien Montagne [Fri, 20 Jan 2017 17:43:42 +0000 (18:43 +0100)]
Fix/cleanup stupid check on array of char being non-NULL pointer...

Reported by coverity scan.

2 years agoFix float buffer of tracking image accessed outside of check that it has been correct...
Bastien Montagne [Fri, 20 Jan 2017 17:41:56 +0000 (18:41 +0100)]
Fix float buffer of tracking image accessed outside of check that it has been correctly allocated.

Reported by coverity scan.

2 years agoCycles: Use more const qualifiers to avoid possible issues
Sergey Sharybin [Fri, 20 Jan 2017 16:54:17 +0000 (17:54 +0100)]
Cycles: Use more const qualifiers to avoid possible issues

2 years agoCycles: Cleanup, split one gigantic function into two smaller ones
Sergey Sharybin [Fri, 20 Jan 2017 16:52:48 +0000 (17:52 +0100)]
Cycles: Cleanup, split one gigantic function into two smaller ones

2 years agoFix compilation error with strict flags
Sergey Sharybin [Fri, 20 Jan 2017 16:47:09 +0000 (17:47 +0100)]
Fix compilation error with strict flags

2 years agoFix compilation error with strict flags and gcc-6
Sergey Sharybin [Fri, 20 Jan 2017 16:42:55 +0000 (17:42 +0100)]
Fix compilation error with strict flags and gcc-6

2 years agoCleanup/fix some BLI_string_utf8 not using size_t/off_t as expected.
Bastien Montagne [Fri, 20 Jan 2017 12:03:21 +0000 (13:03 +0100)]
Cleanup/fix some BLI_string_utf8 not using size_t/off_t as expected.

2 years agoCleanup/fix last remnant usages of int instead of size_t for string length in BLI_str...
Bastien Montagne [Fri, 20 Jan 2017 11:21:04 +0000 (12:21 +0100)]
Cleanup/fix last remnant usages of int instead of size_t for string length in BLI_string_utils.