8 years agofix for old bug, select more in a nurbs surface would crash (under allocing).
Campbell Barton [Thu, 27 Jun 2013 03:57:59 +0000 (03:57 +0000)]
fix for old bug, select more in a nurbs surface would crash (under allocing).

8 years agopep8 cleanup
Campbell Barton [Thu, 27 Jun 2013 03:05:19 +0000 (03:05 +0000)]
pep8 cleanup

8 years ago- remove edge collapse loop operator (now replaced by dissolve).
Campbell Barton [Thu, 27 Jun 2013 01:10:19 +0000 (01:10 +0000)]
- remove edge collapse loop operator (now replaced by dissolve).
- fix missing null pointer check from own recent changes.
- add asserts if BLI path functions are given wrong id's

8 years agofix for python api bug: assigning the wrong size array to an RNA property wasn't...
Campbell Barton [Thu, 27 Jun 2013 01:01:11 +0000 (01:01 +0000)]
fix for python api bug: assigning the wrong size array to an RNA property wasn't checking the length and could crash, eg:
  mesh.polygons[0].vertices = (10,)

8 years agoremove redundant casts
Campbell Barton [Thu, 27 Jun 2013 00:37:42 +0000 (00:37 +0000)]
remove redundant casts

8 years agoCycles:
Thomas Dinges [Thu, 27 Jun 2013 00:03:48 +0000 (00:03 +0000)]
* Assure SSE2 intrinsics are also used on SSE3 CPUs and x86.

8 years agoCode cleanup: cycles
Brecht Van Lommel [Wed, 26 Jun 2013 23:29:33 +0000 (23:29 +0000)]
Code cleanup: cycles
* Reshuffle SSE #ifdefs to try to avoid compilation errors enabling SSE on 32 bit.
* Remove CUDA kernel launch size exception on Mac, is not needed.
* Make OSL file compilation quiet like c/cpp files.

8 years ago* Comment out change from r57790 to fix compilation for now.
Thomas Dinges [Wed, 26 Jun 2013 23:15:52 +0000 (23:15 +0000)]
* Comment out change from r57790 to fix compilation for now.

8 years agoCycles / Brick texture:
Thomas Dinges [Wed, 26 Jun 2013 23:08:18 +0000 (23:08 +0000)]
Cycles / Brick texture:
* Avoid some unneeded int castings, they were only needed in the original Texture Nodes implementation as custom1 and custom2 were shorts.

8 years agoAdded checks to vertex Weight editor to respect locked Vertex Groups
Gaia Clary [Wed, 26 Jun 2013 22:29:31 +0000 (22:29 +0000)]
Added checks to vertex Weight editor to respect locked Vertex Groups

8 years agoCycles / SSE2:
Thomas Dinges [Wed, 26 Jun 2013 22:12:23 +0000 (22:12 +0000)]
Cycles / SSE2:
* kernel_sse2 was built without actual SSE2 intrinsics on x86 systems.

8 years agoBM_face_legal_splits - perform calculations in 2d (was using 3d vectors for all 2d...
Campbell Barton [Wed, 26 Jun 2013 21:47:08 +0000 (21:47 +0000)]
BM_face_legal_splits - perform calculations in 2d (was using 3d vectors for all 2d operations)

8 years agoavoid calling axis_dominant_v3_to_m3 twice from BM_face_legal_splits
Campbell Barton [Wed, 26 Jun 2013 21:17:10 +0000 (21:17 +0000)]
avoid calling axis_dominant_v3_to_m3 twice from BM_face_legal_splits

8 years agoFix #35882: render to image editor, ctrl+up fullscreen, click back to previous
Brecht Van Lommel [Wed, 26 Jun 2013 20:51:41 +0000 (20:51 +0000)]
Fix #35882: render to image editor, ctrl+up fullscreen, click back to previous
did not work.

8 years agoFurther fix for #35880: theme color of enabled option buttons in popups was still
Brecht Van Lommel [Wed, 26 Jun 2013 20:28:12 +0000 (20:28 +0000)]
Further fix for #35880: theme color of enabled option buttons in popups was still
controlled by the wrong color, now it's controlled by "Menu Back" text color. This
is somewhat confusing but we like some other widgets the standard colors do not
work well on the dark background of popups.

8 years agoremove bmesh arg from BM_face_legal_splits(), don't use a bmesh iterator.
Campbell Barton [Wed, 26 Jun 2013 20:15:02 +0000 (20:15 +0000)]
remove bmesh arg from BM_face_legal_splits(), don't use a bmesh iterator.

8 years agoFix #35883: freestyle + envmap render crashed.
Brecht Van Lommel [Wed, 26 Jun 2013 19:23:03 +0000 (19:23 +0000)]
Fix #35883: freestyle + envmap render crashed.

8 years agofix [#33068] Can't paint weights of some vertices in some situations.
Campbell Barton [Wed, 26 Jun 2013 18:40:55 +0000 (18:40 +0000)]
fix [#33068] Can't paint weights of some vertices in some situations.

old limitation where you could only paint onto one side of a mirrored mesh (weight paint, vertex paint).

8 years agoremove unused struct
Campbell Barton [Wed, 26 Jun 2013 16:59:58 +0000 (16:59 +0000)]
remove unused struct

8 years agoFix #35365 Texture cloning not behaving correctly in perspective view
Antony Riakiotakis [Wed, 26 Jun 2013 14:28:39 +0000 (14:28 +0000)]
Fix #35365 Texture cloning not behaving correctly in perspective view

This issue was caused by doing pespective interpolation of clone uv
coordinates in perspective view. To fix this we need to use perspective
correction for screen coordinates, but return regular barycentric
weights back for clone layer uv coordinate interpolation.

8 years agoStyle cleanup (indent of switch/case in own code).
Bastien Montagne [Wed, 26 Jun 2013 13:22:25 +0000 (13:22 +0000)]
Style cleanup (indent of switch/case in own code).

8 years agoUpdate osl magic number when updating version ;)
Bastien Montagne [Wed, 26 Jun 2013 12:37:48 +0000 (12:37 +0000)]
Update osl magic number when updating version ;)

8 years agoFix #35879: missing 3D viewport redraws when changing lamp settings, after recent
Brecht Van Lommel [Wed, 26 Jun 2013 12:33:30 +0000 (12:33 +0000)]
Fix #35879: missing 3D viewport redraws when changing lamp settings, after recent
changes to avoid unnecessary redraws.

8 years agoFix #35880: popup menus like F6 redo did not use the right theme color for
Brecht Van Lommel [Wed, 26 Jun 2013 12:24:36 +0000 (12:24 +0000)]
Fix #35880: popup menus like F6 redo did not use the right theme color for
highlighted text, it should use the UI instead of 3D view color.

8 years agoFix Cycles OpenCL issue if context/program creation fails, mistake by me,
Brecht Van Lommel [Wed, 26 Jun 2013 12:24:33 +0000 (12:24 +0000)]
Fix Cycles OpenCL issue if context/program creation fails, mistake by me,
patch #35866 by Doug Gale to fix it.

8 years agoFix #35583 Smooth brush ignores hidden parts
Antony Riakiotakis [Wed, 26 Jun 2013 11:39:48 +0000 (11:39 +0000)]
Fix #35583 Smooth brush ignores hidden parts

The bug only exists for multires smoothing. Other cases were handled by
BKE_pbvh_vertex_iter_begin, which culled hidden parts accordingly. Added
a manual check on the multires smoothing code.

8 years agoInstall Deps script:
Thomas Dinges [Wed, 26 Jun 2013 11:30:37 +0000 (11:30 +0000)]
Install Deps script:
* Use recent OSL 1.3.2 release.

8 years agoFix #34837 Texture Painting using Face Selection Mask fails to show
Antony Riakiotakis [Wed, 26 Jun 2013 10:14:30 +0000 (10:14 +0000)]
Fix #34837 Texture Painting using Face Selection Mask fails to show
texture if more than 1 texture is used

The problem here is that no flushing is done when the texface image
changes between rendered triangles. Added a compare function and
slightly modified the draw_tface_mapped__set_draw callback to compliant
with the new user data.

8 years agoAvoid blender crash during collada export (when armature has animation data)
Gaia Clary [Wed, 26 Jun 2013 09:02:11 +0000 (09:02 +0000)]
Avoid blender crash during collada export (when armature has animation data)

8 years agoFix [#35750] list items in properties editor (text colors not following list item...
Bastien Montagne [Wed, 26 Jun 2013 07:28:55 +0000 (07:28 +0000)]
Fix [#35750] list items in properties editor (text colors not following list item theme).

Issue goes back since we stopped using LISTROW button to draw item's name (i.e. since we have custom buttons in list items!).

This commit:
* Adds a new flag to uiBlock, UI_BLOCK_LIST_ITEM, to mark blocks used for each list item.
* Adds a new button type, LISTLABEL, which basically behaves exactly as LABEL, but uses wcol_list_item color set.
* When uiItemL is called, it checks whether current block has UI_BLOCK_LIST_ITEM set, and if so, switch produced button to LISTLABEL type.
* Adds a new helper func, ui_layout_list_set_labels_active, called after the active list item has been "drawn", to set all LISTLABEL buttons as UI_SELECT.

Note custom widget_state_label() was removed, in interface_widgets.c, as it did nothing more than default widget_state().

Thanks to Brecht for the review and advices.

8 years agofix [#35507] BMesh module: Crash on to_mesh() if faces.layers.tex is used but no...
Campbell Barton [Wed, 26 Jun 2013 04:17:41 +0000 (04:17 +0000)]
fix [#35507] BMesh module: Crash on to_mesh() if faces.layers.tex is used but no loops.layers.uv

8 years agobmesh mirror operator was counting layers in inner loop for no good reason.
Campbell Barton [Wed, 26 Jun 2013 04:17:02 +0000 (04:17 +0000)]
bmesh mirror operator was counting layers in inner loop for no good reason.

8 years agoremove unused callback
Campbell Barton [Wed, 26 Jun 2013 03:42:45 +0000 (03:42 +0000)]
remove unused callback

8 years agofix for vert/face mask modes using last used select option when using the select...
Campbell Barton [Wed, 26 Jun 2013 02:57:05 +0000 (02:57 +0000)]
fix for vert/face mask modes using last used select option when using the select-all key shortcut.

8 years agofix [#35858] Weight Paint: Hiding faces isnt flushing the flag to the vertices.
Campbell Barton [Wed, 26 Jun 2013 02:47:56 +0000 (02:47 +0000)]
fix [#35858] Weight Paint: Hiding faces isnt flushing the flag to the vertices.

8 years agoFixed operator call (due to renamed operator parameter)
Gaia Clary [Tue, 25 Jun 2013 22:58:45 +0000 (22:58 +0000)]
Fixed operator call (due to renamed operator parameter)

8 years agocorrect typos in comments.
Campbell Barton [Tue, 25 Jun 2013 22:58:23 +0000 (22:58 +0000)]
correct typos in comments.

8 years agoRename operator for better clarity
Gaia Clary [Tue, 25 Jun 2013 22:28:20 +0000 (22:28 +0000)]
Rename operator for better clarity

8 years agodisable normalize when active vertex contains locked weights
Gaia Clary [Tue, 25 Jun 2013 22:19:48 +0000 (22:19 +0000)]
disable normalize when active vertex contains locked weights

8 years agodisable vertex editing when weight group is locked
Gaia Clary [Tue, 25 Jun 2013 21:00:00 +0000 (21:00 +0000)]
disable vertex editing when weight group is locked

8 years agoquiet double promotion warning and some style cleanup
Campbell Barton [Tue, 25 Jun 2013 20:52:33 +0000 (20:52 +0000)]
quiet double promotion warning and some style cleanup

8 years agoFix #35546: clicking cycles "Use Nodes" did not do a proper undo push, due to
Brecht Van Lommel [Tue, 25 Jun 2013 16:38:40 +0000 (16:38 +0000)]
Fix #35546: clicking cycles "Use Nodes" did not do a proper undo push, due to
button disappearing as soon as it's clicked. Workaround now is to make this an
operator. Thanks to Lukas and Campbell for tracking this down.

8 years agoFix #35846: crash rendering with dupligroups visible in 3D viewport during render
Brecht Van Lommel [Tue, 25 Jun 2013 14:57:45 +0000 (14:57 +0000)]
Fix #35846: crash rendering with dupligroups visible in 3D viewport during render
in some cases. The dupli code would still do object updates during render indirectly,
while this is disabled for thread safety everywhere else, now we disable it for this
case as well.

Not a pretty solution but this is for the depgraph refactor to solve.

8 years agoFix #35824: finding missing files not working correct for filepaths with special
Brecht Van Lommel [Tue, 25 Jun 2013 14:48:30 +0000 (14:48 +0000)]
Fix #35824: finding missing files not working correct for filepaths with special
characters on Windows.

Replaced some uses of stat() by BLI_stat() to properly handle such filepaths.

8 years agocorrect assertion error (clear dirty normal flag when there are no vertices)
Campbell Barton [Tue, 25 Jun 2013 14:31:52 +0000 (14:31 +0000)]
correct assertion error (clear dirty normal flag when there are no vertices)

8 years agoFix part of #35859: lib linking errors were not shown when opening files through...
Brecht Van Lommel [Tue, 25 Jun 2013 13:39:51 +0000 (13:39 +0000)]
Fix part of #35859: lib linking errors were not shown when opening files through open recent.

8 years agoFix #34909 Texture paint mode does not correctly update when using
Antony Riakiotakis [Tue, 25 Jun 2013 13:27:43 +0000 (13:27 +0000)]
Fix #34909 Texture paint mode does not correctly update when using
textures larger than 2048x2048.

Check if texture is over user preference or GPU limit in texture paint
mode and if it is, scale the partial redraw rectangle before uploading
to GPU. This should be faster than rescaling the whole texture.

8 years agoFix #35715: graph editor > channels > move.. menu item showed wrong keyboard shortcut.
Brecht Van Lommel [Tue, 25 Jun 2013 12:26:49 +0000 (12:26 +0000)]
Fix #35715: graph editor > channels > move.. menu item showed wrong keyboard shortcut.

8 years agopatch [#35830] Add Catmull-Rom spline as an option for lattice deformer
Campbell Barton [Tue, 25 Jun 2013 10:49:20 +0000 (10:49 +0000)]
patch [#35830] Add Catmull-Rom spline as an option for lattice deformer

8 years agostyle cleanup
Campbell Barton [Tue, 25 Jun 2013 10:44:30 +0000 (10:44 +0000)]
style cleanup

8 years agonew weight operators had zero min/max range for the 'weight_group'
Campbell Barton [Tue, 25 Jun 2013 10:40:15 +0000 (10:40 +0000)]
new weight operators had zero min/max range for the 'weight_group'

8 years agoUse bit-shift op for all bit-flags.
Bastien Montagne [Tue, 25 Jun 2013 10:30:07 +0000 (10:30 +0000)]
Use bit-shift op for all bit-flags.

Btw, there is a comment stating that bits 12-15 are the same for uiBlock->flag and uiBut->flag, this is obviously no more true currently (maybe it is now bits 14-17, i.e. ALIGN flags?).

8 years agoInclude DNA_scene_types before ED_object instead of forward enum declaration
Sergey Sharybin [Tue, 25 Jun 2013 09:27:31 +0000 (09:27 +0000)]
Include DNA_scene_types before ED_object instead of forward enum declaration

Forward enum declaration is a bad idea, especially for C++ which requires
enum specification to dteermine which data type to use to store it.

Alternative would be to not use enum as an arument and pass it as int,
but actually would rather be strict on typing -- using explicit enum
as parameter type helps understanding the code and prevents possible
mistakes when using the function.

8 years agoFix typo made back in svn rev35785
Sergey Sharybin [Tue, 25 Jun 2013 07:22:28 +0000 (07:22 +0000)]
Fix typo made back in svn rev35785

Callback handle was assigning to wrong storage in RE_draw_lock_cb.
So far it was completely harmless because all the callbacks are
using the same handle, so test_break_callback was using correct
handle, and since draw_lock_callback didn't use handle at all
nobody noticed this.

But this typo lead to draw_lock_callback using NULL instead of
real RenderJob, which is bad for the feature we're working in
GSoC branch.

8 years agoBuildbot: disable command length workaround for now, seems to give link errors.
Brecht Van Lommel [Tue, 25 Jun 2013 00:49:43 +0000 (00:49 +0000)]
Buildbot: disable command length workaround for now, seems to give link errors.

8 years agoBuildbot: another workaround for the Windows command length limit, this time
Brecht Van Lommel [Tue, 25 Jun 2013 00:11:04 +0000 (00:11 +0000)]
Buildbot: another workaround for the Windows command length limit, this time
with the freestyle module which has 242 cpp files.

8 years agoAttempt to workaround mingw64 buildbot issue with Windows command length limits,
Brecht Van Lommel [Mon, 24 Jun 2013 23:55:50 +0000 (23:55 +0000)]
Attempt to workaround mingw64 buildbot issue with Windows command length limits,
by splitting the compositor module into 3 parts. The operating system limit is
32767, which gives less than 120 characters per file with 272 cpp files.

8 years agoFix OpenGL render not working correct with display color space set to None
Brecht Van Lommel [Mon, 24 Jun 2013 23:24:39 +0000 (23:24 +0000)]
Fix OpenGL render not working correct with display color space set to None
(color management off).

8 years agoFix for invalid zero-length orientation vectors.
Tamito Kajiyama [Mon, 24 Jun 2013 22:48:00 +0000 (22:48 +0000)]
Fix for invalid zero-length orientation vectors.
Problem report by flokkievids in the BA Freestyle thread, thanks!

Also made changes to suppress warnings in strip creation when Freestyle debugging is disabled.

8 years agoFix particle hair display percentage not properly getting restored after
Brecht Van Lommel [Mon, 24 Jun 2013 22:41:40 +0000 (22:41 +0000)]
Fix particle hair display percentage not properly getting restored after
rendering. This used to happen in an unneeded frame change update which was
removed. For heavy particle systems this could have a bad impact on viewport
performance after rendering.

8 years agoFix #35767: transforming nodes in the node editor changed the wireframe color
Brecht Van Lommel [Mon, 24 Jun 2013 22:41:37 +0000 (22:41 +0000)]
Fix #35767: transforming nodes in the node editor changed the wireframe color
of the active object in the 3D view. This was due to sharing a global G.moving
flag to indicate that transform is active, now it's only set per transform data
type so different editors don't influence each other.

8 years agoFix unnecessary 3D viewport redraws in various cases, in particular when editing
Brecht Van Lommel [Mon, 24 Jun 2013 22:41:33 +0000 (22:41 +0000)]
Fix unnecessary 3D viewport redraws in various cases, in particular when editing
node materials.

Area and region listener callbacks now get the screen and area pointers passed, so
they can do more fine grained checks to see if redraw is really needed, for example
depending on the 3D view drawtype.

8 years agoFix unnecessary redraw of 3D views when making changes in compositing nodes.
Brecht Van Lommel [Mon, 24 Jun 2013 22:41:27 +0000 (22:41 +0000)]
Fix unnecessary redraw of 3D views when making changes in compositing nodes.

8 years agoRender stats text: show elapsed time for blender internal, hide useless "Single Layer"
Brecht Van Lommel [Mon, 24 Jun 2013 22:41:24 +0000 (22:41 +0000)]
Render stats text: show elapsed time for blender internal, hide useless "Single Layer"
at the start, more clearly indicate what the render time of the last frame was, some
other tweaks for consistency.

8 years agoMaking sure free_nodesystem only frees non-NULL data. This helps address some problem...
Daniel Stokes [Mon, 24 Jun 2013 21:11:13 +0000 (21:11 +0000)]
Making sure free_nodesystem only frees non-NULL data. This helps address some problems in the BGE with loading multiple blendfiles.

8 years agoremove own optimization in scanfill, in rare cases it caused problems, reported as...
Campbell Barton [Mon, 24 Jun 2013 18:22:59 +0000 (18:22 +0000)]
remove own optimization in scanfill, in rare cases it caused problems, reported as [#35861]

8 years agocalculate polygon normals for BKE_mesh_recalc_tessellation() inline rather then using...
Campbell Barton [Mon, 24 Jun 2013 18:13:33 +0000 (18:13 +0000)]
calculate polygon normals for BKE_mesh_recalc_tessellation() inline rather then using scanfills function.

8 years agofix [#35457] Mirror the U texture coordinate does not work in projection painting
Campbell Barton [Mon, 24 Jun 2013 16:06:27 +0000 (16:06 +0000)]
fix [#35457] Mirror the U texture coordinate does not work in projection painting
regression since 2.61

8 years agofix for editing lattice interpolation and options in editmode had no effect (exiting...
Campbell Barton [Mon, 24 Jun 2013 15:30:37 +0000 (15:30 +0000)]
fix for editing lattice interpolation and options in editmode had no effect (exiting editmode would loose changes too).

8 years agoremove unused c file
Campbell Barton [Mon, 24 Jun 2013 15:13:51 +0000 (15:13 +0000)]
remove unused c file

8 years agofix [#35844] "Blender User Preferences" window don't save size font
Campbell Barton [Mon, 24 Jun 2013 15:06:14 +0000 (15:06 +0000)]
fix [#35844] "Blender User Preferences" window don't save size font

8 years agoFix GLSL not showing shading properly on the backside of faces. Now it flips
Brecht Van Lommel [Mon, 24 Jun 2013 13:46:34 +0000 (13:46 +0000)]
Fix GLSL not showing shading properly on the backside of faces. Now it flips
the normal towards the viewer, seems to give consistent results with blender
internal, cycles, normal maps, etc.

Started from patch #32761 by Vitor Balbio, but changed it to do normal flipping
earlier so it solves all cases.

8 years agolattice: use functions rather then defines, also added a function to get uvw from...
Campbell Barton [Mon, 24 Jun 2013 13:45:35 +0000 (13:45 +0000)]
lattice: use functions rather then defines, also added a function to get uvw from an index.
- BKE_lattice_index_from_uvw()
- BKE_lattice_index_to_uvw()

8 years agoAdded missing include to collada sources
Gaia Clary [Mon, 24 Jun 2013 13:17:21 +0000 (13:17 +0000)]
Added missing include to collada sources

8 years agoremoved obsolete forward declaration
Gaia Clary [Mon, 24 Jun 2013 13:04:58 +0000 (13:04 +0000)]
removed obsolete forward declaration

8 years agoFix [#35790] Panel Section Arrows Wrong Theme Colors
Bastien Montagne [Mon, 24 Jun 2013 12:18:28 +0000 (12:18 +0000)]
Fix [#35790] Panel Section Arrows Wrong Theme Colors

Use TITLE color for the triangle and X (close) "icons" when used.

8 years agoBugfix: Bone Constraints tab used wrong icon after r57584
Joshua Leung [Mon, 24 Jun 2013 11:44:07 +0000 (11:44 +0000)]
Bugfix: Bone Constraints tab used wrong icon after r57584

8 years agoBGE: Fix for [#30450] "F-Curve on bone not working" reported by HG1.
Mitchell Stokes [Mon, 24 Jun 2013 09:37:37 +0000 (09:37 +0000)]
BGE: Fix for [#30450] "F-Curve on bone not working" reported by HG1.

Run IPOs for all objects and not just non-armature objects.

8 years agoBGE: Fix for [#34185] "billboard scale problem in groups" reported by Tobias Lijsen...
Mitchell Stokes [Mon, 24 Jun 2013 08:26:05 +0000 (08:26 +0000)]
BGE: Fix for [#34185] "billboard scale problem in groups" reported by Tobias Lijsen (blenderhilfe).

Use world scaling instead of local scaling when billboarding so we get all inherited scaling.

8 years agolocalview was clearing the source-view3d when duplicating
Campbell Barton [Mon, 24 Jun 2013 06:44:00 +0000 (06:44 +0000)]
localview was clearing the source-view3d when duplicating
noticeable when splitting the view that the wrong viewport kept local-view layers.

8 years agofix [#35855] Change "Scene" crashes randomly
Campbell Barton [Mon, 24 Jun 2013 06:08:47 +0000 (06:08 +0000)]
fix [#35855] Change "Scene" crashes randomly

8 years agoreplace use of 'a.find(b) != -1' --> 'b in a'
Campbell Barton [Mon, 24 Jun 2013 05:55:05 +0000 (05:55 +0000)]
replace use of 'a.find(b) != -1' --> 'b in a'

8 years agoFix for #35851:
Jürgen Herrmann [Mon, 24 Jun 2013 05:45:03 +0000 (05:45 +0000)]
Fix for #35851:

- Make scons work for non western CL.exe.

8 years agofix own error with updating edge tagging (seams didnt work)
Campbell Barton [Mon, 24 Jun 2013 05:26:42 +0000 (05:26 +0000)]
fix own error with updating edge tagging (seams didnt work)

8 years agomake behavior for edge tagging more predictable.
Campbell Barton [Mon, 24 Jun 2013 05:24:27 +0000 (05:24 +0000)]
make behavior for edge tagging more predictable.
last-picked edge is always selected+active.

8 years agoadd api calls for BM_mesh_active_vert/edge_get.
Campbell Barton [Mon, 24 Jun 2013 04:51:56 +0000 (04:51 +0000)]
add api calls for BM_mesh_active_vert/edge_get.
inspecting the edit-selection inline was cumbersome.

8 years agode-duplicate ED_mesh_active_dvert_* functions.
Campbell Barton [Mon, 24 Jun 2013 04:41:03 +0000 (04:41 +0000)]
de-duplicate ED_mesh_active_dvert_* functions.

not to devs - please don't just copy static functions around, make them api calls and add to headers.

8 years agoFix [#35852], hide Cycles sampling pattern menu, when using GPU.
Thomas Dinges [Mon, 24 Jun 2013 04:28:07 +0000 (04:28 +0000)]
Fix [#35852], hide Cycles sampling pattern menu, when using GPU.

8 years agoBGE: Fix for [#35737] "Action actuator in property mode don't work with values lower...
Mitchell Stokes [Mon, 24 Jun 2013 04:24:01 +0000 (04:24 +0000)]
BGE: Fix for [#35737] "Action actuator in property mode don't work with values lower then 1" reported by HG1.

IPOs were only set as "initialized" if the current time was greater than 0.0, which is why negative values weren't working.

8 years agoBGE: fix [#35811] Blenderplayer crash on closing if file saved with an actual version.
Daniel Stokes [Mon, 24 Jun 2013 04:21:17 +0000 (04:21 +0000)]
BGE: fix [#35811] Blenderplayer crash on closing if file saved with an actual version.

Making sure free_nodesystem() is called before BLO_blendfiledata_free() fixes the problem. free_nodesystem() relies on blendfiledata.

8 years agouse booleans for bpath api.
Campbell Barton [Mon, 24 Jun 2013 03:06:32 +0000 (03:06 +0000)]
use booleans for bpath api.

8 years agofix [#35825] "Find missing files" seems to search for files which are not missing
Campbell Barton [Mon, 24 Jun 2013 02:57:06 +0000 (02:57 +0000)]
fix [#35825] "Find missing files" seems to search for files which are not missing
Made finding paths for files that exist optional (and off by default), since its handy for relocating projects.

8 years agoremove unused var in view3d_panel_vgroup
Campbell Barton [Mon, 24 Jun 2013 02:30:09 +0000 (02:30 +0000)]
remove unused var in view3d_panel_vgroup

8 years agoFix #35847: cycles group nodes did not work well exposing inputs like normal or
Brecht Van Lommel [Sun, 23 Jun 2013 19:24:32 +0000 (19:24 +0000)]
Fix #35847: cycles group nodes did not work well exposing inputs like normal or
texture coordinate that should automatically use the default normal or texture
coordinate appropriate for that node, rather than some fixed value specified by
the user.

8 years agoprevent cycles sm_35 kernel to be built on win32 with vs2012 because of ptxas crashes.
Jürgen Herrmann [Sun, 23 Jun 2013 19:07:46 +0000 (19:07 +0000)]
prevent cycles sm_35 kernel to be built on win32 with vs2012 because of ptxas crashes.
Workaround to keep buildbot running.
I filed a bug report to NVidia, will remove this as soon as the problem is fixed.

8 years agocorrect example [#35850] documentation error for mathutils.Vector
Campbell Barton [Sun, 23 Jun 2013 19:04:12 +0000 (19:04 +0000)]
correct example [#35850] documentation error for mathutils.Vector

8 years agoChanged text alignment to better match old layout behaviour
Gaia Clary [Sun, 23 Jun 2013 18:21:26 +0000 (18:21 +0000)]
Changed text alignment to better match old layout behaviour

8 years agoreadded 'old' layout due to user complains
Gaia Clary [Sun, 23 Jun 2013 18:00:14 +0000 (18:00 +0000)]
readded 'old' layout due to user complains

8 years agoClarify tooltip for Weight paint tool
Gaia Clary [Sun, 23 Jun 2013 17:27:50 +0000 (17:27 +0000)]
Clarify tooltip for Weight paint tool

8 years agoadd missing notifiers for mask tools, some wouldn't refresh the compositor.
Campbell Barton [Sun, 23 Jun 2013 15:48:00 +0000 (15:48 +0000)]
add missing notifiers for mask tools, some wouldn't refresh the compositor.