blender.git
6 years agoUsual minor UI messages fixes...
Bastien Montagne [Mon, 21 Jan 2013 16:25:25 +0000 (16:25 +0000)]
Usual minor UI messages fixes...

6 years agomesh-cache deform modifier,
Campbell Barton [Mon, 21 Jan 2013 15:41:00 +0000 (15:41 +0000)]
mesh-cache deform modifier,
supports MDD and PC2 formats.

see wiki docs:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Deform/Mesh_Cache

6 years agoOn second thought, exposes bpy.app.translations also when built without i18n support...
Bastien Montagne [Mon, 21 Jan 2013 15:10:22 +0000 (15:10 +0000)]
On second thought, exposes bpy.app.translations also when built without i18n support, this will avoid the need for py scripts to test for its presence everywhere!

6 years agoAdd (vertex-only) Bevel to Mesh > Vertex menu.
Howard Trickey [Mon, 21 Jan 2013 14:15:57 +0000 (14:15 +0000)]
Add (vertex-only) Bevel to Mesh > Vertex menu.

6 years agoFix building for new collada...
Bastien Montagne [Mon, 21 Jan 2013 14:00:01 +0000 (14:00 +0000)]
Fix building for new collada...

6 years agoAdded gsoc-2012 collada improvements from bratwurst branch
Gaia Clary [Mon, 21 Jan 2013 13:45:49 +0000 (13:45 +0000)]
Added gsoc-2012 collada improvements from bratwurst branch

6 years agoBevel vertex: fix rebuild of faces so they are connected when seg > 1.
Howard Trickey [Mon, 21 Jan 2013 13:31:16 +0000 (13:31 +0000)]
Bevel vertex: fix rebuild of faces so they are connected when seg > 1.

6 years agoAvoid using python keyword as operator property name
Sergey Sharybin [Mon, 21 Jan 2013 12:44:40 +0000 (12:44 +0000)]
Avoid using python keyword as operator property name

6 years agoFix #33899: Maya keymap/custom keymap selection issues
Sergey Sharybin [Mon, 21 Jan 2013 12:27:31 +0000 (12:27 +0000)]
Fix #33899: Maya keymap/custom keymap selection issues

Switch selection from Release to Click, so releasing mouse button
after transform confirmation wouldn't trigger selection operator.

However, needed to disable old Click behavior which used to deselect
everything if click happened outside of any object. It wad bad way
to do such a behavior and shall be re-think and solved in a better
way.

6 years agoPrint warnings when invalid py dict/key/value is found in translations data (do not...
Bastien Montagne [Mon, 21 Jan 2013 12:01:47 +0000 (12:01 +0000)]
Print warnings when invalid py dict/key/value is found in translations data (do not error here, this is not critical and can be ignored/skiped, and it would break translations for other addons as well).

6 years agoFix image pool crash when acquiring buffer for NULL image
Sergey Sharybin [Mon, 21 Jan 2013 11:38:15 +0000 (11:38 +0000)]
Fix image pool crash when acquiring buffer for NULL image

6 years agoUpdating icons to 2.5.08 (see [#33448])
Joshua Leung [Mon, 21 Jan 2013 11:25:04 +0000 (11:25 +0000)]
Updating icons to 2.5.08  (see [#33448])

Thanks Wolter van der Velde for adding the (most of) the missing Force Field
icons

6 years agoExpose locale_explode in bpy.app.translations, will be handy in i18n manipulation...
Bastien Montagne [Mon, 21 Jan 2013 10:57:24 +0000 (10:57 +0000)]
Expose locale_explode in bpy.app.translations, will be handy in i18n manipulation scripts/addons.

6 years agoI18n fix: "" context is not the same as NULL context!
Bastien Montagne [Mon, 21 Jan 2013 10:52:34 +0000 (10:52 +0000)]
I18n fix: "" context is not the same as NULL context!

This bug did not appear earlier because the "" default context was actually never used, always NULL context was passed instead. But bpy.app.translations uses "" as default context in its keys (simplifies the hash/comp functions of internal py messages cache)...

So now, Blender prefers NULL (None in python) as default context value, but understands also "" as such.

6 years agoPatch [#33926] Menu separators to group the items on Specials Menu
Joshua Leung [Mon, 21 Jan 2013 10:48:18 +0000 (10:48 +0000)]
Patch [#33926] Menu separators to group the items on Specials Menu
Submitted by: Harley Acheson (harley)

This patch adds separators to group items in the Special Menu in EditMode. Order
of items is untouched.

6 years agoFixes to BLF_locale_explode, was not handling all cases correctly (own fault) :/
Bastien Montagne [Mon, 21 Jan 2013 10:46:01 +0000 (10:46 +0000)]
Fixes to BLF_locale_explode, was not handling all cases correctly (own fault) :/

6 years agofix regression in own recent commit, vertex flags were left uninitialized.
Campbell Barton [Mon, 21 Jan 2013 09:54:33 +0000 (09:54 +0000)]
fix regression in own recent commit, vertex flags were left uninitialized.

6 years agoSupport normalized displacement maps in cases maximal distance is not set
Sergey Sharybin [Mon, 21 Jan 2013 09:05:05 +0000 (09:05 +0000)]
Support normalized displacement maps in cases maximal distance is not set

This will calculate maximal distance automatically and normalize displacement
to it. Before this change normalization will not happen at all in cases max
distance is not set manually.

This affects on "regular" baker only, there are still some fixes to come for
multiresolution baker, but that could be solved separately.

6 years agoFixed render time regression in Blender Internal
Sergey Sharybin [Mon, 21 Jan 2013 08:49:42 +0000 (08:49 +0000)]
Fixed render time regression in Blender Internal

It was caused by image threading safe commit and it was noticeable
only on really multi-core CPU (like dual-socket Xeon stations), was
not visible on core i7 machine.

The reason of slowdown was spinlock around image buffer referencing,
which lead to lots of cores waiting for single core and using image
buffer after it was referenced was not so much longer than doing
reference itself.

The most clear solution here seemed to be introducing Image Pool
which will contain list of loaded and referenced image buffers, so
all threads could skip lock if the pool is used for reading only.
Lock only needed in cases when buffer for requested image user is
missing in the pool. This lock will happen only once per image so
overall amount of locks is much less that it was before.

To operate with pool:
- BKE_image_pool_new() creates new pool
- BKE_image_pool_free() destroys pool and dereferences all image
  buffers which were loaded to it
- BKE_image_pool_acquire_ibuf() returns image buffer for given
  image and user. Pool could be NULL and in this case fallback to
  BKE_image_acquire_ibuf will happen.

  This helps to avoid lots to if(poll) checks in image sampling
  code.

- BKE_image_pool_release_ibuf releases image buffer. In fact, it
  will only do something if pool is NULL, in all other case it'll
  equal to DoNothing operation.

6 years agoVarious cleanup in i18n code (having funcs implemented in two different places is...
Bastien Montagne [Mon, 21 Jan 2013 08:08:20 +0000 (08:08 +0000)]
Various cleanup in i18n code (having funcs implemented in two different places is tricky, you quickly forget to add/edit one, we already have this problem with ugly bplayer stub... e.g. since r53938, BLF_locale_explode was not implemented in non-WITH_INTERNATIONAL builds). Also tried to simplify #ifdef's here...

6 years agoStyle cleanup
Joshua Leung [Mon, 21 Jan 2013 06:32:09 +0000 (06:32 +0000)]
Style cleanup

6 years agoBugfix [#33852] Scale of a strip in NLA is changed after moving it long distance
Joshua Leung [Mon, 21 Jan 2013 06:31:17 +0000 (06:31 +0000)]
Bugfix [#33852] Scale of a strip in NLA is changed after moving it long distance
using numeric input

When using numeric input to move strips, the strip extent clamping code could
end up prematurely truncating one endpoint. This was because the clamping code
uses the values of the other end (e.g. end for start, and start for end) as one
of the limits on its allowable range to prevent inverted strips.

Now we just set these values twice - the first time, one of the endpoints may
still get truncated (while the other one will be able to go to its correct
value), then the second time both will get set correctly (and validated too).

6 years agoFix compiling problems with translation stuff disabled
Joshua Leung [Mon, 21 Jan 2013 05:42:19 +0000 (05:42 +0000)]
Fix compiling problems with translation stuff disabled

6 years agofix for own error in vertex slide, isolated verts mixed with regular selection would...
Campbell Barton [Mon, 21 Jan 2013 03:00:10 +0000 (03:00 +0000)]
fix for own error in vertex slide, isolated verts mixed with regular selection would crash.

6 years agoBugfix [#33946] Bake Action fails in SVN for Objects
Joshua Leung [Mon, 21 Jan 2013 02:40:51 +0000 (02:40 +0000)]
Bugfix [#33946] Bake Action fails in SVN for Objects

The problems here were caused by a cleanup commit (r. 53369).
BTW, the code here is pretty convoluted mess.

6 years agominor changes to _build_translations_cache(), remove unneeded NULL checks and use...
Campbell Barton [Mon, 21 Jan 2013 02:40:36 +0000 (02:40 +0000)]
minor changes to _build_translations_cache(), remove unneeded NULL checks and use slightly different funcs for getting strings.

6 years agocode cleanup: style & warnings.
Campbell Barton [Mon, 21 Jan 2013 02:30:40 +0000 (02:30 +0000)]
code cleanup: style & warnings.

6 years agoBevel vertex only (shortcut: control-shift-B) initial commit.
Howard Trickey [Mon, 21 Jan 2013 01:52:23 +0000 (01:52 +0000)]
Bevel vertex only (shortcut: control-shift-B) initial commit.

6 years agoOmmit extraneous check for paint tool in 3d mapping case (Only draw tool
Antony Riakiotakis [Mon, 21 Jan 2013 01:01:15 +0000 (01:01 +0000)]
Ommit extraneous check for paint tool in 3d mapping case (Only draw tool
uses this anyway) and avoid copying of coordinate for 3D case.

6 years agoCycles Hair: Fix of cardinal curve intersection routine
Stuart Broadfoot [Mon, 21 Jan 2013 00:58:14 +0000 (00:58 +0000)]
Cycles Hair: Fix of cardinal curve intersection routine

Fixed some of my own mistakes in the cardinal curve intersection routine.

6 years agoFix #33939, if initialization of vert slide failed, code did not handle
Antony Riakiotakis [Mon, 21 Jan 2013 00:39:54 +0000 (00:39 +0000)]
Fix #33939, if initialization of vert slide failed, code did not handle
the case well.

6 years ago3D mapping for projective texture painting (only for draw brush). Useful
Antony Riakiotakis [Sun, 20 Jan 2013 21:32:14 +0000 (21:32 +0000)]
3D mapping for projective texture painting (only for draw brush). Useful
to draw with procedural textures on surface of object. 2D painting will
still paint as if tiled.

When we unify the paint systems, the texture sampling functions will
need to be changed. Sculpt uses a slightly different system that passes
both screen and 3d coordinates to the sampling function. This commit
however is not too disrupting for that however so it can go in now.

6 years agoFix for usual bplayer issue (own fault)...
Bastien Montagne [Sun, 20 Jan 2013 18:17:01 +0000 (18:17 +0000)]
Fix for usual bplayer issue (own fault)...

6 years agoPython i18n API. Many thanks to Campbell and Brecht for the reviews and suggestions!
Bastien Montagne [Sun, 20 Jan 2013 17:29:07 +0000 (17:29 +0000)]
Python i18n API. Many thanks to Campbell and Brecht for the reviews and suggestions!

This commit adds:
* A new bpy.app.translations module giving some info about locales/translation stuff (current active locale, all locales currently known by blender, all translation contexts currently defined, etc.).

* The ability for addons to feature translations, using the (un)register functions of above module.

* Also cleans up "translate py string when storing into RNA prop" by removing "PROP_TRANSLATE" string's subtype, and adding a PROP_STRING_PY_TRANSLATE flag instead (this way it is no more exposed to python...).

Addon translations work with py dictionaries: each addon features a dict {lang: {(context, message): translation, ...}, ...}, which is registered when the addon is enabled (and unregistered when disabled).

Then, when a key (context, message) is not found in regular mo catalog, a cache dict for current locale is built from all registered addon translations, and key is searched in it.

Note: currently addons writers have to do all the work by hand, will add something (probably extend "edit translation" addon) to automate messages extraction from addons soon(ish)! To get a look to expected behavior from addons, have a look at render_copy_settings/__init__.py and render_copy_settings/translations.py (rather stupid example currently, but...). Once we have a complete process, I'll also update relevant wiki pages.

6 years agoFix #33941. We need to free the image editor ibuf too if no image is
Antony Riakiotakis [Sun, 20 Jan 2013 17:25:46 +0000 (17:25 +0000)]
Fix #33941. We need to free the image editor ibuf too if no image is
found for cloning.

6 years agofix for own error in recent BLI_array commit
Campbell Barton [Sun, 20 Jan 2013 16:58:14 +0000 (16:58 +0000)]
fix for own error in recent BLI_array commit

6 years agoAdd missing virtual destructor for VirtualMemoryAllocator
Nicholas Bishop [Sun, 20 Jan 2013 15:36:32 +0000 (15:36 +0000)]
Add missing virtual destructor for VirtualMemoryAllocator

Fixes a warning from GCC 4.7.2.

6 years agocode cleanup: remove some paranoid checks which would have crashed anyway earlier on.
Campbell Barton [Sun, 20 Jan 2013 14:50:50 +0000 (14:50 +0000)]
code cleanup: remove some paranoid checks which would have crashed anyway earlier on.
Also some minor formatting.

6 years agoMore win32 multimon (r53923). Changed getNumDisplays so that it will actually succeed.
Jason Wilkins [Sun, 20 Jan 2013 14:40:31 +0000 (14:40 +0000)]
More win32 multimon (r53923).  Changed getNumDisplays so that it will actually succeed.

6 years agofix for possible null pointer dereference in PE_create_particle_edit
Campbell Barton [Sun, 20 Jan 2013 14:10:10 +0000 (14:10 +0000)]
fix for possible null pointer dereference in PE_create_particle_edit

6 years agoAdd multimon support to GHOST_DisplayManagerWin32.cpp (It seemed to work before,...
Jason Wilkins [Sun, 20 Jan 2013 13:46:53 +0000 (13:46 +0000)]
Add multimon support to GHOST_DisplayManagerWin32.cpp (It seemed to work before, but recent changes to GHOST_ASSERT caused it to abort if WITH_ASSERT_ABORT was configured).

6 years agominor change r53918 was supposed to resolve.
Campbell Barton [Sun, 20 Jan 2013 11:54:43 +0000 (11:54 +0000)]
minor change r53918 was supposed to resolve.

6 years agoremoved incorrect comment in draw_nla_channel_list_gl
Jason Wilkins [Sun, 20 Jan 2013 10:04:11 +0000 (10:04 +0000)]
removed incorrect comment in draw_nla_channel_list_gl

6 years agoremoved extraneous glEnable(GL_BLEND)/glDisable(GL_BLEND) in ui_draw_aligned_panel
Jason Wilkins [Sun, 20 Jan 2013 09:41:46 +0000 (09:41 +0000)]
removed extraneous glEnable(GL_BLEND)/glDisable(GL_BLEND) in ui_draw_aligned_panel

6 years agoedited wmSubWindowScissorSet for readability
Jason Wilkins [Sun, 20 Jan 2013 09:22:11 +0000 (09:22 +0000)]
edited wmSubWindowScissorSet for readability

6 years agocorrection for msvc2008
Campbell Barton [Sun, 20 Jan 2013 08:43:44 +0000 (08:43 +0000)]
correction for msvc2008

6 years agofix own bug with uninitialized arrays in subdivide (from recent BLI_array.h update)
Campbell Barton [Sun, 20 Jan 2013 08:05:23 +0000 (08:05 +0000)]
fix own bug with uninitialized arrays in subdivide (from recent BLI_array.h update)

also quiet warning.

6 years agoUse KKEY in sculpt mode to activate the snake hook brush
Nicholas Bishop [Sun, 20 Jan 2013 00:51:52 +0000 (00:51 +0000)]
Use KKEY in sculpt mode to activate the snake hook brush

This brush is more useful now with dynamic topology, deserves its own
key binding.

6 years agoDelete loose edges left behind by sculpting with collapse-short-edges
Nicholas Bishop [Sun, 20 Jan 2013 00:46:33 +0000 (00:46 +0000)]
Delete loose edges left behind by sculpting with collapse-short-edges

After deleting a face, check for unused edges and delete them.

Fixes bug [#33891]
projects.blender.org/tracker/?func=detail&aid=33891&group_id=9&atid=498

6 years agoUpdate object bounding box during sculpt
Nicholas Bishop [Sun, 20 Jan 2013 00:19:57 +0000 (00:19 +0000)]
Update object bounding box during sculpt

Fixes the sculpt object being incorrectly clipped during drawing due
to an out-of-date bounding box making it seem that the object had gone
outside the view.

Added a BKE_pbvh function to get the top-level bounding box. In
sculpt_flush_update(), where the PBVH bounds are updated, the result
is copied to the object's bounding box.

Fixes bug [#33790]
projects.blender.org/tracker/?func=detail&aid=33790&group_id=9&atid=498

6 years agoDisable OpenMP with dyntopo in paint_mesh_restore_co()
Nicholas Bishop [Sat, 19 Jan 2013 23:52:33 +0000 (23:52 +0000)]
Disable OpenMP with dyntopo in paint_mesh_restore_co()

Otherwise, new entries might be inserted by sculpt_undo_push_node()
into the GHash used internally by BM_log_original_vert_co() by a
different thread.

Fixes bug [#33787]
http://projects.blender.org/tracker/?func=detail&aid=33787&group_id=9&atid=498

6 years agoSkip hidden faces in PBVH BMesh ray intersection test
Nicholas Bishop [Sat, 19 Jan 2013 16:10:21 +0000 (16:10 +0000)]
Skip hidden faces in PBVH BMesh ray intersection test

Moved the GPU function gpu_bmesh_face_visible() to BKE_paint and
inverted the test to match equivalent tests for other mesh types:
paint_is_bmesh_face_hidden().

Changed BKE_pbvh_bmesh_node_save_orig() to not save hidden faces into
the triangle array.

Modified the non-use-original branch of pbvh_bmesh_node_raycast() to
skip hidden faces.

Fixes bug #33914:
projects.blender.org/tracker/index.php?func=detail&aid=33914&group_id=9&atid=498

6 years agouse malloc for BLI array reallocation. Existing code initializes memory.
Campbell Barton [Sat, 19 Jan 2013 07:41:15 +0000 (07:41 +0000)]
use malloc for BLI array reallocation. Existing code initializes memory.

6 years agocode cleanup: BLI_array.h's BLI_array_grow_items macro was unmanageable.
Campbell Barton [Sat, 19 Jan 2013 07:35:55 +0000 (07:35 +0000)]
code cleanup: BLI_array.h's BLI_array_grow_items macro was unmanageable.
moved the main re-alloc logic into a C function.

6 years agostyle cleanup
Campbell Barton [Sat, 19 Jan 2013 06:12:25 +0000 (06:12 +0000)]
style cleanup

6 years agopatch [#33923] Patch for Node Theme Colors
Campbell Barton [Sat, 19 Jan 2013 04:20:53 +0000 (04:20 +0000)]
patch [#33923] Patch for Node Theme Colors
from Gavin Howard (gdh)

6 years agoutility function to get a mempool as a pointer array.
Campbell Barton [Sat, 19 Jan 2013 03:51:17 +0000 (03:51 +0000)]
utility function to get a mempool as a pointer array.

6 years agoreplace error prints with asserts in BLI_mempool when an iterator function is called...
Campbell Barton [Sat, 19 Jan 2013 03:16:52 +0000 (03:16 +0000)]
replace error prints with asserts in BLI_mempool when an iterator function is called on a non-iterator flagged pool.

6 years agopatch [#33924] Spelling Corrections
Campbell Barton [Sat, 19 Jan 2013 03:04:51 +0000 (03:04 +0000)]
patch [#33924] Spelling Corrections
from Gavin Howard (gdh)

6 years agoreplace calloc with malloc for arrays that are filled in right after.
Campbell Barton [Sat, 19 Jan 2013 02:37:04 +0000 (02:37 +0000)]
replace calloc with malloc for arrays that are filled in right after.

6 years agouse openmp for building bmesh arrays, also replace calloc with malloc.
Campbell Barton [Sat, 19 Jan 2013 02:21:53 +0000 (02:21 +0000)]
use openmp for building bmesh arrays, also replace calloc with malloc.

6 years agoCDDM_merge_verts() was building an index array for all loops and not using it.
Campbell Barton [Sat, 19 Jan 2013 02:01:18 +0000 (02:01 +0000)]
CDDM_merge_verts() was building an index array for all loops and not using it.
also use malloc over calloc since the values are filled in right after.

6 years agominor dyntopo speedup: was doing 2x ghash lookups for BM_log_face_removed(), BM_log_v...
Campbell Barton [Sat, 19 Jan 2013 00:53:33 +0000 (00:53 +0000)]
minor dyntopo speedup: was doing 2x ghash lookups for BM_log_face_removed(), BM_log_vert_removed(), only one needed.

6 years agodyntopo optimization - fast path for edges with 2 faces using it, was counting the...
Campbell Barton [Sat, 19 Jan 2013 00:17:10 +0000 (00:17 +0000)]
dyntopo optimization - fast path for edges with 2 faces using it, was counting the edge-faces then using an iterator,
instead use BM_edge_loop_pair()

6 years agoHolding Alt now removes [-1, 1] clamping in vertex slide, Thanks to Psy-Fi for the...
Campbell Barton [Fri, 18 Jan 2013 23:20:17 +0000 (23:20 +0000)]
Holding Alt now removes [-1, 1] clamping in vertex slide, Thanks to Psy-Fi for the original patch.

6 years agoutility vector functions for flipping one vector about another:
Campbell Barton [Fri, 18 Jan 2013 23:07:27 +0000 (23:07 +0000)]
utility vector functions for flipping one vector about another:
  nicer then interp_v3_v3v3(v, v1, v2, -1.0f);

6 years agofix for building with BSD & MinGW.
Campbell Barton [Fri, 18 Jan 2013 21:05:37 +0000 (21:05 +0000)]
fix for building with BSD & MinGW.

6 years agomove draw all edges into the object settings (object panel), makes more sense here...
Campbell Barton [Fri, 18 Jan 2013 19:01:26 +0000 (19:01 +0000)]
move draw all edges into the object settings (object panel), makes more sense here since its next to draw extra wire

6 years agoFix #33916: 2.65a regression: particles duplicating objects with halo - crash
Sergey Sharybin [Fri, 18 Jan 2013 12:29:18 +0000 (12:29 +0000)]
Fix #33916: 2.65a regression: particles duplicating objects with halo - crash

allow_render_dupli_instance used to pass zero-based index to give_current_material
which is wrong.

Before rev53332 it wasn't so much visible because give_current_material used
to clamp index internally. But that was wrong behavior here anyway, and why
nobody noticed this for so long? :)

6 years agoFix #33910: Wipe effect starts and stops to early with blur enabled.
Sergey Sharybin [Fri, 18 Jan 2013 09:36:17 +0000 (09:36 +0000)]
Fix #33910: Wipe effect starts and stops to early with blur enabled.

Made small tweaks which now limits blur width in a way it can not
be wider than distance between frame boundary and wipe effect center.
It eliminates weirdeness of how blur appears/disappears in cases
effect fac is close to 0/1.

Could be tweaked further but will require effect rewrite it seems.

6 years agoApplying sRGB color space transform when baking to vertex colors. Thanks to Campbell...
Alex Fraser [Fri, 18 Jan 2013 09:19:43 +0000 (09:19 +0000)]
Applying sRGB color space transform when baking to vertex colors. Thanks to Campbell Barton and Sergey Sharybin for their help!

6 years agoFix #33913: Unable to set sequencer proxy custom directory as relative path
Sergey Sharybin [Fri, 18 Jan 2013 08:44:55 +0000 (08:44 +0000)]
Fix #33913: Unable to set sequencer proxy custom directory as relative path

Added absolute->relative conversion for directory in file_browse_exec.
This is how other places deals with this, but perhaps we'd better change
file selection so both filepath and directory are affected by relative
option.

6 years agouse openmp sections for felling origindex arrays
Campbell Barton [Fri, 18 Jan 2013 06:26:06 +0000 (06:26 +0000)]
use openmp sections for felling origindex arrays

6 years agoCycles Test App:
Thomas Dinges [Thu, 17 Jan 2013 22:51:54 +0000 (22:51 +0000)]
Cycles Test App:
* Fix compile for camera xml properties.

6 years agoCycles:
Thomas Dinges [Thu, 17 Jan 2013 19:52:59 +0000 (19:52 +0000)]
Cycles:
* Fix for [#33909]. If "Progressive" checkbox was disabled but device was GPU, it still used the amount of "aa_samples" instead of "samples"

6 years agoThe problem of the peaks is corrected with the use of the normalized version.
Alexander Pinzon [Thu, 17 Jan 2013 19:19:02 +0000 (19:19 +0000)]
The problem of the peaks is corrected with the use of the normalized version.

6 years agofix for text selection glitch, moving the mouse to the left would sometimes not entir...
Campbell Barton [Thu, 17 Jan 2013 19:12:11 +0000 (19:12 +0000)]
fix for text selection glitch, moving the mouse to the left would sometimes not entirely select the start of the text.

6 years agouse define for text offset & seletion.
Campbell Barton [Thu, 17 Jan 2013 18:59:19 +0000 (18:59 +0000)]
use define for text offset & seletion.
and no need to calloc memory for string selection.

6 years agoMy bad - commit today for "Continuous Grab" fix ignored the comment that
Ton Roosendaal [Thu, 17 Jan 2013 15:27:58 +0000 (15:27 +0000)]
My bad - commit today for "Continuous Grab" fix ignored the comment that
bounds could be NULL :) Crash fixed.

6 years ago"Fix" for [#33903] Wrong description string in "remove vertices from vertex group...
Bastien Montagne [Thu, 17 Jan 2013 13:29:32 +0000 (13:29 +0000)]
"Fix" for [#33903] Wrong description string in "remove vertices from vertex group" function - just making the tooltip describe both possible actions by this op!

6 years agoBug fix #33887
Ton Roosendaal [Thu, 17 Jan 2013 11:35:33 +0000 (11:35 +0000)]
Bug fix #33887

Ancient issue: on much zoomed in UIs, text selecting or cursor placement
in Text-input buttons was off.

6 years agoBug fix #33892
Ton Roosendaal [Thu, 17 Jan 2013 10:16:40 +0000 (10:16 +0000)]
Bug fix #33892

HiDPI "retina" mode didn't work for "Continuous Grab" yet.

Note; this mode works by having different coordinate systems
for pixels and window/mouse coords. I really hope future
HiDPI implementations use the same trick.

6 years agoinclude svn revision in the crash log, also free smoothview on the off-chance you...
Campbell Barton [Thu, 17 Jan 2013 09:11:51 +0000 (09:11 +0000)]
include svn revision in the crash log, also free smoothview on the off-chance you manage to exit blender while the view is moving :)

6 years agominor changes to view3d
Campbell Barton [Thu, 17 Jan 2013 08:46:46 +0000 (08:46 +0000)]
minor changes to view3d
- BKE_camera_params_from_object now sets the lens to 35 if the object isnt a camera/lamp, without this the view3d lens would be used in camera view.
- running smooth-view multiple times now stores the initial user view rather then over-writing from the current state each time re-smoothview runs.
- redraw panels after smoothview finishes.

6 years agoAccidentally added commented line when testing smoothview fix.
Campbell Barton [Thu, 17 Jan 2013 08:07:09 +0000 (08:07 +0000)]
Accidentally added commented line when testing smoothview fix.

6 years agofix [#33894] Viewport heavily distorted
Campbell Barton [Thu, 17 Jan 2013 08:05:48 +0000 (08:05 +0000)]
fix [#33894] Viewport heavily distorted

The SmoothView operator was mixing up source-view and original-view parameters cleanup this operator and add 'original' view settings store.

6 years agofix for own bug introduced when splitting up vertex slide function.
Campbell Barton [Thu, 17 Jan 2013 06:21:20 +0000 (06:21 +0000)]
fix for own bug introduced when splitting up vertex slide function.

6 years ago- draw inner pressure circle for weightpaint, vertexpaint, projectpaint modes.
Campbell Barton [Thu, 17 Jan 2013 04:24:22 +0000 (04:24 +0000)]
- draw inner pressure circle for weightpaint, vertexpaint, projectpaint modes.
- only draw pressure circle if the pressure is used for brush size.
- remove 'last-pressure' workaround for project paint, its no longer needed.

6 years agochange to pressure & sculpt mode:
Campbell Barton [Thu, 17 Jan 2013 04:00:51 +0000 (04:00 +0000)]
change to pressure & sculpt mode:

Ignore size+pressure when the sculpt tool doesnt use dynamic size brushes (grab, thumb for eg).

The problem was if you didnt jab the stylus on the tablet hard enough you'd end up with a tiny brush since the initial pressure was used.

6 years agofix airbrush + tablet pressure bug.
Campbell Barton [Thu, 17 Jan 2013 03:41:23 +0000 (03:41 +0000)]
fix airbrush + tablet pressure bug.

Timer events used by the airbrush would always give a pressure of 1.0, ignoring the tablets real pressure in all paint modes.

Move tablet data into its own struct-member so it can be used with timer events.

6 years agoadd NULL check for XInput device, since its possible only one is valid.
Campbell Barton [Thu, 17 Jan 2013 02:06:54 +0000 (02:06 +0000)]
add NULL check for XInput device, since its possible only one is valid.

6 years agodraw active+disabled menu-items, helps for keyboard navigation.
Campbell Barton [Thu, 17 Jan 2013 01:48:42 +0000 (01:48 +0000)]
draw active+disabled menu-items, helps for keyboard navigation.

6 years agofix for arrow keys being reversed in the snap menu (Ctrl+Shift+Tab)
Campbell Barton [Thu, 17 Jan 2013 01:03:56 +0000 (01:03 +0000)]
fix for arrow keys being reversed in the snap menu (Ctrl+Shift+Tab)
also - when expanding rna enums into existing menus - don't nest inside a row/column.

6 years agoRelease Cycle:
Thomas Dinges [Thu, 17 Jan 2013 00:56:04 +0000 (00:56 +0000)]
Release Cycle:
* Readme and release log links for the Blender 2.66 release.

6 years agoshow a title in menus triggered by WM_OT_context_menu_enum, also show an icon when...
Campbell Barton [Thu, 17 Jan 2013 00:29:39 +0000 (00:29 +0000)]
show a title in menus triggered by WM_OT_context_menu_enum, also show an icon when available.

6 years agochange to own commit r53852. use existing pressure member of UnifiedPaintSettings.
Campbell Barton [Wed, 16 Jan 2013 23:37:47 +0000 (23:37 +0000)]
change to own commit r53852. use existing pressure member of UnifiedPaintSettings.

6 years agominor speedup for dyntopo edge queue - replace iterator with while loop.
Campbell Barton [Wed, 16 Jan 2013 23:20:09 +0000 (23:20 +0000)]
minor speedup for dyntopo edge queue - replace iterator with while loop.

6 years agofix bug in dyntopo - check to remove pbvh vert was always false.
Campbell Barton [Wed, 16 Jan 2013 23:12:43 +0000 (23:12 +0000)]
fix bug in dyntopo - check to remove pbvh vert was always false.

6 years agocode cleanup: rename BMVert *v[3]; --> 'v_tri', since 'v' is normally for single...
Campbell Barton [Wed, 16 Jan 2013 23:10:32 +0000 (23:10 +0000)]
code cleanup: rename BMVert *v[3]; --> 'v_tri', since 'v' is normally for single verts.

6 years agocode cleanup: double, float - conversion warnings.
Campbell Barton [Wed, 16 Jan 2013 23:07:24 +0000 (23:07 +0000)]
code cleanup: double, float - conversion warnings.