Commit Graph

47594 Commits

Author SHA1 Message Date
Joshua Leung
1263a0891c Project Pampa Request: Selecting groups in animation editors selects
corresponding bones
2013-10-17 14:19:03 +00:00
Sergey Sharybin
eb1b4c3b55 Fix #37097: Setting scene frame does not update active camera
The issue was caused by uncertainty of current camera when
there're no markers to the left of current frame.

Now in this case camera from the top-left marker will be used.
2013-10-17 14:10:03 +00:00
Brecht Van Lommel
abee8a8717 Fix #37109: missing cycles texture display in edit mode.
My previous fix for uninitialized texture coordinates was not working well,
and in fact there was a bigger issue with GLSL drawing and missing attributes
with immediate draw mode. Now it will explicitly pass zero rather than having
it use whatever value was set last.
2013-10-17 14:04:10 +00:00
Sergey Sharybin
31b38a6736 Fix #37122: Text Editor: New Open-Shortcut different from Text > Open Text Block
Seems no user counter tricks are needed from r23598.

Also, r33453 is obviously wrong, because new ID's user counter is 1,
and could not exceed this value.
2013-10-17 12:53:37 +00:00
Sergey Sharybin
47f365419f Fix #37117: MCE prefetching fails with non-ascii characters in path 2013-10-17 12:28:32 +00:00
Sergey Sharybin
c4e7a22958 Fix #37091: Reset to default of Sky Texture's Dot freezes it at 0,0,0 2013-10-17 10:50:54 +00:00
Campbell Barton
6d5024828b add local _PyLong_AsInt() needed for python older then 3.3.2 2013-10-17 09:58:36 +00:00
Sergey Sharybin
992902cee0 Fix #37118: MCEr: Prefetch frames doesn't respect input color space 2013-10-17 09:44:08 +00:00
Sergey Sharybin
71dae0cf40 Fix #37119: MCE: Prefetching doesn't fetch last frame of an image-sequence.
Silly mistake in final condition. Now it works fine.

Would be nice to have this for the final release, simple oneliner.
2013-10-17 09:19:03 +00:00
Irie Shinsuke
bf462838b3 Fix build failure with VS2012 + SCons, caused by redefinition of the bool type. 2013-10-17 06:40:35 +00:00
Campbell Barton
d3a89fc9b7 add typechecks when assigning id-property arrays from python (overflows and errors weren't detected)
reduce/simplify exceptions more.
2013-10-17 03:18:21 +00:00
Campbell Barton
a619de52cf simplify & improve error handling for id-property python-api. 2013-10-17 02:57:59 +00:00
Campbell Barton
f5660a05b1 fix [#37105] Long int IDproperties produces errors at weird spots. 2013-10-17 02:36:33 +00:00
Campbell Barton
69d66f98a8 patch [#37114] copypaste for NORMAL buttons (BUT_NORMAL)
from Philipp Oeser (lichtwerk)
2013-10-16 23:42:44 +00:00
Campbell Barton
234626f9e1 correct BM_edge_face_pair() being called inside BLI_assert() - this needed to run every time.
also other minor changes.
2013-10-16 22:07:16 +00:00
Dalai Felinto
bd2d7bedbd Triangulate modifier - beauty option is back
Patch reviewed and with collaborations from Campbell Barton
2013-10-16 17:58:00 +00:00
Sergey Sharybin
af6636bbed Project Pampa request: copy-paste for curve mapping widgets
Use C-c for copy, C-v for paste over the widget.
2013-10-16 17:48:33 +00:00
Lukas Toenne
78efff5f42 Fix #37084, Backdrop not invalidating inside node groups.
Extended the is_active_group flag such that both the current edittree as well as the base node tree in Scene do a viewer node update.
2013-10-16 07:55:52 +00:00
Campbell Barton
089d0ad8f9 add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), MEM_freeN(). 2013-10-16 05:29:28 +00:00
Campbell Barton
f12ac5b23f fix [#37100] Segfault when I rotate an edge 2013-10-16 05:24:55 +00:00
Campbell Barton
ecf2eeef23 style cleanup 2013-10-16 04:08:20 +00:00
Dalai Felinto
859dfccb58 beautify: passing edge/face flags as arguments
no functional change, just preparing the ground for the beautify in
triangulate modifier changes.
2013-10-16 03:24:50 +00:00
Dalai Felinto
fe93d4a3d8 split operators/bmo_beautify.c into tools/bmesh_beautify.c
This is a proper design if we want to use the beautify routine elsewhere
(e.g., in the triangulate modifier)
2013-10-16 03:24:38 +00:00
Campbell Barton
1ae0de2f3a fix [#37013] Mesh > bisect can't fill the cut if it lines up with two or more adjacent vertices 2013-10-16 03:21:55 +00:00
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