8 years agosvn merge ^/trunk/blender -r46844:HEAD
Ove Murberg Henriksen [Wed, 23 May 2012 10:56:06 +0000 (10:56 +0000)]
svn merge ^/trunk/blender -r46844:HEAD

8 years agoChanged structure of the entire feature/code.
Ove Murberg Henriksen [Wed, 23 May 2012 10:21:57 +0000 (10:21 +0000)]
Changed structure of the entire feature/code.
It should now work in 24 different ways depending on options.
Its not tested in depth yet...

8 years agoedit to last commit, remove pointer to active slide vert, only need to store the...
Campbell Barton [Wed, 23 May 2012 09:55:48 +0000 (09:55 +0000)]
edit to last commit, remove pointer to active slide vert, only need to store the index.

8 years agoFix: cycles not supporting scene background sets.
Brecht Van Lommel [Wed, 23 May 2012 09:46:33 +0000 (09:46 +0000)]
Fix: cycles not supporting scene background sets.

8 years agonon-proportional edge slide patch by XercesBlue
Campbell Barton [Wed, 23 May 2012 09:46:32 +0000 (09:46 +0000)]
non-proportional edge slide patch by XercesBlue

remmoved edge-visibility check from the patch which gives nice functionality but calculates and BVH and throws it away every update.

8 years agosolidify modifier - replace define, no longer needed since switching to bmesh.
Campbell Barton [Wed, 23 May 2012 06:39:29 +0000 (06:39 +0000)]
solidify modifier - replace define, no longer needed since switching to bmesh.

8 years agosolidify modifier - replace VECADDFAC with inline function.
Campbell Barton [Wed, 23 May 2012 06:32:02 +0000 (06:32 +0000)]
solidify modifier - replace VECADDFAC with inline function.

8 years agofix solidify modifier flipping of rim polygons.
Campbell Barton [Wed, 23 May 2012 06:25:31 +0000 (06:25 +0000)]
fix solidify modifier flipping of rim polygons.

8 years agoScons - only go to the trouble of making these directories if they don't already
Joshua Leung [Wed, 23 May 2012 04:15:50 +0000 (04:15 +0000)]
Scons - only go to the trouble of making these directories if they don't already

8 years agoFix for [#31276] Action Actuator, Priorities higher than 1 break Playback:
Mitchell Stokes [Wed, 23 May 2012 04:01:05 +0000 (04:01 +0000)]
Fix for [#31276] Action Actuator, Priorities higher than 1 break Playback:

The code was looking to see if the priority was strictly greater than the current priority, but it seems that an equal priority should also override (at least the report seems to suggest that this is the behavior from 2.49).

8 years agoscons - Added option to not remove and unpack python modules bundle every
Joshua Leung [Wed, 23 May 2012 03:49:42 +0000 (03:49 +0000)]
scons - Added option to not remove and unpack python modules bundle every

8 years agoMotion Paths Gui - Restoring a "Calculate" button to the Motion Paths panel
Joshua Leung [Wed, 23 May 2012 03:36:03 +0000 (03:36 +0000)]
Motion Paths Gui - Restoring a "Calculate" button to the Motion Paths panel

Iterating on previous design, a Calculate button is now present in this panel
again. Most people just wouldn't have a clue to try the toolbar...

8 years agostyle cleanup
Campbell Barton [Tue, 22 May 2012 22:03:41 +0000 (22:03 +0000)]
style cleanup

8 years agocode cleanup: double promotion warnings
Campbell Barton [Tue, 22 May 2012 21:16:59 +0000 (21:16 +0000)]
code cleanup: double promotion warnings

8 years agoNode UI:
Thomas Dinges [Tue, 22 May 2012 19:16:20 +0000 (19:16 +0000)]
Node UI:
* Made the new custom theme options a bit better and more compact.
* Added a few separators to better distinguish these settings from the actual node buttons.

8 years agoCode cleanup: better warning in case of modifier icons in outliner.
Nicholas Bishop [Tue, 22 May 2012 18:40:31 +0000 (18:40 +0000)]
Code cleanup: better warning in case of modifier icons in outliner.

Modified the switch statement to use the ModifierType enum and changed
the default case to use specific missing values. Compiler can then
issue warnings when new modifier types are added (at least gcc 4.6.3

8 years agoSkin Modifier:
Thomas Dinges [Tue, 22 May 2012 18:20:07 +0000 (18:20 +0000)]
Skin Modifier:
* Show Modifier Icon in Outliner.

8 years agoexpanding bmesh example (py api)
Dalai Felinto [Tue, 22 May 2012 18:14:34 +0000 (18:14 +0000)]
expanding bmesh example (py api)

8 years agoCollada: Added a Preset selector
Gaia Clary [Tue, 22 May 2012 17:57:03 +0000 (17:57 +0000)]
Collada: Added a Preset selector

8 years agoFix memory leak when deleting all vertices from mesh with certain modifiers (bevel...
Antony Riakiotakis [Tue, 22 May 2012 17:33:58 +0000 (17:33 +0000)]
Fix memory leak when deleting all vertices from mesh with certain modifiers (bevel and array among them) and VBO are enabled.

8 years agostyle cleanup
Campbell Barton [Tue, 22 May 2012 16:24:09 +0000 (16:24 +0000)]
style cleanup

also fix example for mesh uv's

8 years agostyle cleanup: relating to skin modifier
Campbell Barton [Tue, 22 May 2012 16:09:31 +0000 (16:09 +0000)]
style cleanup: relating to skin modifier

8 years agostyle cleanu: skin modifier
Campbell Barton [Tue, 22 May 2012 15:57:42 +0000 (15:57 +0000)]
style cleanu: skin modifier

8 years agoFix for compiling with player after skin modifier commits.
Nicholas Bishop [Tue, 22 May 2012 15:55:02 +0000 (15:55 +0000)]
Fix for compiling with player after skin modifier commits.

Removed the bad_level_call_stubs for BLI_heap functions; player is
being linked with blenlib, so this gives multiple-definition linker

8 years agoLong old UI annoyance:
Ton Roosendaal [Tue, 22 May 2012 15:50:13 +0000 (15:50 +0000)]
Long old UI annoyance:

The up/down triangle icon for menus was not drawing when a menu had
an icon; even though space was reserved there. Note: this can only
work now with removing the ugly "down triangle" icon from buttons like
next to the Material list box (button pops up menu with tools).

Looks nicer this way anyway.

8 years agouse faces longest edge when orienting the manipulator to the active face
Campbell Barton [Tue, 22 May 2012 15:49:41 +0000 (15:49 +0000)]
use faces longest edge when orienting the manipulator to the active face
also small speedup for finding the longest edge

8 years agoAdd vertex skin radii scaling as a transform operator.
Nicholas Bishop [Tue, 22 May 2012 15:30:14 +0000 (15:30 +0000)]
Add vertex skin radii scaling as a transform operator.

Add a new transform operator, "Skin Resize", which scales the X and Y
axes of the radius field in MVertSkin. It's bound to CTRL+AKEY.

Skin modifier documentation:

8 years agoClear skin root flag on new vertices created by extruding.
Nicholas Bishop [Tue, 22 May 2012 15:30:05 +0000 (15:30 +0000)]
Clear skin root flag on new vertices created by extruding.

Skin modifier documentation:

8 years agoAdd operator to extract armature and vertex groups from skin.
Nicholas Bishop [Tue, 22 May 2012 15:29:57 +0000 (15:29 +0000)]
Add operator to extract armature and vertex groups from skin.

* The operator creates bones for each input edge (does not subdivide
  them like the skin operator does), adds a fake root bone for skin
  roots with multiple children.

* The operator adds vertex weight groups to the original mesh.

* Make copy_object_transform() public, used to match the armature
  object to the mesh object.

Skin modifier documentation:

8 years agoAdd skin vertex operators.
Nicholas Bishop [Tue, 22 May 2012 15:29:44 +0000 (15:29 +0000)]
Add skin vertex operators.

* Add operator to mark selected vertices as skin roots.
* Add operator to mark/clear selected vertices as loose.
* Add operator to equalize skin radii.

Skin modifier documentation:

8 years agoEnsure skin nodes get created when adding modifier.
Nicholas Bishop [Tue, 22 May 2012 15:29:37 +0000 (15:29 +0000)]
Ensure skin nodes get created when adding modifier.

Skin modifier documentation:

8 years agoDraw skin vertex roots in edit mode.
Nicholas Bishop [Tue, 22 May 2012 15:29:27 +0000 (15:29 +0000)]
Draw skin vertex roots in edit mode.

Roots are drawn with a view-oriented dashed red circle around the
vertex location. The circle's radius is the average if the skin
vertex's X and Y radii.

Skin modifier documentation:

8 years agoAdd new theme-able color, TH_SKIN_ROOT.
Nicholas Bishop [Tue, 22 May 2012 15:29:15 +0000 (15:29 +0000)]
Add new theme-able color, TH_SKIN_ROOT.

Bumped file version from 263.5 to 263.6 to ensure the default
TH_SKIN_ROOT color gets set.

Skin modifier documentation:

8 years agoAdd skin modifier: DNA, RNA, UI, and MOD_skin.c implementation.
Nicholas Bishop [Tue, 22 May 2012 15:29:01 +0000 (15:29 +0000)]
Add skin modifier: DNA, RNA, UI, and MOD_skin.c implementation.

Skin modifier documentation:

Implementation based in part off the paper "B-Mesh: A Fast Modeling
System for Base Meshes of 3D Articulated Shapes" (Zhongping Ji,
Ligang Liu, Yigang Wang)

Note that to avoid confusion with Blender's BMesh data structure,
this tool is renamed as the Skin modifier.

The B-Mesh paper is current available here:

The main missing features in this code compared to the paper are:

* No mesh evolution. The paper suggests iteratively subsurfing the
  skin output and adapting the output to better conform with the
  spheres of influence surrounding each vertex.

* No mesh fairing. The paper suggests re-aligning output edges to
  follow principal mesh curvatures.

* No auxiliary balls. These would serve to influence mesh
  evolution, which as noted above is not implemented.

The code also adds some features not present in the paper:

* Loops in the input edge graph.

* Concave surfaces around branch nodes. The paper does not discuss
  how to handle non-convex regions; this code adds a number of
  cleanup operations to handle many (though not all) of these

8 years agoAdd Mesh equivalent to BM_edge_other_vert().
Nicholas Bishop [Tue, 22 May 2012 15:28:44 +0000 (15:28 +0000)]
Add Mesh equivalent to BM_edge_other_vert().

/* Return the index of the edge vert that is not equal to 'v'. If
 * neither edge vertex is equal to 'v', returns -1. */
int BKE_mesh_edge_other_vert(const struct MEdge *e, int v);

8 years agoAdd new BMesh length query functions.
Nicholas Bishop [Tue, 22 May 2012 15:19:33 +0000 (15:19 +0000)]
Add new BMesh length query functions.

BMEdge *BM_face_find_shortest_edge(BMFace *f);
BMEdge *BM_face_find_longest_edge(BMFace *f);

Reviewed by Campbell Barton.

8 years agofix for bmesh api example
Dalai Felinto [Tue, 22 May 2012 15:19:19 +0000 (15:19 +0000)]
fix for bmesh api example
worth noticing is that the example in bpy.types.Mesh is wrong too (Mesh type does not have an uv element)
but I would prefer someone more familiar with bmesh to take a look at those

8 years agoAdd skin modifier icon created by Julio Iglesias.
Nicholas Bishop [Tue, 22 May 2012 15:19:13 +0000 (15:19 +0000)]
Add skin modifier icon created by Julio Iglesias.

Skin modifier documentation:

8 years agoAdd MVertSkin DNA/RNA and customdata (CD_MVERT_SKIN).
Nicholas Bishop [Tue, 22 May 2012 15:18:43 +0000 (15:18 +0000)]
Add MVertSkin DNA/RNA and customdata (CD_MVERT_SKIN).

The MVertSkin currently just stores local skin radii and skin
flags (MVertSkinFlag).

Skin modifier documentation:

Reviewed by Campbell Barton.

8 years agoA number of new features for the node editor in general and the Frame node in particular.
Lukas Toenne [Tue, 22 May 2012 14:13:33 +0000 (14:13 +0000)]
A number of new features for the node editor in general and the Frame node in particular.
For an detailed user-level description of new features see the following blogpost:

* Frame node gets more usable bounding-box behavior
* Node resizing has helpful mouse cursor indicators and works on all borders
* Node selection/active colors are themeable independently
* Customizable background colors for nodes (useful for frames visual

8 years agocode cleanup: key/interpolation
Campbell Barton [Tue, 22 May 2012 13:59:58 +0000 (13:59 +0000)]
code cleanup: key/interpolation

8 years agoexpose absolute shape keyblock interpolation in the ui
Campbell Barton [Tue, 22 May 2012 13:43:36 +0000 (13:43 +0000)]
expose absolute shape keyblock interpolation in the ui

8 years agostyle cleanup: mmap_win32
Campbell Barton [Tue, 22 May 2012 13:20:01 +0000 (13:20 +0000)]
style cleanup: mmap_win32

8 years agoDisable building of CUDA 1.3 kernels for cycles for win32 cmake and mingw32 scons...
Antony Riakiotakis [Tue, 22 May 2012 12:30:37 +0000 (12:30 +0000)]
Disable building of CUDA 1.3 kernels for cycles for win32 cmake and mingw32 scons. They were already disabled for scons MSVC 32bit.

8 years agoFix for customdata layer copying. Issue was caused by mixing up of destination and...
Andrew Hale [Tue, 22 May 2012 12:03:56 +0000 (12:03 +0000)]
Fix for customdata layer copying. Issue was caused by mixing up of destination and source in copy function. Also fixed an error in Py API, check to see if layers were different should be check to see if they're the same.

8 years agofix for error in last commit and minor speedup to looping over edges.
Campbell Barton [Tue, 22 May 2012 10:10:14 +0000 (10:10 +0000)]
fix for error in last commit and minor speedup to looping over edges.

8 years ago * Composite result is updated when editing (preview were already
Jeroen Bakker [Tue, 22 May 2012 09:54:08 +0000 (09:54 +0000)]
 * Composite result is updated when editing (preview were already
calculated, now the final result is also updated in the image space
 * default texture size when not connected to any resolution depended
operation defaults to render size

8 years agosolidify modifier - remove a loop on all edges.
Campbell Barton [Tue, 22 May 2012 09:53:33 +0000 (09:53 +0000)]
solidify modifier - remove a loop on all edges.

8 years agoFix imbuf users leak in MovieClip tiles node
Sergey Sharybin [Tue, 22 May 2012 09:15:05 +0000 (09:15 +0000)]
Fix imbuf users leak in MovieClip tiles node

Leak was caused by not calling IMB_freeImBuf for result of BKE_movieclip_get_ibuf

8 years agoFix for movie distoriton node in tiles
Sergey Sharybin [Tue, 22 May 2012 09:15:01 +0000 (09:15 +0000)]
Fix for movie distoriton node in tiles

Now it works in the same way as non-tiles node in cases when image's
resolution is not equal to resolution used for calibration.

Also add some additional checks for distortion cache, so now it should
be updating properly when camera intrinsics are changing.

Potentially added support of overscan, but currently all needed computation
is commented out.

8 years agofix for regression in curve modifier (own fault)
Campbell Barton [Tue, 22 May 2012 09:00:34 +0000 (09:00 +0000)]
fix for regression in curve modifier (own fault)

8 years agoI18n fixes, mainly for (cycles) nodes (i.e. node template in Buttons window).
Bastien Montagne [Tue, 22 May 2012 08:36:06 +0000 (08:36 +0000)]
I18n fixes, mainly for (cycles) nodes (i.e. node template in Buttons window).

Note: the problem of sockets translation remains (for all node types), currently they are unavailable from RNA, hence not detected by i18n tools, so only solution is to add N_() in all node sockets templates… yuck! Really have to fix this.

8 years agofix [#31530] Project paint with Clipping border gives opaque background
Campbell Barton [Tue, 22 May 2012 08:24:52 +0000 (08:24 +0000)]
fix [#31530] Project paint with Clipping border gives opaque background

draw clipping box alpha 0 so reprojection and rendering show the background as alpha 0.

8 years agoFix #31522: wrong ID user count on custom bone shape object after duplicate
Sergey Sharybin [Tue, 22 May 2012 07:46:14 +0000 (07:46 +0000)]
Fix #31522: wrong ID user count on custom bone shape object after duplicate

8 years agofix [#31489] EdgeSplit modifier prevents All Edge to be work correctly since 2.63
Campbell Barton [Tue, 22 May 2012 07:26:45 +0000 (07:26 +0000)]
fix [#31489] EdgeSplit modifier prevents All Edge to be work correctly since 2.63

bmesh regression where the edge-draw flag was cleared when bmesh modifiers were used.

8 years agoremove unused enums (these are defined and used elsewhere)
Campbell Barton [Tue, 22 May 2012 07:07:25 +0000 (07:07 +0000)]
remove unused enums (these are defined and used elsewhere)

8 years agoFix #31500: Displacement Baking from Multires doesn't work
Sergey Sharybin [Tue, 22 May 2012 07:06:48 +0000 (07:06 +0000)]
Fix #31500: Displacement Baking from Multires doesn't work

Issue was caused by wrong calculation of grid coordinates when switching
from low resolution mesh to high resolution mesh. Somehow was affected only
for face U or V equals to 1.0f.

Checked fix using all test files used during initial implementation of
multires baker and tested sample file from bug/ Seems everything is OK.

8 years agostyle cleanup: brace placement.
Campbell Barton [Tue, 22 May 2012 06:29:46 +0000 (06:29 +0000)]
style cleanup: brace placement.

8 years agoAdd input sample averaging to PaintStroke.
Nicholas Bishop [Mon, 21 May 2012 23:32:46 +0000 (23:32 +0000)]
Add input sample averaging to PaintStroke.

Averages input samples to make the brush stroke smoother. Only mouse
location is averaged right now, not pressure/tilt/etc.

The DNA is in struct Paint.num_input_samples, RNA is
Paint.input_samples. In combination with PaintStroke usage this change
applies to sculpt, vpaint, and wpaint.

The range of useful values varies quite a bit depending on input
device; mouse needs higher values to match tablet pen, so set max
samples pretty high (64).

Release note section:

8 years agofix for
Monique Dewanchand [Mon, 21 May 2012 20:36:02 +0000 (20:36 +0000)]
fix for
[#31502] Defocus max radius help tekst

8 years agoMissing RNA_def_property_update functions for RenderSettings bake properties
Dan Eicher [Mon, 21 May 2012 20:28:54 +0000 (20:28 +0000)]
Missing RNA_def_property_update functions for RenderSettings bake properties

8 years agoFix for [#31413] Code review testing: Regarding chunksize, could the
Jeroen Bakker [Mon, 21 May 2012 20:21:32 +0000 (20:21 +0000)]
Fix for [#31413] Code review testing: Regarding chunksize, could the
tooltip be made more clear

8 years agoUI mafia fix thanks to venomgfx for reporting
Jeroen Bakker [Mon, 21 May 2012 20:10:21 +0000 (20:10 +0000)]
UI mafia fix thanks to venomgfx for reporting
 * Color correction node

8 years agoFix for
Monique Dewanchand [Mon, 21 May 2012 19:58:23 +0000 (19:58 +0000)]
Fix for
[#31408] Code review testing: Button labels are invisible in many nodes

8 years agoFix for [#31418] Code review: OpenCL initialization
Jeroen Bakker [Mon, 21 May 2012 19:31:29 +0000 (19:31 +0000)]
Fix for [#31418] Code review: OpenCL initialization
 * Moved OpenCL initialization to first use
 * cleaned up build files
 * display some debug lines only when debugging is enabled.

8 years ago[#31410] Code review testing: The color correction node in particular is
Jeroen Bakker [Mon, 21 May 2012 18:47:55 +0000 (18:47 +0000)]
[#31410] Code review testing: The color correction node in particular is
quite problematic in button layout
 * Added first column with labels
 * increased max size of node
 * moved the start/end midtones to the bottom of the node

8 years agoFix for [#31367] render.drawLine not 2D filter aware:
Mitchell Stokes [Mon, 21 May 2012 18:35:31 +0000 (18:35 +0000)]
Fix for [#31367] render.drawLine not 2D filter aware:

The lines from render.drawLine() are now drawn before motion blur and 2D Filters.

8 years agoChanged functions to check for select on destination instead of source
Ove Murberg Henriksen [Mon, 21 May 2012 18:15:12 +0000 (18:15 +0000)]
Changed functions to check for select on destination instead of source

8 years agoA few minor UI message fixes...
Bastien Montagne [Mon, 21 May 2012 18:06:20 +0000 (18:06 +0000)]
A few minor UI message fixes...

8 years agoFixed SELECT comparisons
Ove Murberg Henriksen [Mon, 21 May 2012 17:39:56 +0000 (17:39 +0000)]
Fixed SELECT comparisons

8 years agoAdded support for replace_selected_weights in all weight transfer fucntions.
Ove Murberg Henriksen [Mon, 21 May 2012 17:00:08 +0000 (17:00 +0000)]
Added support for replace_selected_weights in all weight transfer fucntions.

8 years agochange name length from 32 to 64, perhaps we should have some constant here bpy.const...
Campbell Barton [Mon, 21 May 2012 16:52:04 +0000 (16:52 +0000)]
change name length from 32 to 64, perhaps we should have some constant here bpy.constants.NAME_MAX ? - but this hardly ever changes.

also hide allow overlap option for adding sequence strips, this was only intended for api use

8 years agofix for [#31543] Nodes use array past bounds
Jeroen Bakker [Mon, 21 May 2012 16:05:45 +0000 (16:05 +0000)]
fix for [#31543] Nodes use array past bounds

8 years agosvn merge ^/trunk/blender -r46750:HEAD
Ove Murberg Henriksen [Mon, 21 May 2012 15:14:32 +0000 (15:14 +0000)]
svn merge ^/trunk/blender -r46750:HEAD

8 years ago * Bokeh Image angle now has rnge from -720 to +720 degrees
Jeroen Bakker [Mon, 21 May 2012 14:05:47 +0000 (14:05 +0000)]
 * Bokeh Image angle now has rnge from -720 to +720 degrees

8 years agoCycles: add Object Info node, with outputs object location, object/material
Brecht Van Lommel [Mon, 21 May 2012 12:52:28 +0000 (12:52 +0000)]
Cycles: add Object Info node, with outputs object location, object/material
pass index, and a random number unique to the instance of the object.

This can be useful to give some variation to a single material assigned to
multiple instances, either manually controlled through the object index, based
on the object location, or randomized for each instance.

8 years agodebugging check for bmesh (commented since its very slow), but useful for debugging...
Campbell Barton [Mon, 21 May 2012 12:30:06 +0000 (12:30 +0000)]
debugging check for bmesh (commented since its very slow), but useful for debugging some scripts.

8 years agoAdded switch in dilate/erode between old (Step) and new (Distance)
Jeroen Bakker [Mon, 21 May 2012 10:20:30 +0000 (10:20 +0000)]
Added switch in dilate/erode between old (Step) and new (Distance)

Connected the Glare Fog Flow to use Fast Gaussian in stead of Bokeh blur

8 years agofix for fix - possible on second loop to use freed memory still.
Campbell Barton [Mon, 21 May 2012 10:13:43 +0000 (10:13 +0000)]
fix for fix - possible on second loop to use freed memory still.

8 years agofix for unlikely but possible use of uninitialized pointers.
Campbell Barton [Mon, 21 May 2012 10:11:51 +0000 (10:11 +0000)]
fix for unlikely but possible use of uninitialized pointers.

8 years agocode cleanup: remove some old comments
Campbell Barton [Mon, 21 May 2012 09:00:35 +0000 (09:00 +0000)]
code cleanup: remove some old comments

8 years agofix for minor annoyance when an operator is called by another - dont add blend file...
Campbell Barton [Mon, 21 May 2012 08:24:03 +0000 (08:24 +0000)]
fix for minor annoyance when an operator is called by another - dont add blend file to recent history.

this way demo-mode addon doesnt clobber the recent history with demo files its operator loads.

8 years agoQuiet null pointer free warning/error.
Campbell Barton [Mon, 21 May 2012 08:10:37 +0000 (08:10 +0000)]
Quiet null pointer free warning/error.

8 years agopy api integration: __import__(... , level=0)
Campbell Barton [Mon, 21 May 2012 07:00:23 +0000 (07:00 +0000)]
py api integration: __import__(... , level=0)
  default changed to work with python3.3

8 years agofix for error pointed out by Nicholas Bishop, BM_edge_face_pair & BM_edge_loop_pair...
Campbell Barton [Mon, 21 May 2012 06:44:46 +0000 (06:44 +0000)]
fix for error pointed out by Nicholas Bishop, BM_edge_face_pair & BM_edge_loop_pair returned TRUE for single face user edges.

8 years agocode cleanup:
Campbell Barton [Mon, 21 May 2012 06:33:45 +0000 (06:33 +0000)]
code cleanup:
- remove duplicate includes
- blender builds with -Werror in C++ for fluids/smoke

8 years agoreadfile.c Style cleanups Part 2 - More whitespace + replaced most of the while
Joshua Leung [Mon, 21 May 2012 06:33:32 +0000 (06:33 +0000)]
readfile.c Style cleanups  Part 2 - More whitespace + replaced most of the while

8 years ago== Compositor ==
Peter Schlaile [Sun, 20 May 2012 21:24:08 +0000 (21:24 +0000)]
== Compositor ==

This fixes occasional crashes on uninitialized memory, when we open a blend
file which has movie or image input nodes pointing to none existent
source files.

8 years agocode cleanup: spelling
Campbell Barton [Sun, 20 May 2012 21:23:26 +0000 (21:23 +0000)]
code cleanup: spelling

8 years agoFix #31511: GLSL preview is much darker than F12 results
Daniel Stokes [Sun, 20 May 2012 21:19:55 +0000 (21:19 +0000)]
Fix #31511: GLSL preview is much darker than F12 results

A problem caused by Harmony branch code. A value was being set improperly for the GLSL shader.

8 years agocode cleanup:
Campbell Barton [Sun, 20 May 2012 19:49:27 +0000 (19:49 +0000)]
code cleanup:
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.

8 years agouse utf8 functions for new modifier names
Campbell Barton [Sun, 20 May 2012 18:19:45 +0000 (18:19 +0000)]
use utf8 functions for new modifier names

8 years agoRenamed the COLLADA Import/export labels to 'Collada (Default)' to make it better...
Gaia Clary [Sun, 20 May 2012 17:40:57 +0000 (17:40 +0000)]
Renamed the COLLADA Import/export labels to 'Collada (Default)' to make it better separatable from target specific exporters

8 years agoSequencer UI:
Thomas Dinges [Sun, 20 May 2012 15:52:24 +0000 (15:52 +0000)]
Sequencer UI:
* Some consistency tweaks.

8 years agoFix bug #31529 Remesh remove Apply as Shape button
Nicholas Bishop [Sun, 20 May 2012 15:00:19 +0000 (15:00 +0000)]
Fix bug #31529 Remesh remove Apply as Shape button

Change modifier_sameTopology() to not not treat Nonconstructive
modifiers as having same topology. This function is only used to test
whether Apply as Shape is allowed.

The exact nature of "nonconstructive" modifiers is not documented, but
current list is remesh, fluidsim, decimate, mask, build, and
boolean. All of these modify topology, and should not be making making
shape keys.

8 years agoVarious small fixes:
Bastien Montagne [Sun, 20 May 2012 13:56:42 +0000 (13:56 +0000)]
Various small fixes:
*i18n: panel title of current tool in 3D view & File windows are now translated, as well a redo (F3) menu.
*MESH_OT_faces_select_linked_flat & MESH_OT_edges_select_sharp: use ANGLE RNA prop for sharpness, and fix tip of the later op.

8 years agoBMesh Py API Fix: hide attribute of BMesh elements was returning the select flag...
Andrew Hale [Sun, 20 May 2012 12:52:46 +0000 (12:52 +0000)]
BMesh Py API Fix: hide attribute of BMesh elements was returning the select flag. Fixed for all elements including loops, although this is commented out anyway. Reported by Crouch in IRC.

8 years agoFix memory leak when trying to apply transformations to shared meshes
Antony Riakiotakis [Sun, 20 May 2012 11:06:46 +0000 (11:06 +0000)]
Fix memory leak when trying to apply transformations to shared meshes

8 years agoSequencer UI:
Thomas Dinges [Sun, 20 May 2012 00:34:54 +0000 (00:34 +0000)]
Sequencer UI:
* Code cleanup
* Fixed wrong label for Inverse Select in the Select menu
* Some layout tweaks for space saving and avoid abbreviations in the UI.
* "Image Offset" and "Image Crop" buttons were there twice, once in the Strip Input panel and once in the Effect Strip panel, show it in the Strip Input panel only now.
* Commented the third input fields ("input_3"), only used by the deprecated plugin system according to an RNA comment.

8 years agoFix sculpt layer brush, broken by texture changes in r46651.
Nicholas Bishop [Sat, 19 May 2012 23:11:46 +0000 (23:11 +0000)]
Fix sculpt layer brush, broken by texture changes in r46651.