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

7 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.

7 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]

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

7 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.

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

7 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.

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

7 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.

7 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.

7 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.

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

7 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.

7 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.

7 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.

7 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)

7 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.

7 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.

7 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.

7 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)

7 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.

7 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.

7 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.

7 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.

7 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.

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

7 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

7 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

7 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.

7 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.

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

7 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.

7 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.

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

7 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.

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

7 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

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

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

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

7 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.

7 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.

7 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)

7 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!)

7 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 )

7 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!).

7 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

7 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)

7 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

7 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.

7 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.

7 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

7 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 ';'

7 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

7 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.

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

7 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.

7 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.

7 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

7 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!

7 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.

7 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.

7 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.

7 years agoFix compile error with cmake + windows (reported by MiikaH)
Daniel Genrich [Wed, 16 May 2012 12:18:25 +0000 (12:18 +0000)]
Fix compile error with cmake + windows (reported by MiikaH)

7 years agostyle cleanup: indentation
Campbell Barton [Wed, 16 May 2012 12:14:31 +0000 (12:14 +0000)]
style cleanup: indentation

7 years agofix [#31320] Collada now supports import/export of loose edges (edges not attached...
Gaia Clary [Wed, 16 May 2012 11:21:03 +0000 (11:21 +0000)]
fix [#31320] Collada now supports import/export of loose edges (edges not attached to faces)

7 years agoFix #31369 (discussed in bug report comments). Setting the path/layer name strings...
Lukas Toenne [Wed, 16 May 2012 10:10:42 +0000 (10:10 +0000)]
Fix #31369 (discussed in bug report comments). Setting the path/layer name strings of the file/layer slots of the file output node would crash, due to missing pointer in the PointerRNA. Solved by using the iter-> pointer for the RNA collection iterator.

7 years agostyle cleanup: imbuf
Campbell Barton [Wed, 16 May 2012 09:26:37 +0000 (09:26 +0000)]
style cleanup: imbuf

7 years agoFix #31472: displace node wrong y derivative (simple typo). Credit to Ervin Weber...
Lukas Toenne [Wed, 16 May 2012 09:22:59 +0000 (09:22 +0000)]
Fix #31472: displace node wrong y derivative (simple typo). Credit to Ervin Weber (lusque) for the fix.

7 years agofix [#31474] Crash when object has parent and dupli_type == 'FRAMES' and show_x_ray...
Campbell Barton [Wed, 16 May 2012 08:42:50 +0000 (08:42 +0000)]
fix [#31474] Crash when object has parent and dupli_type == 'FRAMES' and show_x_ray, show_transparent are set to True

dupli objects should never be added to after-draw, added an assert to ensure this (and make fixing such bugs easier).

7 years agostyle cleanup: imbuf
Campbell Barton [Wed, 16 May 2012 07:38:23 +0000 (07:38 +0000)]
style cleanup: imbuf

7 years agoCPack rpm cleanup
Dan Eicher [Wed, 16 May 2012 02:51:58 +0000 (02:51 +0000)]
CPack rpm cleanup

-- package name and .spec->Version match
-- use find_lang macro for locales
-- Requires & Provides (mostly) match the fedora .spec
-- fix unpackaged file error for

TODO: figure out how persuade CPack to make multiple rpms to also package blenderplayer

7 years agoBugfix [#31469] 'cyclic offset' option is broken
Joshua Leung [Wed, 16 May 2012 02:40:14 +0000 (02:40 +0000)]
Bugfix [#31469] 'cyclic offset' option is broken

Removing this option from the UI. Cyclic offset and/or other the myriad of other
half-working walk/stride cycle stuff has been removed pending further review at
a later date about what's really needed, and the best way to do so with regards
to different rig types (i.e. setup antagonistic).

7 years agoCode cleanup: simplify standard GHash creation.
Nicholas Bishop [Wed, 16 May 2012 00:51:36 +0000 (00:51 +0000)]
Code cleanup: simplify standard GHash creation.

Added four new functions as shortcuts to creating GHashes that use the
standard ptr/str/int/pair hash and compare functions.

GHash *BLI_ghash_ptr_new(const char *info);
GHash *BLI_ghash_str_new(const char *info);
GHash *BLI_ghash_int_new(const char *info);
GHash *BLI_ghash_pair_new(const char *info);

Replaced almost all occurrences of BLI_ghash_new() with one of the
above functions.

7 years agostyle cleanup: pep8
Campbell Barton [Tue, 15 May 2012 18:50:51 +0000 (18:50 +0000)]
style cleanup: pep8

7 years agostyle cleanup: raytree code
Campbell Barton [Tue, 15 May 2012 18:45:20 +0000 (18:45 +0000)]
style cleanup: raytree code

7 years agoPython/CurveMapping: add Curve Mapping functions to add/remove curve points,
Brecht Van Lommel [Tue, 15 May 2012 18:34:00 +0000 (18:34 +0000)]
Python/CurveMapping: add Curve Mapping functions to add/remove curve points,
evaluate the curve and update after changes.

7 years agoUpdate create_vert_edge_map() to match create_vert_poly_map().
Nicholas Bishop [Tue, 15 May 2012 16:32:08 +0000 (16:32 +0000)]
Update create_vert_edge_map() to match create_vert_poly_map().

7 years agoFix cosmetic typos
Sergey Sharybin [Tue, 15 May 2012 16:11:04 +0000 (16:11 +0000)]
Fix cosmetic typos

Patch provided by Matteo F. Vescovi, thanks!

7 years agoRemove "Use Root Coordinates" from the interface
Sergey Sharybin [Tue, 15 May 2012 15:55:59 +0000 (15:55 +0000)]
Remove "Use Root Coordinates" from the interface

Seems it was never ported since 2.49 and currently makes no sense.

7 years agoFix for second part of #31445: Surface "Control Points" menu is empty
Sergey Sharybin [Tue, 15 May 2012 15:34:49 +0000 (15:34 +0000)]
Fix for second part of #31445: Surface "Control Points" menu is empty

The only difference that it should be Select Linked All operator added to the menu

7 years agoFix #31445: Surface "Control Points" menu is empty
Sergey Sharybin [Tue, 15 May 2012 15:28:59 +0000 (15:28 +0000)]
Fix #31445: Surface "Control Points" menu is empty

It is possible to create hook for surfaces, so display this entry
in Control points menu.

7 years agoFix: mirror modifier only mirrors first UV map (IRC report).
Brecht Van Lommel [Tue, 15 May 2012 15:02:02 +0000 (15:02 +0000)]
Fix: mirror modifier only mirrors first UV map (IRC report).

7 years agoCloth collisions:
Daniel Genrich [Tue, 15 May 2012 13:46:50 +0000 (13:46 +0000)]
Cloth collisions:

Add repulse for near vertices. This code didn't make sense where it was before. Still leaving it also at the old place since it cannot hurt.

7 years agoBlender Internal Render: Split quads to predictable (vertices 0,1,3) triangles for...
Daniel Genrich [Tue, 15 May 2012 13:39:44 +0000 (13:39 +0000)]
Blender Internal Render: Split quads to predictable (vertices 0,1,3) triangles for animated meshes.

This solves problems with collisions beeing rendered different than in viewport.

7 years agoFix for [#31464] Crash when issuing command line render engine list ("-E help")
Joerg Mueller [Tue, 15 May 2012 13:32:55 +0000 (13:32 +0000)]
Fix for [#31464] Crash when issuing command line render engine list ("-E help")

7 years agoA generalization of the modal node linking operator (for dragging from socket to...
Lukas Toenne [Tue, 15 May 2012 12:40:43 +0000 (12:40 +0000)]
A generalization of the modal node linking operator (for dragging from socket to socket).

This operator still had some built-in assumptions about the connectivity of input/output sockets (1-to-n in all current node systems). For future node systems (e.g. flow-based particles) and for general customizable nodes the operator is now fully symmetric and supports all kinds of connectivity limits (1:1, 1:n, m:1, m:n).

The operator data can also store a list of node links as opposed to a single link now, so that multiple links can be redirected at once. Holding the CTRL key when clicking a socket, all links from/to that socket are detached and can be moved to a different socket. This is useful for quickly appending a node without moving every individual link.

7 years agoCloth: Revert triangulation after talking with brecht.
Daniel Genrich [Tue, 15 May 2012 12:26:29 +0000 (12:26 +0000)]
Cloth: Revert triangulation after talking with brecht.

People: Better use subsurf after cloth since you can get failing collisions otherwise!

7 years agoFix #31449: multiple ClipEditor bug behaviour
Sergey Sharybin [Tue, 15 May 2012 12:25:26 +0000 (12:25 +0000)]
Fix #31449: multiple ClipEditor bug behaviour

Actually it wasn't a bug -- currently curve/dopesheet view are in separated
spaces, so to keep displaying data in sync it's needed to update all visible
clip editors when changing displaying clip datablock.

Changed logic here a bit, so current clip wouldn't be changes for clip editors
where view is set to CLIP, only dopesheet/graph views are getting updated.
Also do not update displaying clip datablock when changing it from curve/dopesheet.

7 years agoTag unused argument
Sergey Sharybin [Tue, 15 May 2012 12:17:56 +0000 (12:17 +0000)]
Tag unused argument

7 years agoFix [#31465] Segmentation Fault when Ctrl+Up/Down arrow to restore size of 3d Viewport.
Bastien Montagne [Tue, 15 May 2012 12:14:03 +0000 (12:14 +0000)]
Fix [#31465] Segmentation Fault when Ctrl+Up/Down arrow to restore size of 3d Viewport.

Simply added a check for NULL pointer...

7 years agoFix own compile error reported by brecht.
Daniel Genrich [Tue, 15 May 2012 12:07:44 +0000 (12:07 +0000)]
Fix own compile error reported by brecht.

7 years agoFix El Topo:
Daniel Genrich [Tue, 15 May 2012 11:35:01 +0000 (11:35 +0000)]
Fix El Topo:
- Library compile errors
- 2 Bugs (have been reported to lib owner)
- LAPACK for cmake

- Scons is still missing LAPACK lib define
- Do other platforms got LAPACK lib?

7 years agoCloth:
Daniel Genrich [Tue, 15 May 2012 11:14:50 +0000 (11:14 +0000)]
- Triangulate Cloth Mesh for collisions
- Speed up collisions
- Remove EL Topo code
- Prepare code to incooperate El Topo self collisions (TODO next commits)

- Triangulation: Is custom data/uv preserved correctly?
- Use MPoly not tessface?

7 years agoFix bug #31460, crash in multires on leaving edit mode
Nicholas Bishop [Tue, 15 May 2012 07:37:42 +0000 (07:37 +0000)]
Fix bug #31460, crash in multires on leaving edit mode

Fix overly aggressive check for creating GridPaintMasks, wasn't
creating them in the right place after adding new faces in editmode.

7 years agoAdd 'area' mode for brush texture projection.
Nicholas Bishop [Tue, 15 May 2012 04:50:57 +0000 (04:50 +0000)]
Add 'area' mode for brush texture projection.

This is similar to the 'view' mode, but uses the average local surface
normal rather than the view normal for projection.

Original code by Jason Wilkins (GSoC).


7 years agoCode/UI cleanup: improvements for sculpt brush texture settings.
Nicholas Bishop [Tue, 15 May 2012 04:50:47 +0000 (04:50 +0000)]
Code/UI cleanup: improvements for sculpt brush texture settings.

Settings are shown in both the View3D toolbar and texture properties
panel; code is now in shared sculpt_brush_texture_settings() function

Also added a few new properties to the SculptCapabilities RNA to
replace "X in {Y, Z}" tests in the Python code.

7 years agoCode cleanup: refactor sculpt normal and related functions.
Nicholas Bishop [Tue, 15 May 2012 04:44:20 +0000 (04:44 +0000)]
Code cleanup: refactor sculpt normal and related functions.

7 years agoCode cleanups for sculpt-related code.
Nicholas Bishop [Tue, 15 May 2012 04:44:13 +0000 (04:44 +0000)]
Code cleanups for sculpt-related code.

* Renamed flip_coord as flip_v3_v3
* Added flip_v3 for same input/output
* Moved special case for grab brush's normal into calc_area_normal()
* Renamed 'fixed' texture mode as 'view plane', mirrors
  Brush.sculpt_plane terminology

7 years agoCleanup optimization compile flags for mingw-w64.
Antony Riakiotakis [Mon, 14 May 2012 23:36:07 +0000 (23:36 +0000)]
Cleanup optimization compile flags for mingw-w64.
After testing it seems that for safe debug sessions, debug build optimizations need to be off.

Also removed sse flags from release flags since they are included in ray optimization flags which are on by default.