blender.git
4 years agoBMesh: add BMO_ITER_INDEX macro
Campbell Barton [Thu, 11 Jun 2015 11:34:59 +0000 (21:34 +1000)]
BMesh: add BMO_ITER_INDEX macro

4 years agoReplace linked-list insert-sort with merge-sort
Campbell Barton [Thu, 11 Jun 2015 05:13:06 +0000 (15:13 +1000)]
Replace linked-list insert-sort with merge-sort

Original code from eglib, modified for reuse with multiple linked-list implementations.

Adds sort functions: BLI_linklist_sort, BLI_linklist_sort_r

4 years agoBLI_listbase: match arg order with BLI_qsort_r
Campbell Barton [Thu, 11 Jun 2015 05:07:14 +0000 (15:07 +1000)]
BLI_listbase: match arg order with BLI_qsort_r

4 years agoAdd argument --python-expr to pass Python directly
Campbell Barton [Thu, 11 Jun 2015 06:57:31 +0000 (16:57 +1000)]
Add argument --python-expr to pass Python directly

This works like Python's -c argument, handy to be able to avoid writing small scripts to disk.

4 years agoError message fix - In the manual (thus for the user) we are referring to this as...
Dalai Felinto [Wed, 10 Jun 2015 19:23:19 +0000 (16:23 -0300)]
Error message fix - In the manual (thus for the user) we are referring to this as "Multi-View", not "Multiview"

4 years agoSupport alternate python command
Campbell Barton [Wed, 10 Jun 2015 17:57:21 +0000 (03:57 +1000)]
Support alternate python command

4 years agoPicky edits to previous commit.
Bastien Montagne [Wed, 10 Jun 2015 15:29:46 +0000 (17:29 +0200)]
Picky edits to previous commit.

4 years agoFix T45017: Crash when running 'track markers' operator with no clip loaded.
Bastien Montagne [Wed, 10 Jun 2015 15:22:49 +0000 (17:22 +0200)]
Fix T45017: Crash when running 'track markers' operator with no clip loaded.

CLIP_OT_track_markers was missing a poll callback.

4 years agoCMake: Fix typo in OIIO module
Sergey Sharybin [Wed, 10 Jun 2015 14:06:49 +0000 (16:06 +0200)]
CMake: Fix typo in OIIO module

4 years agoFix T45009: Bad 'tri area computation' code in knife tool.
Bastien Montagne [Wed, 10 Jun 2015 14:35:52 +0000 (16:35 +0200)]
Fix T45009: Bad 'tri area computation' code in knife tool.

Was causing wrong selection of 'outside' face.

4 years ago2.75 splash
Campbell Barton [Wed, 10 Jun 2015 13:55:02 +0000 (23:55 +1000)]
2.75 splash

by Gooseberry team

4 years agoFix/Workaround T44662: Freestyle gives no visual output when the Save Buffers option...
Sergey Sharybin [Wed, 10 Jun 2015 11:35:11 +0000 (13:35 +0200)]
Fix/Workaround T44662: Freestyle gives no visual output when the Save Buffers option is enabled

For now we solve this for non-multiview renders by merging exr file back into
full render result prior to rendering freestyle strokes. Multiview case is
still to be supported tho.

4 years agoFix T44968: Python executable crashes due to missing .DLL
Sergey Sharybin [Wed, 10 Jun 2015 08:39:57 +0000 (13:39 +0500)]
Fix T44968: Python executable crashes due to missing .DLL

For now we work this around by copying python DLL to the
bin folder. Ideally the DLL should be shared between blender
and python, but that's a bit tricky to do on windows.

4 years agoFix T45013 negative curve falloff not working.
Antony Riakiotakis [Wed, 10 Jun 2015 11:32:11 +0000 (13:32 +0200)]
Fix T45013 negative curve falloff not working.

Was doing clamping as fix for T42984. Seems we can ommit clamping for
sculpting if we make sure overlap is not zero with negative values.

Control for clamping is moved to the "Use Clipping" function of curves
(which is on by default), so both bugs remain squashed and advanced
users can now properly utilize curves in sculpting, though not all
brushes work well with negative curves.

4 years agoGTest: add test for listbase sorting
Campbell Barton [Wed, 10 Jun 2015 10:23:34 +0000 (20:23 +1000)]
GTest: add test for listbase sorting

Check for correct sort and stable order for matching values.

4 years agoWM: toggling expanded could raise exception
Campbell Barton [Wed, 10 Jun 2015 09:33:38 +0000 (19:33 +1000)]
WM: toggling expanded could raise exception

Missing module case wasn't checked for.

4 years agoUI: option to pass "icon_value" to menus
Campbell Barton [Wed, 10 Jun 2015 07:35:46 +0000 (17:35 +1000)]
UI: option to pass "icon_value" to menus

D1336 by @lichtwerk

Also remove verbose description, UI docs can explain use-case in more detail.

4 years agoCorrect typos
Campbell Barton [Wed, 10 Jun 2015 07:28:43 +0000 (17:28 +1000)]
Correct typos

D1337 by @lichtwerk

4 years agoTooltip cleanup: show_metadata should be same between image editor/
Antony Riakiotakis [Tue, 9 Jun 2015 16:25:25 +0000 (18:25 +0200)]
Tooltip cleanup: show_metadata should be same between image editor/

4 years agoDisable key accelerators for splash screen
Campbell Barton [Tue, 9 Jun 2015 13:32:02 +0000 (23:32 +1000)]
Disable key accelerators for splash screen

4 years agoFix T45002: sculpt show brush toggle no longer working.
Bastien Montagne [Tue, 9 Jun 2015 13:13:52 +0000 (15:13 +0200)]
Fix T45002: sculpt show brush toggle no longer working.

4 years agoFix T45003: some UI/i18n issues.
Bastien Montagne [Tue, 9 Jun 2015 12:57:29 +0000 (14:57 +0200)]
Fix T45003: some UI/i18n issues.

* Do not translate renderlayers' names, those are data, not UI (defined by user).
* Translate passes' names, even in button itself (menu items were already translated).
* Translate 'ID type' in ID eyedropper helper message.

Also, added i18n context to IDType private struct, and `BKE_idcode_to_translation_context()`
helper, much more generic and easy to maintain than the private util in interface_template.c.

4 years agoFix T37746: Presets in splash failed to redraw
Campbell Barton [Tue, 9 Jun 2015 11:54:47 +0000 (21:54 +1000)]
Fix T37746: Presets in splash failed to redraw

4 years agoFix wrong name displayed for the debug passes
Sergey Sharybin [Tue, 9 Jun 2015 08:53:32 +0000 (10:53 +0200)]
Fix wrong name displayed for the debug passes

4 years agoFix T44930: File-select in redo panel, disables UI
Campbell Barton [Tue, 9 Jun 2015 07:17:22 +0000 (17:17 +1000)]
Fix T44930: File-select in redo panel, disables UI

4 years agoMultiview: fix Time Sequential crash when screen is fullscreen T44688
Dalai Felinto [Mon, 8 Jun 2015 21:40:48 +0000 (18:40 -0300)]
Multiview: fix Time Sequential crash when screen is fullscreen T44688

ED_screen_duplicate() was never written to support non-fullscreen modes.
This is prior to the hidden ui fullscreen commit, and it's quite ancient
in Blender's code (since Jan/08 - 1363134d)

That's why duplicate window, and new screen operators are disabled when
screen is full.

4 years agoWM: refactor window code for stereo3d
Campbell Barton [Mon, 8 Jun 2015 15:25:34 +0000 (01:25 +1000)]
WM: refactor window code for stereo3d

Window copy code made it hard to test fixes.

4 years agoRemove redundant NULL check
Campbell Barton [Mon, 8 Jun 2015 14:20:34 +0000 (00:20 +1000)]
Remove redundant NULL check

4 years agoFix yet another fullscreen glitch
Julian Eisel [Mon, 8 Jun 2015 15:20:21 +0000 (17:20 +0200)]
Fix yet another fullscreen glitch

Steps to reproduce were: Toggle fullscreen->F12->F3->ESC 2x->3D View
changed to Image Editor and didn't change back.

Actually it doesn't work 100% as wanted since it exits the fullscreen
when pressing ESC to exit Image Editor but it's hard to support all
cases with such a weird spaghetti code.

4 years agoFix T44976: 3D View turns into an Image Editor after saving render
Julian Eisel [Mon, 8 Jun 2015 13:59:32 +0000 (15:59 +0200)]
Fix T44976: 3D View turns into an Image Editor after saving render
result

Was a case of two stacked temporary fullscreens, so a quite extreme
situation.

4 years agoFix T44964: Bisect tool /w nonuniform scale
Campbell Barton [Mon, 8 Jun 2015 12:29:52 +0000 (22:29 +1000)]
Fix T44964: Bisect tool /w nonuniform scale

4 years agoFix crash introduced by recent node tree localization
Sergey Sharybin [Mon, 8 Jun 2015 12:10:43 +0000 (14:10 +0200)]
Fix crash introduced by recent node tree localization

It should not add temporary datablocks to the bmain.

4 years agoFix T44979: Crash when rendering with more threads than the system ones
Sergey Sharybin [Mon, 8 Jun 2015 11:46:33 +0000 (13:46 +0200)]
Fix T44979: Crash when rendering with more threads than the system ones

Revert "Nodes: Remove hardcoded BLENDER_MAX_THREADS number of threads"

This reverts commit fdc653e8ce77a188138dc707207139c3d1e6b166.

The threads override is not affected by the scene, and hence the limit of the
threads was not giving correct result. Need to re-consider some things here.

4 years agoUse context manager for reading addon headers
Campbell Barton [Mon, 8 Jun 2015 11:21:54 +0000 (21:21 +1000)]
Use context manager for reading addon headers

4 years agoFix: a broken symlink to an addon resulted in a blank addon tab
Sybren A. Stüvel [Mon, 8 Jun 2015 10:08:43 +0000 (12:08 +0200)]
Fix: a broken symlink to an addon resulted in a blank addon tab

The addons tab in the User Settings window would be empty, due to
a FileNotFound error. This error can be caused by a broken symlink,
which is now treated the same was as a file that misses its bl_info
dictionary.

4 years agoRNA: Object.shape_key_remove method
Campbell Barton [Mon, 8 Jun 2015 09:49:01 +0000 (19:49 +1000)]
RNA: Object.shape_key_remove method

Python had no ability to remove shape keys
Original D1169 from @lichtwerk, with edits

4 years agoFix T44989: Crash on linking external OSL material
Sergey Sharybin [Sun, 7 Jun 2015 19:38:46 +0000 (21:38 +0200)]
Fix T44989: Crash on linking external OSL material

Issue was caused by passing NULL bmain to the path remap function when
localizing the node tree.

Paths are to be remapped, otherwise mapping of paths to OSL scripts
might happen in a wrong way.

4 years agoCycles: Fix crash doing render preview of external OSL script
Sergey Sharybin [Sun, 7 Jun 2015 19:33:48 +0000 (21:33 +0200)]
Cycles: Fix crash doing render preview of external OSL script

4 years agoCycles: Move requested feature conversion to an own function
Sergey Sharybin [Sat, 6 Jun 2015 13:33:37 +0000 (15:33 +0200)]
Cycles: Move requested feature conversion to an own function

This way it could be used for the shader/baking kernels easily n the future.
making those kernels more optimal.

4 years agoCycles: Remove round-up trickery for max closure in split OpenCL kernel
Sergey Sharybin [Sat, 6 Jun 2015 11:14:31 +0000 (13:14 +0200)]
Cycles: Remove round-up trickery for max closure in split OpenCL kernel

Round-up was only enabled for viewport render, which was for a long time hardcoded to
use 64 closures. This was done in order to avoid unnecessary kernel re-compilations
when tweaking the shader tree.

We could enable selective closure compilation in the viewport later if it'll give
measurable speed improvements, but even then round-up is to happen outside of the
device level,

This commit also removes early output which happened in cases when max closure did
not change. It was wrong because other requested kernel features might have been
changed.

4 years agoCycles: Remove requirement of using experimental kernel for hair and blur on AMD
Sergey Sharybin [Sun, 7 Jun 2015 16:22:48 +0000 (18:22 +0200)]
Cycles: Remove requirement of using experimental kernel for hair and blur on AMD

Those features are not selectively compiled, so there's no real benefit of hiding
them under the experimental feature set.

4 years agoCycles: Make hair, object and motion blur selective compiled into OpenCL
Sergey Sharybin [Fri, 5 Jun 2015 17:50:22 +0000 (19:50 +0200)]
Cycles: Make hair, object and motion blur selective compiled into OpenCL

This features are now based on the scene settings, so scenes without those features
used are rendered even faster.

This gives about 30% speedup on the AMD A10 APU here, but at the same time it does
not mean such an improvement will happen on all the hardware. That being said, the
Tonga device here seems to have no measurable difference.

In any case it seems handy to have for the future, when we'll want to support SSS
in the kernel or to port selective compilation/split kernel to CUDA devices.

4 years agoFix "View All" operation in image space not available with locked interface
Sergey Sharybin [Sun, 7 Jun 2015 15:13:28 +0000 (17:13 +0200)]
Fix "View All" operation in image space not available with locked interface

4 years agoFix T44995: Crash loading packed image
Campbell Barton [Mon, 8 Jun 2015 08:21:27 +0000 (18:21 +1000)]
Fix T44995: Crash loading packed image

4 years agoAlternative fix copying windows from popup dialogs
Campbell Barton [Mon, 8 Jun 2015 05:57:42 +0000 (15:57 +1000)]
Alternative fix copying windows from popup dialogs

It could still crash if the window was freed and another was activated. see T44688.

4 years agoFix T44991: Apply transform skips poly-radius
Campbell Barton [Mon, 8 Jun 2015 02:58:50 +0000 (12:58 +1000)]
Fix T44991: Apply transform skips poly-radius

4 years agorename wiki -> manual
Campbell Barton [Mon, 8 Jun 2015 01:33:03 +0000 (11:33 +1000)]
rename wiki -> manual

4 years agoFix T44984: wrong texture clamping when applying saturation > 1.0
Bastien Montagne [Sun, 7 Jun 2015 14:53:56 +0000 (16:53 +0200)]
Fix T44984: wrong texture clamping when applying saturation > 1.0

Applying saturation > 1.0 in HSV space easily leads to negative values in RGB space,
so we have to clamp again...

4 years agoAllow compilation of cycles network with WITH_CYCLES_LOGGING is ON
Martijn Berger [Sun, 7 Jun 2015 13:24:15 +0000 (15:24 +0200)]
Allow compilation of cycles network with WITH_CYCLES_LOGGING is ON

4 years agoDon't show smoke domain when render-only enabled
Campbell Barton [Sun, 7 Jun 2015 11:52:11 +0000 (21:52 +1000)]
Don't show smoke domain when render-only enabled

D1339 from @scorpion81

4 years agoMakeDupliFace: select new objects
Campbell Barton [Sun, 7 Jun 2015 07:44:25 +0000 (17:44 +1000)]
MakeDupliFace: select new objects

4 years agoCleanup: use staticmethods
Campbell Barton [Sun, 7 Jun 2015 07:40:39 +0000 (17:40 +1000)]
Cleanup: use staticmethods

4 years agoCleanup: pep8
Campbell Barton [Sun, 7 Jun 2015 03:54:13 +0000 (13:54 +1000)]
Cleanup: pep8

4 years agoRevert "BGE : KX_VertexProxy support for more than 2 UV channel."
Mitchell Stokes [Sat, 6 Jun 2015 20:11:22 +0000 (13:11 -0700)]
Revert "BGE : KX_VertexProxy support for more than 2 UV channel."

This reverts commit fb0dd596e9a58f095730359a11759c40ea46be44.

This commit reintroduced a deprecated API that we'd rather not see in a
release. A better solution is being worked on.

4 years agoView3D: avoid jumping placing cursor /w lock on
Campbell Barton [Sat, 6 Jun 2015 16:45:26 +0000 (02:45 +1000)]
View3D: avoid jumping placing cursor /w lock on

The view would jump each time, now compensate by adjusting the cursor panning.
Less jarring and helps avoid problems when the cursor gets outside the view, see: T40353

4 years agoUse threshold for selecting side-of-axis
Campbell Barton [Sat, 6 Jun 2015 16:09:41 +0000 (02:09 +1000)]
Use threshold for selecting side-of-axis

4 years agoCleanup: Typos
Julian Eisel [Sat, 6 Jun 2015 13:32:59 +0000 (15:32 +0200)]
Cleanup: Typos

4 years agoCleanup
Campbell Barton [Sat, 6 Jun 2015 11:02:16 +0000 (21:02 +1000)]
Cleanup

4 years agoFix wrong usage of THB_NORMAL size when generating .blend file thumbnail at save...
Bastien Montagne [Fri, 5 Jun 2015 17:42:00 +0000 (19:42 +0200)]
Fix wrong usage of THB_NORMAL size when generating .blend file thumbnail at save time.

We do not use that size of preview anymore, only THB_LARGE...

4 years agoFix T44961, bevel spikes out when certain angles near 180.
Howard Trickey [Fri, 5 Jun 2015 16:56:49 +0000 (12:56 -0400)]
Fix T44961, bevel spikes out when certain angles near 180.

Made the test for whether one can "see" an adjacent edge less
knife-close to 180. This means it will chose to slide along
such an edge less often, and avoid some spikes.

4 years agoCleanup:
Antony Riakiotakis [Fri, 5 Jun 2015 14:13:15 +0000 (16:13 +0200)]
Cleanup:

Get rid of static functions that pass the exact same arguments in the
same order to other function.

4 years agoCycles: Initial support for OpenCL capabilities reports
Sergey Sharybin [Fri, 5 Jun 2015 12:13:59 +0000 (14:13 +0200)]
Cycles: Initial support for OpenCL capabilities reports

For now it's just generic information, still need to expose memory, workgorup
sizes and so on.

4 years agoFix T44960: Crash with 'Shape Cut' in edit hair mode.
Bastien Montagne [Fri, 5 Jun 2015 10:56:56 +0000 (12:56 +0200)]
Fix T44960: Crash with 'Shape Cut' in edit hair mode.

This is only supported for mesh objects so far.
Also, abort in case there are no faces in dm (instead of crashing on NULL BVH tree...).

4 years agoDepsgraph: Report to the console when the new depsgraph is used
Sergey Sharybin [Fri, 5 Jun 2015 00:34:33 +0000 (05:34 +0500)]
Depsgraph: Report to the console when the new depsgraph is used

4 years agoDepsgraph: Fix typo in header guard comment
Sergey Sharybin [Thu, 4 Jun 2015 22:37:14 +0000 (03:37 +0500)]
Depsgraph: Fix typo in header guard comment

4 years agoImBuf: Fix compilation error with latest OIIO
Sergey Sharybin [Wed, 3 Jun 2015 16:34:42 +0000 (21:34 +0500)]
ImBuf: Fix compilation error with latest OIIO

Latest OIIO libraries are using Boost libraries from the public headers.

4 years agoBMesh: decimator, allow vgroup factor over 1
Campbell Barton [Fri, 5 Jun 2015 05:26:37 +0000 (15:26 +1000)]
BMesh: decimator, allow vgroup factor over 1

Can be useful to apply more extreme weighting

4 years agoCheck ftell return values
Campbell Barton [Fri, 5 Jun 2015 01:46:01 +0000 (11:46 +1000)]
Check ftell return values

4 years agoBGE: correct ftell use in LoadGlobalDict
Jorge Bernal [Fri, 5 Jun 2015 01:14:09 +0000 (11:14 +1000)]
BGE: correct ftell use in LoadGlobalDict

4 years agoBGE Cleanup: remove dead code for collide, visible and twoside variables
Jorge Bernal [Fri, 5 Jun 2015 00:24:23 +0000 (02:24 +0200)]
BGE Cleanup: remove dead code for collide, visible and twoside variables

As material is not NULL at this stage there is no need to do a NULL
check. Also to remove dead code

Reviewers: dfelinto, panzergame, hg1, moguri

Reviewed By: panzergame, hg1, moguri

Projects: #game_engine

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

4 years agoNew "use placeholders" feature of the sequencer did not detect correct
Antony Riakiotakis [Thu, 4 Jun 2015 18:40:11 +0000 (20:40 +0200)]
New "use placeholders" feature of the sequencer did not detect correct
filenames.

Added BLI_path utility functions to decompose a path name and
extract the frame number. It should be useful in autocollapse
feature as well

4 years agoBMesh decimate, improve behavior with weights
Campbell Barton [Thu, 4 Jun 2015 09:49:59 +0000 (19:49 +1000)]
BMesh decimate, improve behavior with weights

Add slider to adjust the influence of weights relative to geometry distortion.
This allows subtle influences to be applied - without drastic changes in behavior.

4 years agoFix modifiers stack not recalculated when mapping requirements change
Antony Riakiotakis [Thu, 4 Jun 2015 15:39:43 +0000 (17:39 +0200)]
Fix modifiers stack not recalculated when mapping requirements change

Reported by pixaal on irc, basically reproducable by inserting bevel
modifier on cube and entering/exiting texture paint mode.

Now object stores last needsMapping variable as well as customdata mask.

Also now texture painting only needs mapping when we are in texture
paint selection mode, so modifiers that don't support mapping can still
be used to paint now.

4 years agoFix tooltip colors not initialized correctly
Julian Eisel [Thu, 4 Jun 2015 15:04:48 +0000 (17:04 +0200)]
Fix tooltip colors not initialized correctly

Already committed similar fix (rBbeaed66f292dd) but saw it appearing on
other peoples screens a few times since them. Never was able to recreate
though.
This should make sure everything is initialized fine, so if we see it
appearing again, then it's likely because of manual tweaks or the
version saved in the .blend.

4 years agocorrect last commit
Campbell Barton [Thu, 4 Jun 2015 13:47:03 +0000 (23:47 +1000)]
correct last commit

4 years agoBMesh: decimator minor edits
Campbell Barton [Thu, 4 Jun 2015 08:00:49 +0000 (18:00 +1000)]
BMesh: decimator minor edits

4 years agoFix buffer overrun searching program path on win32
Campbell Barton [Thu, 4 Jun 2015 06:48:56 +0000 (16:48 +1000)]
Fix buffer overrun searching program path on win32

4 years agoLoading raw targa now sets the filetype
Campbell Barton [Thu, 4 Jun 2015 06:36:11 +0000 (16:36 +1000)]
Loading raw targa now sets the filetype

4 years agoCleanup: redundant checks
Campbell Barton [Thu, 4 Jun 2015 05:51:49 +0000 (15:51 +1000)]
Cleanup: redundant checks

4 years agoFix for leak creating stereo images
Campbell Barton [Thu, 4 Jun 2015 05:40:17 +0000 (15:40 +1000)]
Fix for leak creating stereo images

4 years agoCleanup: clarify order of precedence: &/?
Campbell Barton [Thu, 4 Jun 2015 05:28:26 +0000 (15:28 +1000)]
Cleanup: clarify order of precedence: &/?

4 years agoFix T41177. Bevel shouldn't try to slide along edge when can't see it.
Howard Trickey [Wed, 3 Jun 2015 19:18:41 +0000 (15:18 -0400)]
Fix T41177. Bevel shouldn't try to slide along edge when can't see it.

4 years agoI18n extract: better handling of commandline args.
Bastien Montagne [Wed, 3 Jun 2015 15:15:00 +0000 (17:15 +0200)]
I18n extract: better handling of commandline args.

4 years agoMake reading previews from .blend file more robust.
Bastien Montagne [Wed, 3 Jun 2015 14:42:08 +0000 (16:42 +0200)]
Make reading previews from .blend file more robust.

Hit a case here where rect pointer was not NULL, when h & w were both zero...
Shall not happen, but better not crash on such cases!

4 years agoDo not show brush cursor for fill brush (size not supported)
Antony Riakiotakis [Wed, 3 Jun 2015 10:04:47 +0000 (12:04 +0200)]
Do not show brush cursor for fill brush (size not supported)

4 years agoFix inconsistencies in texture paint UI T44929, T44927:
Antony Riakiotakis [Wed, 3 Jun 2015 09:33:33 +0000 (11:33 +0200)]
Fix inconsistencies in texture paint UI T44929, T44927:

* lock alpha only works in projective painting
* fill threshold only works in 2D painting

4 years agoFix error calculating bmesh normals
Campbell Barton [Wed, 3 Jun 2015 08:10:43 +0000 (18:10 +1000)]
Fix error calculating bmesh normals

edge vector stack was left un-cleared.

4 years agoBLI_stack: gtest for clear
Campbell Barton [Wed, 3 Jun 2015 08:09:12 +0000 (18:09 +1000)]
BLI_stack: gtest for clear

4 years agoBLI_stack, add clear function.
Campbell Barton [Wed, 3 Jun 2015 08:06:47 +0000 (18:06 +1000)]
BLI_stack, add clear function.

4 years agoCorrect own fix reference before assignment
Campbell Barton [Wed, 3 Jun 2015 07:08:28 +0000 (17:08 +1000)]
Correct own fix reference before assignment

3rd fix for silly exception conversion!

4 years agoFix memory leak loading multi-layer OpenEXR
Campbell Barton [Wed, 3 Jun 2015 06:23:32 +0000 (16:23 +1000)]
Fix memory leak loading multi-layer OpenEXR

4 years agoFix memory leak loading single-layer OpenEXR
Campbell Barton [Wed, 3 Jun 2015 06:07:27 +0000 (16:07 +1000)]
Fix memory leak loading single-layer OpenEXR

Internal EXR API specifically avoids freeing non-file streams.

4 years agoFix for RMB Menu title including shortcut
Campbell Barton [Wed, 3 Jun 2015 04:57:14 +0000 (14:57 +1000)]
Fix for RMB Menu title including shortcut

4 years agoFix UI string clip (reverse search separator char)
Campbell Barton [Wed, 3 Jun 2015 05:01:02 +0000 (15:01 +1000)]
Fix UI string clip (reverse search separator char)

The string may have many '|' characters, only the last is clipped.

4 years agoCleanup: check button flag for shortcut delimiter
Campbell Barton [Wed, 3 Jun 2015 04:34:04 +0000 (14:34 +1000)]
Cleanup: check button flag for shortcut delimiter

4 years agoFix multires update (reading `char *` as an `int *`)
Campbell Barton [Wed, 3 Jun 2015 03:40:39 +0000 (13:40 +1000)]
Fix multires update (reading `char *` as an `int *`)

4 years agoFix object align crash (use-after-free)
Campbell Barton [Wed, 3 Jun 2015 03:40:00 +0000 (13:40 +1000)]
Fix object align crash (use-after-free)

4 years agoCleanup: metaballs called memcpy with NULL source
Campbell Barton [Wed, 3 Jun 2015 02:35:37 +0000 (12:35 +1000)]
Cleanup: metaballs called memcpy with NULL source

Simplify logic and use realloc

4 years agoCorrect vert/edge slide poll functions
Campbell Barton [Wed, 3 Jun 2015 03:41:30 +0000 (13:41 +1000)]
Correct vert/edge slide poll functions

Would crash trying to access outside the 3D view.

4 years agoCorrect own recent error printing Python exception
Campbell Barton [Wed, 3 Jun 2015 02:36:32 +0000 (12:36 +1000)]
Correct own recent error printing Python exception