Commit Graph

49420 Commits

Author SHA1 Message Date
Campbell Barton
cb3456e92a fix for fix 2011-10-06 04:09:48 +00:00
Campbell Barton
2b3ef4b18b fix [#26193] Weightpainting on Mesh with Armature-Modifier fails if x-mirror and auto normalize is enabled 2011-10-06 04:06:47 +00:00
Campbell Barton
6af6cf2055 cleanup for main weight paint drawing function while looking into a bug - no functional changes. 2011-10-06 03:57:03 +00:00
Andrew Wiggin
757f177d9d Fix selection when adding a primitive while already in edge/face-select mode 2011-10-06 02:29:39 +00:00
Andrew Wiggin
8631207896 Fix leaks of MDisps custom data 2011-10-06 02:28:09 +00:00
Campbell Barton
e1ce98f8ae fix error in last commit & remove commented code which is now working in 2.5x. 2011-10-06 02:19:04 +00:00
Andrew Wiggin
d525cb154f Enable sort faces tool (checked in code for the tool but forgot to uncomment the line to hook it up), and fix for an uninitialized local in build modifier. 2011-10-06 02:05:27 +00:00
Tamito Kajiyama
f84e8e7640 Fine control of feature edge selection with mesh face and edge marks.
New "face marks" and "edge marks" have been introduced in mesh data
blocks.  In the edit mode of a mesh object, face marks can be put
to selected faces by choosing Mesh >> Faces >> Mark Freestyle Face
from the menu of a 3D View window or Ctrl-F >> Mark Freestyle Face
from the context menu.  Similarly, edge marks can be put to selected
edges by Mesh >> Edges >> Mark Freestyle Edge or Ctrl-E >> Mark
Freestyle Edge.  These marks should work fine with the Subdivision
surface modifier.

Moreover, two new conditions for feature edge selection have been
added to the Parameter Editor mode as described below:

1. The Selection by Edge Types option has now the new Edge Mark type,
which can be used to (de)select feature edges having edge marks.
This option can be used to add to (or remove from) the view map
arbitrary edges of mesh objects.

2. Selection by Face Marks option has been newly introduced, in which
face marks are used for feature edge selection in two ways.  One
option is called "One Face" which is to (de)select feature edges if
one of faces on the left and right of each feature edge has a face
mark.  The other option is "Both Faces" to (de)select feature edges
if both faces on the left and right have a face mark.
2011-10-06 02:04:43 +00:00
Campbell Barton
4e6be49ca4 fix for memory leak when calling wpaint_make_validmap() with no vertex groups. 2011-10-06 01:51:01 +00:00
Campbell Barton
4b1ba6bef6 fix for crash when painting normalize with no vertex groups, also minor cleanup to do_weight_paint_auto_normalize_all_groups() 2011-10-06 01:29:32 +00:00
Tamito Kajiyama
cb4f662927 Fix for an uninitialized member variable. 2011-10-05 21:10:23 +00:00
Brecht Van Lommel
0a4814a6d0 Fix #28766: object properties > display > transparency no longer worked in solid
draw mode, after texface changes.
2011-10-05 15:28:02 +00:00
Andrew Wiggin
8d7d3b2837 Fix for a lot (but not all) of the multires distortion when using bmesh editing tools 2011-10-05 15:02:00 +00:00
Campbell Barton
388eae9a81 minor edits
- use TRUE/FALSE rather than 1/0
- WM_operator_properties_create_ptr rather than WM_operator_properties_create since the pointers available.
- remove redundant strlen()
2011-10-05 12:20:38 +00:00
Jens Verwiebe
39300a5079 OSX: Correct copy/paste error and exclude endianess switch from darwin 2011-10-05 08:58:32 +00:00
Campbell Barton
7058a8e2ae fix [#28809] Fileselect strange icon display. 2011-10-05 07:57:33 +00:00
Campbell Barton
9d13224e1a fix [#28807] Drivers breaking by undo 2011-10-05 07:28:59 +00:00
Campbell Barton
f7737153e6 filter RNA classes for translation (removes over 1300 lines from messages.txt)
- omit operators tagged as INTERNAL
- omit classes  for internal use: Event, Context, Property, Function, Window.
2011-10-05 03:39:22 +00:00
Campbell Barton
3b8de8db31 rename rna OperatorTypeMacro --> OperatorMacro, since operators types are just called Operator 2011-10-05 00:19:33 +00:00
Martin Poirier
3bdadb6975 [#28801] Pet doesn't work on the whole mesh
Reported by Enrico Valenza

Mirror messes up the zone of influence. Disable mirror internally when proportional edit is on.
2011-10-04 23:42:06 +00:00
Campbell Barton
185df0811c fix for error when fixing crash in filesel poll function. 2011-10-04 22:42:49 +00:00
Dalai Felinto
43764c30d2 bge bugfix: navmesh collision flag disputing with glsl_color_manag.
The solution is to make the flag in to an int in oppose to short.
This will also help in cucumber where we ran into the same problem.
2011-10-04 18:15:28 +00:00
Sergey Sharybin
71256629b0 Update blenderplayer stubs to deal with recent keymaps commit. 2011-10-04 15:21:01 +00:00
Sergey Sharybin
ffe9824011 Correction for own recent commit -- didn't know it's unsupported in
MSVC to do such things.
2011-10-04 15:10:24 +00:00
Brecht Van Lommel
f618bc5aca Fix #28202: (only) modifying keymap item properties did not save properly, the
update signal for this was missing. Problem is that the operator properties
RNA update callback doesn't know the associated keymap item, worked around it
with UI template now.
2011-10-04 13:24:48 +00:00
Sergey Sharybin
215ed84779 Partial fix #27978: Problem exporting OGG Theora-Vorbis video (and other audio codecs)
Ogg format does support only vorbis, theora, speex and flac audio codecs.
Added check for result of av_write_header() and show info in header about
error while initializing streams.

This commit also fixed crash when using vorbis audio format.
It used to be floating point exception. SOlved by initializing
audio_stream->codec->time_base with proper rational value as it's
done in FFmpeg sources.
2011-10-04 12:30:26 +00:00
Miika Hamalainen
28f77d398e Missed a merge conflict. 2011-10-04 12:27:48 +00:00
Miika Hamalainen
e8bb972f3c Merge with trunk r40782 2011-10-04 11:42:44 +00:00
Campbell Barton
019dca9c54 remove redundant code, also dont bother with os.path.basename(x) for recent scons commit. 2011-10-04 08:28:37 +00:00
Bastien Montagne
42bde7eaa1 Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-10-04 07:48:56 +00:00
Campbell Barton
59c0cbbc34 fix for missing null check in own recent commit. 2011-10-03 18:03:44 +00:00
Campbell Barton
cdc564064c revert r40738, flipepd enums give quick access to first items, even if it does seem odd to have them flipped. 2011-10-03 17:59:33 +00:00
Campbell Barton
3b996ac1b3 add macro OB_TYPE_SUPPORT_MATERIAL, type checks were being done inline, some comparing range, some using ELEM#(), once was missing metaball check. 2011-10-03 17:29:43 +00:00
Campbell Barton
75621eeff9 fix [#27526] shared data but different data materials. 2011-10-03 16:55:00 +00:00
Campbell Barton
e5a11dfcd6 fix for [#28788] wasn't complete, pose bones scale was ignoring "Individual origins" setting. 2011-10-03 16:20:05 +00:00
Sergey Sharybin
782499717e Fix #27532: Undo test texture after painting gives black blocks.
- Do not apply undo tiles on image if source or generated type was changed.
- Added null-check in own recent commit in this area.
2011-10-03 13:01:24 +00:00
Campbell Barton
758e34b45d - use BLI_findstring rather then while loop for listbase lookups
- remove BLI_assert I recently added to RNA_property_pointer_type since its intentionally called with no type check.
2011-10-03 12:56:33 +00:00
Sergey Sharybin
7fec67ab40 Fix #28780: Undo while painting image sequences issue
- Store imbuf file path in UndoImageTile structure, so imbuf can be verified
  before applying titles on it.
- If current image's imbuf file path isn't equal to file path stored in
  undo block, search for imbuf in ima->ibufs.

  Probably it can be optimized, but storing all settings which defines
  needed imbuf (image source type, offset, image file name, current
  scene frame and so messes up undo code and requires deeper changes
  which probably better not to start on bcon4).
2011-10-03 11:04:05 +00:00
Bastien Montagne
354670e6ed Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-10-03 08:01:07 +00:00
Campbell Barton
f571d1d238 fix [#27578] Fileselector UI area does not scale with UI (partially hides buttons) 2011-10-03 04:48:14 +00:00
Campbell Barton
d1c99081ea fix for crash when loading the file selector on startup. 2011-10-03 03:48:48 +00:00
Dalai Felinto
8e55780aa7 BGE: removing old hack from Dome code. it's no longer needed and it was making dome to fail if using game autostart (<<bug) 2011-10-03 03:32:59 +00:00
Campbell Barton
3dd75fa6f1 patch [#27887] LOSSLESS RENDERING: HuffYUV and FFV1 both fail to render losslessly
from Troy Sobotka (sobotka)
2011-10-03 03:25:05 +00:00
Campbell Barton
275093324f fix [#28023] VSE: Transform Markers doesn't do anything
- renamed to 'Sync Markers' to match action editor.
- action editor option was broken in the same way as the sequencer.
2011-10-03 02:49:08 +00:00
Campbell Barton
b001eeb10d Change struct alignment for structs which are intended to be aligned but aren't.
remove uiIconImage too since its unused.
2011-10-03 01:36:25 +00:00
Campbell Barton
f87ab2e907 minor edit for UI code, pointless short/int mix. 2011-10-03 01:01:01 +00:00
Campbell Barton
e42146c1ec remove .Blanguages, its not used anymore 2011-10-02 22:28:49 +00:00
Campbell Barton
4a0c3e2a12 fix [#28784] CRASHER on load with load_post handler
also fix pacman package build spec.
2011-10-02 21:21:14 +00:00
Campbell Barton
e49688f021 use use_ prefix for boolean value. 2011-10-02 20:09:45 +00:00
Campbell Barton
74c681330f fix [#28788] Scale using "Individual origins" in bones
works for rotate and scale
2011-10-02 19:57:34 +00:00