Commit Graph

49420 Commits

Author SHA1 Message Date
Antony Riakiotakis
4ae564bfa6 Fix part of #37087, brush curve becomes inverted when using the reset
curve button.

From the bug report it also seems that positive slope curve presets are
not always reset correctly. However I haven't seen any place where
positive slope curve presets are used. This will fix the initial brush
problem, however it might be good to investigate further if curve
presets are to be used elsewhere. It looks like the issue is related to
bezier curve calculation.
2013-10-16 01:49:11 +00:00
Campbell Barton
e7f1e1aed1 edits to r60777 - move ED_object_hook_reset_do into BKE object (if RNA needs to call ED_* functions its a hint they might be better in BKE). 2013-10-15 20:15:45 +00:00
Campbell Barton
ac602142d3 add 'Extrude Region, Vertex Normal' to the extrude menu, equivalent of 'Extrude, Escape, Alt+S' 2013-10-15 18:30:49 +00:00
Jens Verwiebe
cd6477eee0 Fix stubs for player 2013-10-15 17:19:02 +00:00
Sergey Sharybin
e99586fee2 Fix #37090: Blender crashes on "Make single user" option
issue was caused by id->mewid pointing to an invalid memory
after file load.

The rule here: all the tools need to reset it to NULL (or
other value they need) in the beginning.

Currently some tools are doing newid clear in the beginning
and some does it in the end. We need to clean it up so clear
only happens in the beginning.

But ideal we need some kind NewIDContext to make duplication
safe for threading.
2013-10-15 17:11:15 +00:00
Brecht Van Lommel
f7a3881175 3D view: textured draw mode now has a Shadeless option in the Shading panel,
to draw textures without shading. For Cycles this was not possible yet, and
for Blender Internal you had to move away all lights which was also not ideal.

(Caminandes feature request)
2013-10-15 15:56:00 +00:00
Dalai Felinto
70efa7f1aa renaming "Beautify Fill" to "Beautify Faces"
changing the ot->name only, not the ot->idname
(to avoid breaking scripts)

The tool requires the selection to be fill previously,
the original name was confusing if we consider we have
"Fill" with the "Beauty" option.

Discussed with Bastien Montagne and Brecht van Lommel.
2013-10-15 15:34:14 +00:00
Sergey Sharybin
eb69cb7de3 Get rid of Allow Fallback option
It was rather confusing from the user usage point
of view and didn't get so much improvement after
new bundle adjuster was added.

In the future we might want to switch resection
to PPnP algorithm, which could also might be a
nice alternative to fallback option.
2013-10-15 15:21:41 +00:00
Sergey Sharybin
eaf0d267f2 Code cleanup: move hardcoded structure to a typedef 2013-10-15 15:21:33 +00:00
Sergey Sharybin
d2abc22823 Code cleanup: use bools instead of ints for tracking utility functions 2013-10-15 15:21:28 +00:00
Bastien Montagne
22c019a962 Fix [#37085] Hook modifier work when created with Ctrl+H, but not when created via modifier panel
"transform matrix" of the hook was not inited (reset) when assinging and object to it, now use same code for both OBJECT_OT_hook_reset operator and RNA object assignement.

Reviewed by Brecht, thanks.
2013-10-15 14:54:12 +00:00
Dalai Felinto
ef60ab19f7 removing PSD from the fileformat list fix [#37080] The file which I stored in PSD file format in Blender cannot open by Photoshop
PSD writing is not supported at the moment
2013-10-15 14:32:33 +00:00
Bastien Montagne
ef765b3606 Fix [#37077] User prefs > Input and Outliner Keymaps mismatch in representation.
Remove KeyMap mode from outliner, was an old half-finished features redondant with user preferences settings...

Also moved key map item's "event type to map type" and map type defines at WM level, this is too much generic to be at RNA level.

Also added a check in versionning code to convert all outdated outliner modes to a valid one (seems old 'verse' ones were not handled as well).

Thanks to Brecht for reviews and advices!
2013-10-15 13:55:06 +00:00
Antony Riakiotakis
23612a8598 Final fix for #36905. Enforce redraw of window once before sampling.
Thanks to Brecht for the solution!
2013-10-15 13:45:27 +00:00
Sergey Sharybin
4f05cecbcd Fix duplicated key in ghash assert caused by object orco
Code was rather confusing, get_object_orco was only
checking for orco in cache for some objects and was
actually allocating orco for other objects.

Now made it so get_object_orco always only checks
the cache and only call set_object_orco if there's
no orco for it yet.
2013-10-15 09:08:08 +00:00
Campbell Barton
faafd7b7e2 fix [#37082] Texture paint artefact 2013-10-15 08:44:13 +00:00
Bastien Montagne
885bc95387 Style cleanup (defines -> enums, bit flags values as bitshifts, etc.). 2013-10-15 08:05:57 +00:00
Campbell Barton
1d325273da code cleanup: project paint, use mod_i() to simplift wrapping, use booleans for static function returns. 2013-10-15 07:35:12 +00:00
Campbell Barton
cb659e6e73 code cleanup: use booleans for projection paint and make some args const. 2013-10-15 07:18:23 +00:00
Campbell Barton
ebc2cc15c0 fix [#37067] Bone Crash
Holding Ctrl+RMB is supposed to select objects, while in editmode,
however it would end up calling editmode selection as well as pose selection while an armature was in editmode (which caused the crash).

Add the ability for view3d_opengl_select() to skip editmode selection.
2013-10-15 02:23:28 +00:00
Campbell Barton
d4cf5e3605 fix [#37078] Search props don't react on click at the right end (where 'X' is if field not empty) 2013-10-15 00:24:53 +00:00
Tamito Kajiyama
f9f2e20739 A follow-up to Bug #37070: LineStyle appears in Outliner by default though Freestyle is not enabled.
Line style data blocks are shown in the outliner only when the Blender Internal is used.
2013-10-14 23:08:45 +00:00
Jonathan Williamson
913a542468 Rename "Show Python Tooltips" to "Python Tooltips"
This makes the naming more consistent with other options, such as "Tooltips" and "Object Info"
2013-10-14 21:41:03 +00:00
Jonathan Williamson
34946e7f04 Added poll function to disable "Remove Shape key from object".
This disables the "-" button when no shape keys exist on the currently selected object. Thanks to Campbell for the help on my first real commit!
2013-10-14 21:03:18 +00:00
Brecht Van Lommel
afce7e071a Fix particle group use count option losing objects for linked groups. There
was no reason to go through newlibadr here, go->ob should already have the
right pointer.
2013-10-14 20:13:40 +00:00
Tamito Kajiyama
7e64342f43 Fix for #37070: LineStyle appears in Outliner by default though Freestyle is not enabled. 2013-10-14 19:57:16 +00:00
Campbell Barton
46b807b231 fix [#37072] Crash on RMB click on bone's custom property 2013-10-14 19:53:28 +00:00
Brecht Van Lommel
c0d204b91e Fix Brush datablock writing MTex blocks to .blend files twice.
Patch by Janis Streib.
2013-10-14 19:37:15 +00:00
Brecht Van Lommel
95812e1cfc Fix cycles textured draw mode problem with objects that have an image texture
but not UV coordinates, it would show a different color with the object selected
and deselected.
2013-10-14 19:37:12 +00:00
Thomas Dinges
c72b4016d0 * Improved Tooltip for Particle Brownian property, patch by Jonathan Williamson. Thanks! 2013-10-14 16:38:47 +00:00
Sergey Sharybin
e3e21a2683 Fix #37043: bpy.ops.sequencer.rebuild_proxy() don't release memory 2013-10-14 15:56:48 +00:00
Jens Verwiebe
ac9f3e33d5 OSX/fs_menue: change the availability macros, so ppl could still compile on 10.5 by just also using 10.4 code then 2013-10-14 15:37:16 +00:00
Sergey Sharybin
bca37c29d8 FIx #37005: Mask tool + "Area" Brush Mapping + "Anchored" Stroke = crash
Was caused by area normal calvultion using undo nodes to get coords
from and undo nodes does not contain coords whe using mask tool.
2013-10-14 11:42:36 +00:00
Campbell Barton
a00c693f99 note in bisect tooltip that you need to click-drag the plane. 2013-10-14 08:45:43 +00:00
Campbell Barton
3cfd933d94 code cleanup: correct unsigned int in string formatting and use empty() checks for vectors. 2013-10-14 08:23:57 +00:00
Lukas Toenne
a90b8ebe48 Fix for crash from double-freeing in nodes:
The way node groups check for localized trees in the ntreeFreeTree_ex function does not work. When the main library is freed on exit it also frees genuine node groups trees (which is correct), but then
node groups referencing these trees will not find them in the library and interpret that as a localized group, attempting to free them a second time ... Nicer solution is to just use a special flag on
localized node trees so we can clearly distinguish them from genuine trees in main.
2013-10-14 08:03:55 +00:00
Lukas Toenne
dfea1dd0d7 Fix #37057, Detach (Alt + D) doesn't work in nodes editor / compositor.
The operator exits early when there are no internal links. This prevents it from removing links which have no internal connection.
2013-10-14 08:03:53 +00:00
Campbell Barton
52296b941e code cleanup: remove duplicate assignments 2013-10-14 07:15:59 +00:00
Campbell Barton
78de5efec1 fix for array index use before checking range 2013-10-14 07:10:38 +00:00
Thomas Dinges
6e86760de2 Interface / Template lists:
* Make the gap for the filtering options slightly bigger, so 1 row doesn't look so cluttered.
* Default Render Layer and Particle System list in the Properties Editor to 1 row as well, to save space.
2013-10-13 23:04:39 +00:00
Thomas Dinges
014318370d * Silence Blender Internal / Volumetric printf. 2013-10-13 22:33:30 +00:00
Sergey Sharybin
ee63ef7af1 Project Pampa request: option to lock frame selection to the range
This means when you've got "Lock Frame Selection" option (which is
in the timeline next to the preview range button) you're not able
to go to the frames which are out of current frame range with your
mouse.

TODO: Make it so current frame slider also respects this setting?
      Not so much important for tonight.
2013-10-13 20:46:02 +00:00
Jens Verwiebe
98d66aeb97 OSX: comment cleanup 2013-10-13 18:51:21 +00:00
Jens Verwiebe
6d54ff5d83 OSX: Final cleanup for #60729 2013-10-13 18:14:38 +00:00
Jens Verwiebe
30d03e12bc OSX: Get mounted volumes better method by using volume enums 2013-10-13 17:12:36 +00:00
Thomas Dinges
cb0c279d4d * Fix scons compilation on Windows, missing pthreads include. 2013-10-13 09:27:48 +00:00
Dalai Felinto
54be5f2cf5 fix [#37058] 2.69 RC1: Symmetrize directions are all reverse 2013-10-13 05:45:29 +00:00
Campbell Barton
cbba50a3a1 fix for over-alloc in dyntopo, was allocating the vertex size, not pointer size (~85% wasted space). 2013-10-13 05:13:38 +00:00
Dalai Felinto
b20d3bab80 fix [#37046] Dissolve edges and vertices problem with triangulate
with review and collaboration from Campbell Barton
2013-10-13 05:04:06 +00:00
Campbell Barton
b00a8122e3 improve warp transform so it can be used as a general bending tool too. 2013-10-13 01:09:23 +00:00