8 years agoOSX/Scons/clang: more restrict the ftemplate fix to clang bundled with xcode 5 only
Jens Verwiebe [Tue, 10 Sep 2013 12:55:36 +0000 (12:55 +0000)]
OSX/Scons/clang: more restrict the ftemplate fix to clang bundled with xcode 5 only

8 years agoCore code for split normals computation. Many thanks to ideasman for is optimization...
Bastien Montagne [Tue, 10 Sep 2013 12:48:08 +0000 (12:48 +0000)]
Core code for split normals computation. Many thanks to ideasman for is optimization guiding and code reviews!

Note the API is not yet committed, as it may need a few more checks & tweaks. ;)

8 years agoEnable view3d-like shortcuts for pivot point in clip editor
Sergey Sharybin [Tue, 10 Sep 2013 12:46:27 +0000 (12:46 +0000)]
Enable view3d-like shortcuts for pivot point in clip editor

8 years agoDon't show 2D cursor in tracking mode i pivoting is not set to 2D cursor
Sergey Sharybin [Tue, 10 Sep 2013 12:46:23 +0000 (12:46 +0000)]
Don't show 2D cursor in tracking mode i pivoting is not set to 2D cursor

8 years agoTweaks to plane track
Sergey Sharybin [Tue, 10 Sep 2013 12:46:18 +0000 (12:46 +0000)]
Tweaks to plane track

- Do plane re-evaluation only when transform is actually done.
  Before this re-evaluation happened on every mouse move.

- Added a flag "Auto Keyframe" for the plane track, which does:

  * If Auto Keyframe is enabled, then every manual edit of the
    plane will create a new keyframe at current frame and update
    plane motion between current frame and previous/next keyframe.

    This now also implies blending detected motion with neighbor
    keyframes, so there's no jump happening.

    No automatic update on manual point tracks edit will happen.

  * If auto Keyframe is disabled, then no keyframes are adding
    to the plane and every plane tweak will re-evaluate in on
    the whole frame range.

    In this case manual tweaks to point tracks and re-tracking
    them implies plane re-evaluation.

8 years agoOSX/Scons/clang: restrict the ftemplate fix to clang only
Jens Verwiebe [Tue, 10 Sep 2013 12:31:21 +0000 (12:31 +0000)]
OSX/Scons/clang: restrict the ftemplate fix to clang only

8 years agoremove redundant indirection in asserts
Campbell Barton [Tue, 10 Sep 2013 11:47:21 +0000 (11:47 +0000)]
remove redundant indirection in asserts

8 years agoadd BLI_SMALLSTACK_***, macros: stack doesn't have a fixed size, it uses stack memory...
Campbell Barton [Tue, 10 Sep 2013 11:04:20 +0000 (11:04 +0000)]
add BLI_SMALLSTACK_***, macros: stack doesn't have a fixed size, it uses stack memory and never allocates.
it can be added and removed many times per function but will always remain the size of the maximum number of items.

not used yet, added for normal calculation function from mont29.

8 years ago* Compile fix for r59990.
Thomas Dinges [Tue, 10 Sep 2013 09:06:24 +0000 (09:06 +0000)]
* Compile fix for r59990.

8 years agomakesrna fix: The C++ wrapper functions for collection lookup (both int and string...
Lukas Toenne [Tue, 10 Sep 2013 08:27:13 +0000 (08:27 +0000)]
makesrna fix: The C++ wrapper functions for collection lookup (both int and string) were not clearing the return pointer if no item is found, but only in case there is a custom lookup function defined.
This causes trouble with Cycles because the C++ API uses the returned pointer to determine validity - if no item is found the pointer should be NULL for checking.

8 years agoadd 2d convex hull utility function, BLI_convexhull_2d(), and python api mathutils...
Campbell Barton [Tue, 10 Sep 2013 07:52:10 +0000 (07:52 +0000)]
add 2d convex hull utility function, BLI_convexhull_2d(), and python api mathutils.geometry.convex_hull_2d()

uses Andrew's monotone chain 2D convex hull algorithm.

8 years agoRemove dimension checks from window creation.
Nathan Letwory [Tue, 10 Sep 2013 06:35:50 +0000 (06:35 +0000)]
Remove dimension checks from window creation.

This should be (and is) done by the caller instead (windowmanager)
to ensure new windows fit properly on the desktop. Saving
stretched layouts and layouts with window over display
boundaries now becomes possible on Windows too.

8 years agoChange window checks to desktop size instead of screen size.
Nathan Letwory [Tue, 10 Sep 2013 06:32:32 +0000 (06:32 +0000)]
Change window checks to desktop size instead of screen size.

This allows to open windows stretched over monitors. Saving
stretched layouts open correctly as well.

Renamed screensize_all to desktopsize to better convey meaning.

8 years agoAdd BLI_utildefines.h for __func__ (necessary for MSVC).
Nathan Letwory [Tue, 10 Sep 2013 05:57:54 +0000 (05:57 +0000)]
Add BLI_utildefines.h for __func__ (necessary for MSVC).

8 years agofix/workaround [#36694] Texture node groups tend to crash Blender a lot.
Campbell Barton [Tue, 10 Sep 2013 03:18:43 +0000 (03:18 +0000)]
fix/workaround [#36694] Texture node groups tend to crash Blender a lot.

8 years agofix [#36492] Keymap: Issue setting operator path properties
Campbell Barton [Tue, 10 Sep 2013 02:49:33 +0000 (02:49 +0000)]
fix [#36492] Keymap: Issue setting operator path properties

8 years agofix [#36693] segfaults when split vertice of Bezier curve
Campbell Barton [Tue, 10 Sep 2013 01:06:45 +0000 (01:06 +0000)]
fix [#36693] segfaults when split vertice of Bezier curve
own error in recent curve split patch.

8 years agocode cleanup: use bool for imbuf allocation functions.
Campbell Barton [Tue, 10 Sep 2013 01:00:03 +0000 (01:00 +0000)]
code cleanup: use bool for imbuf allocation functions.

8 years agofix [#36187] Crash loading large images
Campbell Barton [Tue, 10 Sep 2013 00:53:39 +0000 (00:53 +0000)]
fix [#36187] Crash loading large images

alloc size was larger then an int, use size_t for all image alloc sizes.

8 years agoCycles OSL: update to build with latest OSL master branch.
Brecht Van Lommel [Mon, 9 Sep 2013 21:52:26 +0000 (21:52 +0000)]
Cycles OSL: update to build with latest OSL master branch.

8 years agoFix #36356: faces not drawn with constructive modifier + dynamic paint, where it
Brecht Van Lommel [Mon, 9 Sep 2013 20:46:43 +0000 (20:46 +0000)]
Fix #36356: faces not drawn with constructive modifier + dynamic paint, where it
overrides material colors with dynamic paint colors.

8 years agoFix #36641: maya key configuration shift + LMB drag border select did not work
Brecht Van Lommel [Mon, 9 Sep 2013 20:23:38 +0000 (20:23 +0000)]
Fix #36641: maya key configuration shift + LMB drag border select did not work
anymore. This broke after the change to make holding shift deselect with B key
border select in the regular Blender keymap.

8 years agoUsual UI messages fixes...
Bastien Montagne [Mon, 9 Sep 2013 20:22:01 +0000 (20:22 +0000)]
Usual UI messages fixes...

8 years agoAttempt fix for #36688.
Antony Riakiotakis [Mon, 9 Sep 2013 18:39:51 +0000 (18:39 +0000)]
Attempt fix for #36688.

Curves may not be not initialized when called from python. C code
explicilty says that curvemapping_initialize should be called prior to
evaluating the curve, however the curve clip rectangle is not available
when calling evaluation on the curvemap. This is not possible unless we
force the evaluation on CurveMapping level, not on CurveMap level.

For now just pass a rectangle with the x boundary values of the curvemap
for evaluation to avoid the crash.

8 years agoFix #36692: crash with split viewer compositing node and rendering. Only one viewer
Brecht Van Lommel [Mon, 9 Sep 2013 18:00:25 +0000 (18:00 +0000)]
Fix #36692: crash with split viewer compositing node and rendering. Only one viewer
node should write to the viewer image, the logic to check this was wrong, now made
it the same as the viewer node.

8 years agoOSX/Scons/clang: compilefix for libmv, as discussed with brech just globally
Jens Verwiebe [Mon, 9 Sep 2013 17:26:09 +0000 (17:26 +0000)]
OSX/Scons/clang: compilefix for libmv, as discussed with brech just globally

8 years agoFix #36593: crash duplicating window on OS X in some situations. User data
Brecht Van Lommel [Mon, 9 Sep 2013 16:55:35 +0000 (16:55 +0000)]
Fix #36593: crash duplicating window on OS X in some situations. User data
should be set before GHOST_SetWindowState, since this may generate an event.

8 years agoOSX/clang5: revert 59960, todo: make it global
Jens Verwiebe [Mon, 9 Sep 2013 16:24:23 +0000 (16:24 +0000)]
OSX/clang5: revert 59960, todo: make it global

8 years agoOSX/clang5: fix broken compiling
Jens Verwiebe [Mon, 9 Sep 2013 15:45:09 +0000 (15:45 +0000)]
OSX/clang5: fix broken compiling

8 years agoSome more fixes to missing look initialization
Sergey Sharybin [Mon, 9 Sep 2013 15:34:13 +0000 (15:34 +0000)]
Some more fixes to missing look initialization

8 years ago3D View / UI:
Thomas Dinges [Mon, 9 Sep 2013 14:26:39 +0000 (14:26 +0000)]
3D View / UI:
* Save some space in the "Curve Display" panel.

Patch by Sebastian K├Ânig, thanks!

8 years agoFilm response looks:
Brecht Van Lommel [Mon, 9 Sep 2013 14:23:58 +0000 (14:23 +0000)]
Film response looks:

* Reorder list a bit to put brands together
* Move looks menu below views
* Rename camera_response to film_response folder, to make clear that these
  are photographic film types, not camera models

8 years agoFix #36682: disable shift+backspace shortcut to delete all text in text fields,
Brecht Van Lommel [Mon, 9 Sep 2013 14:23:47 +0000 (14:23 +0000)]
Fix #36682: disable shift+backspace shortcut to delete all text in text fields,
it's too easy to hit accidentally and isn't a standard shortcut. Deleting all
text is quite easy by just pressing backspace right after clicking the text
field anyway.

8 years agoFix OpenCL build error.
Brecht Van Lommel [Mon, 9 Sep 2013 12:15:16 +0000 (12:15 +0000)]
Fix OpenCL build error.

8 years agoFix libmv build error on OS X with Xcode 5.
Brecht Van Lommel [Mon, 9 Sep 2013 12:15:14 +0000 (12:15 +0000)]
Fix libmv build error on OS X with Xcode 5.

8 years agoCreate/delete keyframe for motion tracks in clip editor
Sergey Sharybin [Mon, 9 Sep 2013 11:55:52 +0000 (11:55 +0000)]
Create/delete keyframe for motion tracks in clip editor

Use I to create a new keyframe, Alt-I to remove the ketframe.

8 years agoAvoid using "bundle" in condole message print
Sergey Sharybin [Mon, 9 Sep 2013 11:40:41 +0000 (11:40 +0000)]
Avoid using "bundle" in condole message print

According to bf-vfx the word "bundle" was confusing
for artists.

8 years agoEnable vertex snapping to bundle positions
Sergey Sharybin [Mon, 9 Sep 2013 11:37:37 +0000 (11:37 +0000)]
Enable vertex snapping to bundle positions

This means it's possible now to snap stuff to
reconstructed tracks positions.

8 years agoFilm response curves implemented as a looks
Sergey Sharybin [Mon, 9 Sep 2013 09:48:26 +0000 (09:48 +0000)]
Film response curves implemented as a looks

This commit implement's OCIO's Looks idea which
is about applying some color correction on the
buffer before it get's affected by a display

This is mainly used to modify images in an
artistics way.

Currently we've got looks generated from film
response curves for all sorts of cameras.

Patch by both of me and Brecht.

8 years agofix [#36685] crash calculating tangent space data on degenerate geometry
Campbell Barton [Mon, 9 Sep 2013 09:33:34 +0000 (09:33 +0000)]
fix [#36685] crash calculating tangent space data on degenerate geometry

the error was that the range check was done on the float before converting to an int.
now convert to and int first and ensure a valid range on that.

8 years agoFix own mistake in one of previous commits
Sergey Sharybin [Mon, 9 Sep 2013 08:50:12 +0000 (08:50 +0000)]
Fix own mistake in one of previous commits

Was overriding list's link next/prev after it was
added to the list.

Also, no need to set next/prev to NULL when adding
a link to the list.

8 years agoFix #36663, Bone properties sometimes vanish when mousing into properties window.
Lukas Toenne [Mon, 9 Sep 2013 06:31:30 +0000 (06:31 +0000)]
Fix #36663, Bone properties sometimes vanish when mousing into properties window.
Active edit bone was cleared from armature after each file save, even though the edit data is not actually freed then. Without the active edit bone the poll functions for bone panels fail.

8 years agocorrect error in recent changes for building with openmp.
Campbell Barton [Mon, 9 Sep 2013 05:42:26 +0000 (05:42 +0000)]
correct error in recent changes for building with openmp.
rename DM_OMP_LIMIT to BKE_MESH_OMP_LIMIT and set to 0 when in debug mode, same for BM_OMP_LIMIT.

8 years agoenable strict flags for mesh_evaluate.c
Campbell Barton [Mon, 9 Sep 2013 03:12:23 +0000 (03:12 +0000)]
enable strict flags for mesh_evaluate.c

8 years agoremove use of BLI_array in BKE_mesh_mpoly_to_mface(). was over-allocating anyway...
Campbell Barton [Mon, 9 Sep 2013 02:16:22 +0000 (02:16 +0000)]
remove use of BLI_array in BKE_mesh_mpoly_to_mface(). was over-allocating anyway so just allocate the array once.

8 years agomove mesh evaluation functions (normal, mapping, smooth group... etc, calculations...
Campbell Barton [Mon, 9 Sep 2013 02:11:44 +0000 (02:11 +0000)]
move mesh evaluation functions (normal, mapping, smooth group... etc, calculations) into mesh_evaluate.c.
mesh.c was over 4k lines and complex functions mixed in with general library management.

8 years agoCode cleanup: Minor function capitalization fix
Joseph Mansfield [Mon, 9 Sep 2013 00:06:23 +0000 (00:06 +0000)]
Code cleanup: Minor function capitalization fix

8 years agoscrew tool used uninitialized normal to detect flipping direction.
Campbell Barton [Sun, 8 Sep 2013 22:52:48 +0000 (22:52 +0000)]
screw tool used uninitialized normal to detect flipping direction.

lookes like bug from bmesh merge, restored from 2.4x.

8 years agocode cleanup: warnings and redundant checks.
Campbell Barton [Sun, 8 Sep 2013 20:25:31 +0000 (20:25 +0000)]
code cleanup: warnings and redundant checks.

8 years agoCycles:
Thomas Dinges [Sun, 8 Sep 2013 18:59:39 +0000 (18:59 +0000)]
* Refactor PathState struct and functions into its own file.

8 years agoChanges to Freestyle default parameters:
Tamito Kajiyama [Sun, 8 Sep 2013 17:56:04 +0000 (17:56 +0000)]
Changes to Freestyle default parameters:
- The "Same Object" chaining option enabled (see follow-up discussions in Bug #36629).
- Sphere radius set to 0.1 (was 1.0 resulting in a longer computation time).

8 years agoCycles:
Thomas Dinges [Sun, 8 Sep 2013 17:20:47 +0000 (17:20 +0000)]
* Fix some compile errors, when building without Branched Path.

8 years agoSome fixes to tips...
Bastien Montagne [Sun, 8 Sep 2013 14:01:14 +0000 (14:01 +0000)]
Some fixes to tips...

8 years agoupdate bmesh doxy docs, remove double-promotion warnings in remove-strict-flags cmake...
Campbell Barton [Sun, 8 Sep 2013 06:55:58 +0000 (06:55 +0000)]
update bmesh doxy docs, remove double-promotion warnings in remove-strict-flags cmake macro.

8 years agocode cleanup: quiet warnings
Campbell Barton [Sun, 8 Sep 2013 06:05:42 +0000 (06:05 +0000)]
code cleanup: quiet warnings

8 years agopatch [#36633] Correct headers for renders saved as bitmap (.bmp) format.
Campbell Barton [Sun, 8 Sep 2013 03:39:45 +0000 (03:39 +0000)]
patch [#36633] Correct headers for renders saved as bitmap (.bmp) format.
by Brandon Northcutt (occamsdream)

Blender was writing invalid bitmaps that imagemagick and ffmpeg couldn't read.

8 years agoRemove unused constant.
Sergey Sharybin [Sat, 7 Sep 2013 19:44:01 +0000 (19:44 +0000)]
Remove unused constant.

8 years agoCode cleanup: us commented out arg names rather than leaving them if unused
Sergey Sharybin [Sat, 7 Sep 2013 19:41:46 +0000 (19:41 +0000)]
Code cleanup: us commented out arg names rather than leaving them if unused

8 years agoshrink-wrap constraint, improve and remove some limitations.
Campbell Barton [Sat, 7 Sep 2013 12:59:16 +0000 (12:59 +0000)]
shrink-wrap constraint, improve and remove some limitations.
- ability to change the space the axis is projected in (so you can choose worldspace or -space, was always local-space before).
- support projecting on a negative axis, without this some very simple clamping is not possible if the direction happened not to be positive.
- add distance limit (same as modifier), without this single meshes surrounding an object would make the constraint impossible to use in some cases (it would snap to the wrong side).

note: this removes the ability to project on multiple axes at once but this option only added up directions and didnt project on multiple axes as you might expect.

8 years agoUsual blenderplayer stub fix... ;)
Bastien Montagne [Sat, 7 Sep 2013 12:46:48 +0000 (12:46 +0000)]
Usual blenderplayer stub fix... ;)

8 years agouse strict flags for gridfill, use unsigned ints.
Campbell Barton [Sat, 7 Sep 2013 08:41:29 +0000 (08:41 +0000)]
use strict flags for gridfill, use unsigned ints.

8 years agochanges to grid fill
Campbell Barton [Sat, 7 Sep 2013 08:13:39 +0000 (08:13 +0000)]
changes to grid fill
- use 4 weights for vertex customdata blending (was previously only using 2)
- option for simple blending, which blends locations using weights too and doesn't attempt to maintain the shape,
  useful for flat surfaces or times when keeping the shape gives odd results.

8 years agomissing NULL check in recent commit, also skip some calculations in mean_value_half_t...
Campbell Barton [Sat, 7 Sep 2013 06:56:27 +0000 (06:56 +0000)]
missing NULL check in recent commit, also skip some calculations in mean_value_half_tan functions for degenerate cases.

8 years agoavoid divide by zeto in node preview drawing.
Campbell Barton [Sat, 7 Sep 2013 04:35:26 +0000 (04:35 +0000)]
avoid divide by zeto in node preview drawing.

8 years agorna wrap WM_cursor_warp
Campbell Barton [Fri, 6 Sep 2013 23:17:29 +0000 (23:17 +0000)]
rna wrap WM_cursor_warp

8 years agowrap cursor setting so python can make use of it, eg:
Campbell Barton [Fri, 6 Sep 2013 22:54:22 +0000 (22:54 +0000)]
wrap cursor setting so python can make use of it, eg:
- win.cursor_set('WAIT')
- win.cursor_modal_set('TEXT')
- win.cursor_modal_restore()

8 years agorename cursor setting functions to make modal set/restore more clearly related functions.
Campbell Barton [Fri, 6 Sep 2013 22:34:29 +0000 (22:34 +0000)]
rename cursor setting functions to make modal set/restore more clearly related functions.

8 years agoCode cleanup / Cycles:
Thomas Dinges [Fri, 6 Sep 2013 16:07:49 +0000 (16:07 +0000)]
Code cleanup / Cycles:
* Some cleanup for disabled Volume code.

8 years ago3D View: add shift+Z shortcut key to switch to Rendered draw mode.
Brecht Van Lommel [Fri, 6 Sep 2013 13:25:54 +0000 (13:25 +0000)]
3D View: add shift+Z shortcut key to switch to Rendered draw mode.

8 years agoCMake and scons update to detect OS X 10.9, cmake patch by Jake Kauth.
Brecht Van Lommel [Fri, 6 Sep 2013 12:43:27 +0000 (12:43 +0000)]
CMake and scons update to detect OS X 10.9, cmake patch by Jake Kauth.

8 years agoFix #36672: outliner allowed to toggle linked group visibility, which should not
Brecht Van Lommel [Fri, 6 Sep 2013 12:11:15 +0000 (12:11 +0000)]
Fix #36672: outliner allowed to toggle linked group visibility, which should not
be allowed because this is linked data, so any changes would not be saved.

8 years agoWoops, minr style changes are needed.
Sergey Sharybin [Fri, 6 Sep 2013 10:23:21 +0000 (10:23 +0000)]
Woops, minr style changes are needed.

8 years agoAvoid tracks reallocation and planes traversal in tracks_map_merge
Sergey Sharybin [Fri, 6 Sep 2013 10:21:56 +0000 (10:21 +0000)]
Avoid tracks reallocation and planes traversal in tracks_map_merge

Would save us a bit of time when doing 2D tracking.

8 years agoOn the second thought, no need to go between straight and premul when doing AA for...
Sergey Sharybin [Fri, 6 Sep 2013 09:56:04 +0000 (09:56 +0000)]
On the second thought, no need to go between straight and premul when doing AA for plane warp node

8 years agogrid-fill support for customdata, so filled areas have UV's, vertex colors etc interp...
Campbell Barton [Fri, 6 Sep 2013 06:48:17 +0000 (06:48 +0000)]
grid-fill support for customdata, so filled areas have UV's, vertex colors etc interpolated from the boundary.
also support cases where only some of the boundary edges have faces to interpolate from.

8 years agobmesh utility functions BM_face_as_array_loop_tri, BM_face_as_array_loop_quad
Campbell Barton [Fri, 6 Sep 2013 06:27:22 +0000 (06:27 +0000)]
bmesh utility functions BM_face_as_array_loop_tri, BM_face_as_array_loop_quad
also set attributes for the header and remove debug print in mask.c

8 years agofix for barycentric_weights_v2_quad() divide by zero when the location we're checking...
Campbell Barton [Fri, 6 Sep 2013 05:44:18 +0000 (05:44 +0000)]
fix for barycentric_weights_v2_quad() divide by zero when the location we're checking the weight of touches one of the weighting coords exactly.

8 years agoerror in recent gridfill commit, calculating span last failed.
Campbell Barton [Fri, 6 Sep 2013 02:59:25 +0000 (02:59 +0000)]
error in recent gridfill commit, calculating span last failed.

8 years agostarting blenderplater wasnt flipping use_deprecation_warnings when it should, also...
Campbell Barton [Fri, 6 Sep 2013 02:50:28 +0000 (02:50 +0000)]
starting blenderplater wasnt flipping use_deprecation_warnings when it should, also use values directly without converting to ints.

8 years agofix for bug in GHOST/SDL, events dont always have a window (which ghost needs).
Campbell Barton [Fri, 6 Sep 2013 01:40:20 +0000 (01:40 +0000)]
fix for bug in GHOST/SDL, events dont always have a window (which ghost needs).
fallback to the window with the active opengl context.

8 years agoBGE Fix: [#32360] Standalone Player switches not working
Daniel Stokes [Thu, 5 Sep 2013 23:09:14 +0000 (23:09 +0000)]
BGE Fix: [#32360] Standalone Player switches not working

Launching the player from the Blender UI now makes use of the "Debug Properties", "Framerate and Profile", and "Deprecation Warnings" options by setting the appropriate command line flags.

8 years agogrid-fill now detects non-square grids (this is what users would expect)
Campbell Barton [Thu, 5 Sep 2013 22:58:35 +0000 (22:58 +0000)]
grid-fill now detects non-square grids (this is what users would expect)

8 years agosorting utility functions for simple cases - sorting pointers by float for example.
Campbell Barton [Thu, 5 Sep 2013 22:24:12 +0000 (22:24 +0000)]
sorting utility functions for simple cases - sorting pointers by float for example.

8 years agoFixing a problem with variance shadow maps blurring out on transparent receivers...
Daniel Stokes [Thu, 5 Sep 2013 22:05:52 +0000 (22:05 +0000)]
Fixing a problem with variance shadow maps blurring out on transparent receivers in the Game Engine reported by Sam Cameron on the IRC.

Also correcting some slight blurring over time by making sure the color buffer is cleared for shadows.

8 years agoalign BevelSort strict to save some bytes. use camel case.
Campbell Barton [Thu, 5 Sep 2013 21:45:05 +0000 (21:45 +0000)]
align BevelSort strict to save some bytes. use camel case.

8 years agofix [#36656] text editor undo error when undoing paste command
Justin Dailey [Thu, 5 Sep 2013 21:36:19 +0000 (21:36 +0000)]
fix [#36656] text editor undo error when undoing paste command

When tabs to spaces is enabled and a paste command is undone, the improper number of characters could get removed. Also fixed issue with shift + left/right only selecting a max of 1 character.

8 years agorename positive_mod to mod_i, make it work with nagative numbers (matching pythons...
Campbell Barton [Thu, 5 Sep 2013 20:54:32 +0000 (20:54 +0000)]
rename positive_mod to mod_i, make it work with nagative numbers (matching pythons modulo), and use in a few more places.

allow mesh-checker-deselect to have a negative offset.

8 years agocode cleanup:
Campbell Barton [Thu, 5 Sep 2013 19:56:49 +0000 (19:56 +0000)]
code cleanup:
- add missing headers from cmake (own omission)
- quiet rna_test.c unused define warnings.
- minor style edits
- spelling corrections and ignore all uppercase words with spell checking script.

8 years agoCleanup (mostly #defines -> enums, and bitflags using bitshift operator!).
Bastien Montagne [Thu, 5 Sep 2013 18:12:37 +0000 (18:12 +0000)]
Cleanup (mostly #defines -> enums, and bitflags using bitshift operator!).

8 years agoCode cleanup: use boolean instead of int for colormanagement
Sergey Sharybin [Thu, 5 Sep 2013 17:13:43 +0000 (17:13 +0000)]
Code cleanup: use boolean instead of int for colormanagement

8 years agoAdded a brie instruction how to build simple memtest
Sergey Sharybin [Thu, 5 Sep 2013 16:32:44 +0000 (16:32 +0000)]
Added a brie instruction how to build simple memtest

8 years agoGhost test application could be compiled again
Sergey Sharybin [Thu, 5 Sep 2013 16:22:07 +0000 (16:22 +0000)]
Ghost test application could be compiled again

Was an IRC request to have Ghost application up
and running for investigation purposes.

8 years agoFix metaball f-curves not showing up in graph editor.
Brecht Van Lommel [Thu, 5 Sep 2013 16:15:01 +0000 (16:15 +0000)]
Fix metaball f-curves not showing up in graph editor.

8 years agoFix #36649 and #36650: animation of freestyle line thickness and linestyle did
Brecht Van Lommel [Thu, 5 Sep 2013 15:47:52 +0000 (15:47 +0000)]
Fix #36649 and #36650: animation of freestyle line thickness and linestyle did
not render correct in animations, due to missing updates.

8 years agoExpose theme color of shadow UVs (These include UVs that are drawn in
Antony Riakiotakis [Thu, 5 Sep 2013 15:09:10 +0000 (15:09 +0000)]
Expose theme color of shadow UVs (These include UVs that are drawn in
texture paint modes and as modified mesh uvs overlay) and UVs of other

8 years agoCtr-Alt-F radial control operator for texture painting, controls the
Antony Riakiotakis [Thu, 5 Sep 2013 14:02:59 +0000 (14:02 +0000)]
Ctr-Alt-F radial control operator for texture painting, controls the
rotation of the brush mask texture.

Unfortunately secondary path does not work here because we do not have a
permanent switch to choose between primary-secondary brush texture. Use
operator property instead.

8 years agoCode cleanup: use boolean instead of int for space_clip
Sergey Sharybin [Thu, 5 Sep 2013 13:37:53 +0000 (13:37 +0000)]
Code cleanup: use boolean instead of int for space_clip

8 years agoCode cleanup: get rid of crappy height cast to double
Sergey Sharybin [Thu, 5 Sep 2013 13:37:46 +0000 (13:37 +0000)]
Code cleanup: get rid of crappy height cast to double

8 years agoCode cleanup: use boolean instead of int for tracking API
Sergey Sharybin [Thu, 5 Sep 2013 13:37:36 +0000 (13:37 +0000)]
Code cleanup: use boolean instead of int for tracking API

8 years agoCompositor cleanup: Merge conversion operations into a single file (see also r59820).
Lukas Toenne [Thu, 5 Sep 2013 13:32:14 +0000 (13:32 +0000)]
Compositor cleanup: Merge conversion operations into a single file (see also r59820).

Most convert operations can share a common base class with a single socket reader (except channel separate/combine nodes).