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.

8 years agoAdded 'LIBRARY_EDITABLE' flag to bpy.props.*
Dan Eicher [Sat, 19 May 2012 21:22:01 +0000 (21:22 +0000)]
Added 'LIBRARY_EDITABLE' flag to bpy.props.*

Rationale: custom props on linked objects are editable through ops and the console but the UI code calls RNA_property_editable() which returns false if (id->lib && !(prop->flag & PROP_LIB_EXCEPTION))

Setting the 'LIBRARY_EDITABLE' flag allows UI templates to change these props (but the changes aren't saved!) for things like indices into CollectionProperties which live on the linked object

8 years agoFix [#31535] Radian Unit System Button Ignored for Face Angles display.
Bastien Montagne [Sat, 19 May 2012 20:16:29 +0000 (20:16 +0000)]
Fix [#31535] Radian Unit System Button Ignored for Face Angles display.

Also avoid multiplying each vertex three times with obmat...

8 years agostyle cleanup: whitespace/indentation
Campbell Barton [Sat, 19 May 2012 13:55:54 +0000 (13:55 +0000)]
style cleanup: whitespace/indentation

8 years agocode cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace...
Campbell Barton [Sat, 19 May 2012 13:28:19 +0000 (13:28 +0000)]
code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace do prefix with do_ for bool vars.

8 years agodisable overwriting the PYTHONPATH for windows - reported as [#31506]
Campbell Barton [Sat, 19 May 2012 10:10:49 +0000 (10:10 +0000)]
disable overwriting the PYTHONPATH for windows - reported as [#31506]

8 years agostyle cleanup: ghost
Campbell Barton [Sat, 19 May 2012 09:57:55 +0000 (09:57 +0000)]
style cleanup: ghost

8 years agoAdd i18n to “button” and “Area Options” pop-up menus.
Bastien Montagne [Sat, 19 May 2012 09:46:41 +0000 (09:46 +0000)]
Add i18n to “button” and “Area Options” pop-up menus.

8 years agostyle cleanup: ghost headers
Campbell Barton [Sat, 19 May 2012 09:23:08 +0000 (09:23 +0000)]
style cleanup: ghost headers

8 years ago3D View UI:
Thomas Dinges [Fri, 18 May 2012 21:13:22 +0000 (21:13 +0000)]
3D View UI:
* Remove redundant "Delete" for Edge Loop in the Delete (X) menu.

8 years agostyle cleanup: ghost/x11
Campbell Barton [Fri, 18 May 2012 20:13:40 +0000 (20:13 +0000)]
style cleanup: ghost/x11

8 years agoFix #31504: uv unwrap incorrectly scaling pinned islands.
Brecht Van Lommel [Fri, 18 May 2012 15:20:45 +0000 (15:20 +0000)]
Fix #31504: uv unwrap incorrectly scaling pinned islands.

8 years agoFix #31395: setting mesh.uv_textures['uvmap'].active did not update correctly.
Brecht Van Lommel [Fri, 18 May 2012 15:06:26 +0000 (15:06 +0000)]
Fix #31395: setting mesh.uv_textures['uvmap'].active did not update correctly.

8 years agoFix #31430: itasc solver assertion failure with debug builds.
Brecht Van Lommel [Fri, 18 May 2012 15:06:23 +0000 (15:06 +0000)]
Fix #31430: itasc solver assertion failure with debug builds.

8 years agoadd missing include
Brecht Van Lommel [Fri, 18 May 2012 14:08:54 +0000 (14:08 +0000)]
add missing include

8 years agoFix #31518: changing cycles exposure did unnecessary rerender in viewport.
Brecht Van Lommel [Fri, 18 May 2012 14:06:53 +0000 (14:06 +0000)]
Fix #31518: changing cycles exposure did unnecessary rerender in viewport.

8 years agoFix #31400: opengl offscreen render not respecting theme settings.
Brecht Van Lommel [Fri, 18 May 2012 14:05:59 +0000 (14:05 +0000)]
Fix #31400: opengl offscreen render not respecting theme settings.

8 years agoFix related to #31446: cycles glsl error with empty image texture node.
Brecht Van Lommel [Fri, 18 May 2012 13:30:34 +0000 (13:30 +0000)]
Fix related to #31446: cycles glsl error with empty image texture node.

8 years agoFix bug in controller list scan (introduced in recent code cleanup)
Benoit Bolsee [Fri, 18 May 2012 13:27:33 +0000 (13:27 +0000)]
Fix bug in controller list scan (introduced in recent code cleanup)

8 years agoAdd "Install Theme" button in user preferences, patch #31505 by Julien Duroure.
Brecht Van Lommel [Fri, 18 May 2012 12:49:27 +0000 (12:49 +0000)]
Add "Install Theme" button in user preferences, patch #31505 by Julien Duroure.

8 years agoFile browser: list of system directories is now refreshed on pressing the refresh
Brecht Van Lommel [Fri, 18 May 2012 12:49:25 +0000 (12:49 +0000)]
File browser: list of system directories is now refreshed on pressing the refresh
button or opening the file browser, in case e.g. a USB stick was inserted.

Patch #31211 by Julien Duroure.

8 years agoFix #31486: cycles texture coordinate reflection output has wrong direction.
Brecht Van Lommel [Fri, 18 May 2012 12:49:22 +0000 (12:49 +0000)]
Fix #31486: cycles texture coordinate reflection output has wrong direction.

8 years agoadd option for screw modifier to smooth shade. (renamed smooth_shading to use_smooth_...
Campbell Barton [Fri, 18 May 2012 10:37:49 +0000 (10:37 +0000)]
add option for screw modifier to smooth shade. (renamed smooth_shading to use_smooth_shade for remesh modifier too)

8 years agopatch [#31507] site not automatically imported when using external python package
Campbell Barton [Fri, 18 May 2012 10:19:49 +0000 (10:19 +0000)]
patch [#31507] site not automatically imported when using external python package

made some modificatons to normal python startup also.

8 years agoFix for Tile image node. This was still using the path string for multilayer output...
Lukas Toenne [Fri, 18 May 2012 10:00:31 +0000 (10:00 +0000)]
Fix for Tile image node. This was still using the path string for multilayer output instead of the dedicated layer name string.

8 years agoWhen generating enums for the image node render layers, replace empty strings with...
Lukas Toenne [Fri, 18 May 2012 10:00:28 +0000 (10:00 +0000)]
When generating enums for the image node render layers, replace empty strings with a simple space character. This little hack allows the enum item to be selected from the dropdown list.

8 years agoPartial revert of r46542.
Lukas Toenne [Fri, 18 May 2012 09:26:55 +0000 (09:26 +0000)]
Partial revert of r46542.
Displaying image layers with flattened names (render_layer.render_pass) can lead to extremely long socket lists, especially with older files that were used with distinct render layers before. In general the flattening of names would be preferable, but it needs a sensible way of limiting the number of displayed outputs. For now the render layer dropdown selection is the best option to ensure usability.

8 years agoAdd smooth-shading option for remesh modifier.
Nicholas Bishop [Fri, 18 May 2012 06:10:47 +0000 (06:10 +0000)]
Add smooth-shading option for remesh modifier.

The remesh modifier doesn't currently get any data from original
faces, so even if the input mesh was entirely smooth none of the
output faces would be. Solved by adding a new
dna-flag/rna-bool/UI-checkbox to smooth shade the output.

Requested by Daniel Salazar.

8 years agosvn merge ^/trunk/blender -r46644:HEAD
Ove Murberg Henriksen [Thu, 17 May 2012 23:34:54 +0000 (23:34 +0000)]
svn merge ^/trunk/blender -r46644:HEAD

8 years agostyle cleanup: function definitions
Campbell Barton [Thu, 17 May 2012 23:21:11 +0000 (23:21 +0000)]
style cleanup: function definitions

8 years agostyle cleanup: and add missing files to cmake
Campbell Barton [Thu, 17 May 2012 23:12:15 +0000 (23:12 +0000)]
style cleanup: and add missing files to cmake

8 years agostyle cleanup: compositor, pointer syntax, function brace placement, line length
Campbell Barton [Thu, 17 May 2012 22:55:28 +0000 (22:55 +0000)]
style cleanup: compositor, pointer syntax, function brace placement, line length

8 years agoCode cleanup: de-duplicate some transform constraint code.
Nicholas Bishop [Thu, 17 May 2012 22:52:42 +0000 (22:52 +0000)]
Code cleanup: de-duplicate some transform constraint code.

No functional changes.

8 years agoDon't link compositor with blender player.
Antony Riakiotakis [Thu, 17 May 2012 22:47:05 +0000 (22:47 +0000)]
Don't link compositor with blender player.

8 years agoEnable remesh modifier for curves.
Nicholas Bishop [Thu, 17 May 2012 17:16:51 +0000 (17:16 +0000)]
Enable remesh modifier for curves.

8 years agorna function Image.scale(w, h), useful for utility functions to open/scale/save images.
Campbell Barton [Thu, 17 May 2012 15:26:11 +0000 (15:26 +0000)]
rna function Image.scale(w, h), useful for utility functions to open/scale/save images.

8 years agoworkaround for python3.3 alpha with the console.
Campbell Barton [Thu, 17 May 2012 15:24:26 +0000 (15:24 +0000)]
workaround for python3.3 alpha with the console.

8 years agofix for building without AUD
Campbell Barton [Thu, 17 May 2012 14:59:11 +0000 (14:59 +0000)]
fix for building without AUD

8 years agoCompositor / Box and Ellipse Mask:
Thomas Dinges [Thu, 17 May 2012 14:55:01 +0000 (14:55 +0000)]
Compositor / Box and Ellipse Mask:
* "X/Y position" label -> "X/Y". The longer text was barely visible in the UI.

8 years agoMoved switch node to layout
Jeroen Bakker [Thu, 17 May 2012 14:02:01 +0000 (14:02 +0000)]
Moved switch node to layout

8 years agoattempt to fix osx build error
Campbell Barton [Thu, 17 May 2012 14:00:54 +0000 (14:00 +0000)]
attempt to fix osx build error

8 years agostyle cleanup: braces, compositor
Campbell Barton [Thu, 17 May 2012 13:44:15 +0000 (13:44 +0000)]
style cleanup: braces, compositor

8 years agoFix blenderplayr compilation
Antony Riakiotakis [Thu, 17 May 2012 13:30:20 +0000 (13:30 +0000)]
Fix blenderplayr compilation

8 years agoFix for MSVC float conversion
Jeroen Bakker [Thu, 17 May 2012 13:25:41 +0000 (13:25 +0000)]
Fix for MSVC float conversion

8 years agoFix [#31495] Modifiers in Text objects don't respect edit mode flag.
Bastien Montagne [Thu, 17 May 2012 13:22:19 +0000 (13:22 +0000)]
Fix [#31495] Modifiers in Text objects don't respect edit mode flag.

Need to also check for cu->editfont for text edit mode...

Also use modifier_isEnabled() to make general tests whether a modifier should be applied or skipped.

8 years agoMinGW64 and possibly gcc 4.7 doesn't like interface as identifier.
Antony Riakiotakis [Thu, 17 May 2012 13:15:58 +0000 (13:15 +0000)]
MinGW64 and possibly gcc 4.7 doesn't like interface as identifier.

8 years agocode cleanup: quiet warnings from compositor merge (builds with -Werror now in cmake)
Campbell Barton [Thu, 17 May 2012 13:10:34 +0000 (13:10 +0000)]
code cleanup: quiet warnings from compositor merge (builds with -Werror now in cmake)

8 years agoreadfile.c Style Cleanup: Whitespace, while -> for, etc.
Joshua Leung [Thu, 17 May 2012 12:59:34 +0000 (12:59 +0000)]
readfile.c Style Cleanup: Whitespace, while -> for, etc.

(3rd time lucky!)

8 years ago ____
Jeroen Bakker [Thu, 17 May 2012 12:49:33 +0000 (12:49 +0000)]
`````|````` | |        |                        ..''''
     |      | |        |______               .''
     |      | |        |                  ..'
     |      | |_______ |___________ ....''
               merge to TRUNK!

 * The old compositor is still available (Debug Menu: 200)

This commit was brought to you by:

 * Monique Dewanchand
 * Jeroen Bakker
 * Dalai Felinto
 * Lukas Tönne

 * Brecht van Lommel

 * Nate Wiebe
 * Wolfgang Faehnle
 * Carlo Andreacchio
 * Daniel Salazar
 * Artur Mag
 * Christian Krupa
 * Francesco Siddi
 * Dan McGrath
 * Bassam Kurdali

But mostly by the community:

    Joshua Faulkner
    Michael Tiemann
    Francesco Paglia
    Blender Guru
    Blender Developers Fund


    Pablo Vazquez
    Joel Heethaar
    Amrein Olivier
    Ilias Karasavvidis
    Thomas Kumlehn
    Sebastian Koenig
    Hannu Hoffrén
    Benjamin Dansie
    Fred M'ule
    Michel Vilain
    Bradley Cathey
    Gianmichele Mariani
    Gottfried Hofmann
    Bjørnar Frøyse
    Valentijn Bruning
    Paul Holmes
    Clemens Rudolph
    Juris Graphix
    David Strebel
    Ronan Zeegers
    François Tarlier
    Felipe Andres Esquivel Reed
    Olaf Beckman
    Jesus Alberto Olmos Linares
    Maria Figueiredo
    Alexandr Galperin
    Francesco Siddi
    Julio Iglesias Lopez
    Kjartan Tysdal
    Thomas Torfs
    Film Works
    Teruyuki Nakamura
    Roger Luethi
    Benoit Bolsee
    Stefan Abrahamsen
    Andreas Mattijat
    Xavier Bouchoux
    Blender 3D Graphics and Animation
    Henk Vostermans
    Daniel Blanco Delgado
    Bradley Cathey
    Matthieu Dupont de Dinechin
    Gianmichele Mariani
    Jérôme Scaillet

Bronze (Ivo Grigull, Dylan Urquidi, Philippe Derungs, Phil Beauchamp, Bruce Parrott, Mathieu Quiblier, Daniel Martinez, Leandro Inocencio, Lluc Romaní Brasó,
Jonathan Williamson, Michael Ehlen, Karlis Stigis, Dreamsteep, Martin Lindelöf, Filippo Saracino, Douwe van der Veen, Olli Äkräs, Bruno D'Arcangeli,
Francisco Sedrez Warmling,, peter lener, Matteo Novellino, Martin Kirsch, Austars Schnore, KC Elliott, Massimiliano Puliero, Karl Stein,
Wood Design Studios, Omer Khan, Jyrki Kanto, Michał Krupa, Lars Brubaker, Neil Richmond, Adam Kalisz, Robert Garlington, Ian Wilson, Carlo Andreacchio,
Jeremias Boos, Robert Holcomb, Gabriel Zöller, Robert Cude, Natibel de Leon, Nathan Turnage, Nicolas Vergnes, Philipp Kleinhenz, Norman Hartig, Louis Kreusel,
Christopher Taylor, Giovanni Remondini, Daniel Rentzsch, Nico Partipilo, Thomas Ventresco, Johannes Schwarz, Александр Коротеев, Brendon Harvey,
Marcelo G. Malheiros, Marius Giurgi, Richard Burns, Perttu Iso-Metsälä, Steve Bazin, Radoslav Borisov, Yoshiyuki Shida, Julien Guigner, Andrew Hunter,
Philipp Oeser, Daniel Thul, Thobias Johansson, Mauro Bonecchi, Georg Piorczynski, Sebastian Michailidis, L M Weedy, Gen X, Stefan Hinze, Nicolò Zubbini,
Erik Pusch, Rob Scott, Florian Koch, Charles Razack, Adrian Baker, Oliver Villar Diz, David Revoy, Julio Iglesias Lopez, Coen Spoor, Carlos Folch,
Joseph Christie, Victor Hernández García, David Mcsween, James Finnerty, Cory Kruckenberg, Giacomo Graziosi, Olivier Saraja, Lars Brubaker, Eric Hudson,
Johannes Schwarz, David Elguea, Marcus Schulderinsky, Karel De Bruijn, Lucas van Wijngaarden, Stefano Ciarrocchi, Mehmet Eribol, Thomas Berglund, Zuofei Song,
Dylan Urquidi )

8 years agoremoved:
Ove Murberg Henriksen [Thu, 17 May 2012 12:36:07 +0000 (12:36 +0000)]
plan for future to implement option as an argument in:

8 years agoSome changes to structure as a response to review.
Ove Murberg Henriksen [Thu, 17 May 2012 12:15:39 +0000 (12:15 +0000)]
Some changes to structure as a response to review.
(I still havent adressed all issues.)

8 years agoFix select_similar_type_itemf() enum-item-generator func to return the whole prop_sim...
Bastien Montagne [Thu, 17 May 2012 10:42:24 +0000 (10:42 +0000)]
Fix select_similar_type_itemf() enum-item-generator func to return the whole prop_similar_types when context is NULL (needed at least by i18n tools!).

8 years agoremove doubleups of newlines in readfile error prints
Campbell Barton [Thu, 17 May 2012 10:31:06 +0000 (10:31 +0000)]
remove doubleups of newlines in readfile error prints

8 years agoDisable setting non-object actions as the action used by the Action Constraint
Joshua Leung [Thu, 17 May 2012 10:28:30 +0000 (10:28 +0000)]
Disable setting non-object actions as the action used by the Action Constraint

(... I could've sworn there used to be some dynamic enums for filtering actions
by root type)

8 years agoKeyingSets UI stuff - Replaced names used in RNA enum instead of redefining
Joshua Leung [Thu, 17 May 2012 10:10:11 +0000 (10:10 +0000)]
KeyingSets UI stuff - Replaced names used in RNA enum instead of redefining
manually in UI files

8 years agominor improvement - entering "//somepath" in the file selector didnt expand from...
Campbell Barton [Thu, 17 May 2012 10:07:29 +0000 (10:07 +0000)]
minor improvement - entering "//somepath" in the file selector didnt expand from the current blend files path.
also quiet warning.

8 years agocleanup: Style = adding spaces around operators.
Ove Murberg Henriksen [Thu, 17 May 2012 09:47:11 +0000 (09:47 +0000)]
cleanup: Style = adding spaces around operators.

8 years agoadded readonly rna ID attribute ID.is_library_indirect, so python can tell if a link...
Campbell Barton [Thu, 17 May 2012 09:17:39 +0000 (09:17 +0000)]
added readonly rna ID attribute ID.is_library_indirect, so python can tell if a link is direct or not.

8 years agoFix own mistake: Open Collada libs are different for MinGW/MinGW64
Antony Riakiotakis [Thu, 17 May 2012 08:42:22 +0000 (08:42 +0000)]
Fix own mistake: Open Collada libs are different for MinGW/MinGW64

8 years agoFucntions adjusted to support options.
Ove Murberg Henriksen [Thu, 17 May 2012 08:10:19 +0000 (08:10 +0000)]
Fucntions adjusted to support options.
(still lacking feature for selected and option for all)

8 years agostyle cleanup: line length and ensure some macros error when not ending with ';'
Campbell Barton [Thu, 17 May 2012 07:59:25 +0000 (07:59 +0000)]
style cleanup: line length and ensure some macros error when not ending with ';'

8 years agobugfix (using _all not _single as postfix for functions);
Ove Murberg Henriksen [Thu, 17 May 2012 03:18:47 +0000 (03:18 +0000)]
bugfix (using _all not _single as postfix for functions);

8 years agoFixed readabillity of options framework by adding enums.
Ove Murberg Henriksen [Thu, 17 May 2012 03:15:39 +0000 (03:15 +0000)]
Fixed readabillity of options framework by adding enums.

8 years agoNitpicky stuff
Joshua Leung [Thu, 17 May 2012 02:50:07 +0000 (02:50 +0000)]
Nitpicky stuff
* Ensure "Base" is fully nullified before anyone uses it
* Force channel flush when changing Action Editor modes

8 years agoKeyingSets UI - Improving button layout for legibility of buttons
Joshua Leung [Thu, 17 May 2012 02:49:09 +0000 (02:49 +0000)]
KeyingSets UI - Improving button layout for legibility of buttons

* Use custom names for the keying options enum. The old automated layout dumped
out lengthy names which
didn't work well with the limited UI widths we were using, leading to all the
interesting stuff getting cropped out

* Moved the "array target" options to be in line with the rest of the target
specification stuff. I've ended up flattening that set of options into a single
row, which seems to work quite well.

* Removed label from grouping method enum. There was a perfectly good section
header above, and with narrow UI's, the name of this and the one below ended up
looking the same/confusing.

8 years agoAdded framework for transfer weight options.
Ove Murberg Henriksen [Thu, 17 May 2012 01:42:06 +0000 (01:42 +0000)]
Added framework for transfer weight options.
vertex_group_transfer_weight_exec() governs all.
Functions renamed/added with _transfer_weight_
as opposed to _copy_by_
This is to reflect changes in parameters and usage as the internal code will change.

8 years agostyle cleanup: block comments
Campbell Barton [Wed, 16 May 2012 23:37:23 +0000 (23:37 +0000)]
style cleanup: block comments

8 years agoFix for clay strips brush not showing Add/Subtract buttons.
Nicholas Bishop [Wed, 16 May 2012 22:27:45 +0000 (22:27 +0000)]
Fix for clay strips brush not showing Add/Subtract buttons.

8 years agoFix [#31432] Angles values stuck at 60 degrees.
Bastien Montagne [Wed, 16 May 2012 20:35:09 +0000 (20:35 +0000)]
Fix [#31432] Angles values stuck at 60 degrees.

8 years agoevil mango feature, alt transform sequence strips bumps other strips out of the way
Campbell Barton [Wed, 16 May 2012 16:28:33 +0000 (16:28 +0000)]
evil mango feature, alt transform sequence strips bumps other strips out of the way

8 years agoNodes i18n: don't call gettext stuff twice for categories' names, when building Add...
Bastien Montagne [Wed, 16 May 2012 15:01:46 +0000 (15:01 +0000)]
Nodes i18n: don't call gettext stuff twice for categories' names, when building Add menu.

Now ui-names in foreach_nodeclass functions are only marked as translatable, it’s up to the callback to actually translate them or not!

8 years agoFix issue with linked dupli objects not being displayed in the viewport, if they
Brecht Van Lommel [Wed, 16 May 2012 14:36:15 +0000 (14:36 +0000)]
Fix issue with linked dupli objects not being displayed in the viewport, if they
have no object bounding box. Better fix will be to figure out why they are the
bounding boxes are not made.

Thanks to Campbell to tracking down the commit that caused this.

8 years agomodal operation for bevel and inset:
Antony Riakiotakis [Wed, 16 May 2012 14:30:41 +0000 (14:30 +0000)]
modal operation for bevel and inset:

This commit adds some first building blocks for the two operators to work modally based on mouse input. To make their function easier, two hotkeys are introduced, Ctrl+B for bevel and I for inset.

After discussion with Campbell, we would like to add scale-style line indicators for the operators. This is already done for transform operators but a new interface for mesh operations may have to be written using pieces from that code since, strictly speaking bevel and inset are not exactly "transform" operators.

Also, a better input method for inset is needed and more options exposed. The method implemented right now uses mouse move for thickness and ctrl-mouse move for depth. These are calculated using the distance of the selection center in screen space and the mouse position. While that may work and prevents abrupt changes in values when switching from thickness tweak mode to depth tweak mode, it limits the magnitude of values that can be put into the tool especially in small or large scale.

Alternatives until a better method is written include:

* use relative offset (works but may give strange results)
* tweak manually after the operation.

8 years agoSpell check fix (lenght -> length)
Bastien Montagne [Wed, 16 May 2012 14:25:25 +0000 (14:25 +0000)]
Spell check fix (lenght -> length)

Note: two remains, in comments in extern/bullet2/src/LinearMath/btVector3.h and extern/libmv/libmv/image/tuple.h.