Commit Graph

41350 Commits

Author SHA1 Message Date
Campbell Barton
aa49ca25d5 incorrect spelling in comments 2012-09-26 20:05:38 +00:00
Campbell Barton
483a6cd6c2 fix for cycles/python script error in normal panel 2012-09-26 19:23:06 +00:00
Sergey Sharybin
433816ea9b Fixed typo in previous commit! 2012-09-26 13:22:30 +00:00
Sergey Sharybin
c9d4956f45 Color Management: restore abort() in cases of error and WITH_ASSERT_ABORT enabled 2012-09-26 13:21:10 +00:00
Sergey Sharybin
fae7dd22c7 Color Management: resolve warnings when OCIO configuration file misses None display 2012-09-26 13:17:47 +00:00
Sergey Sharybin
36966ccfeb Remove unneeded null-check: display settings should always be valid after IMB_colormanagement_check_file_config 2012-09-26 12:30:46 +00:00
Campbell Barton
3d8bace558 fix for eternal loop in recursive_operation() 2012-09-26 12:22:50 +00:00
Sergey Sharybin
9e96295ddb Fix #32666: Memory Cache Limit stops working after set to 2048
Solved two issues here:

- RNA update function for cache limiter wasn't type-casting to size_t
  type, which lead to long int overflow.

- Display buffer size in color management wasn't calculated properly,
  ended up with much more extra memory usage than it's needed.
2012-09-26 11:16:27 +00:00
Campbell Barton
e2baa41ec7 fix [#32665] Inconsistent Circle Mesh Edge Subdivision 2012-09-26 11:14:40 +00:00
Sergey Sharybin
6db84f85dc Fix #32091: Crop and offset coordinates changes proxy render settings on image strips
Made offset and crop working in final resolution space, meaning that visual result
would be the same when using different proxy resolution in sequencer preview and
different resolution percentage when rendering.

It could break some files designed to with render percentage not equal to 100%
using wrong image crop and offset values. But this would also make it easier to
setup scene and render it with different percentage (useful for preview renders
for example)
2012-09-26 10:39:36 +00:00
Sergey Sharybin
a88bc390d0 Correction to svn rev50845
Disable color picker button only if color block is invoked from another popup.

Only in this case color picking will fail. Valid RNA path isn't required for
this, only RNA pointer in button is needed.

This solves issue with missing color picking in user preferences.
2012-09-26 10:39:32 +00:00
Joshua Leung
3a88eec176 Bugfix:
Timeline didn't update after deleting keyframes using Alt-I in the 3D View (i.e.
after ANIM_OT_keyframe_delete_v3d)
2012-09-26 09:27:47 +00:00
Sergey Sharybin
b2167e771a Fix #32663: Sculpt masks are too dark
Scaled mask multiplier to 0.25..1.0 instead of 0.0..1.0.
2012-09-26 07:55:52 +00:00
Campbell Barton
0060b9a8ef fix [#32661] Grease Pencil in Camera View
Regression since 2.63a release.

own fault in r49996, though code was confusing - using rcti struct for offset+width.
2012-09-26 07:37:12 +00:00
Campbell Barton
95002a98bf fix for very bad bug with python list slicing which - in bmesh and bpy api for all? 2.5x + releases.
negative stop values when slicing was broken. eg.
 bpy.data.objects[0:-2] != list(bpy.data.objects)[0:-2]
2012-09-25 23:41:32 +00:00
Campbell Barton
d08abbee69 add back game engine python api slicing, (was missing / regression, since move to py3x)
not many people must have used it since it would crash with non-zero start slice values.
2012-09-25 23:28:15 +00:00
Campbell Barton
3b2962f2ab remove redundant NULL checks in somepledeform modifier (dcut is never NULL). 2012-09-25 22:05:40 +00:00
Jens Verwiebe
29ad5fc5e8 fix osx/ols compile after #50876 2012-09-25 18:30:37 +00:00
Alexander Pinzon
38b93b968c Unification of names for the BOOST library directory in Windows 32 and win64 2012-09-25 15:27:11 +00:00
Brecht Van Lommel
9b34237c09 Fix for last color management commit, wrongly assumed aces_to_rec709.spimtx was in svn. 2012-09-25 15:24:06 +00:00
Alexander Pinzon
c0a7773ccf Boost directories were not properly configured to vc2010.
Opencolorio directories and openimageio not work as you would expect macro
2012-09-25 15:11:34 +00:00
Sergey Sharybin
80fed19ffc Fixed crash when selecting curve with a mouse
Was a missed check for DRAW_CONSTCOLOR flag.
2012-09-25 13:31:46 +00:00
Jeroen Bakker
b25cce1430 Compositor:
*  Node muting in node groups didn't work.

[#32597] Mute one node in a group blocks it

It looked for connections in the main tree, and not inside the group.
2012-09-25 13:02:52 +00:00
Brecht Van Lommel
ed47d89d7f Color management: change reference space from Linear ACES to Linear. This will
have no effect on the end result, because it is only an intermediate space and
scene_linear was already set to Linear. It does avoid some unnecessary matrix
transforms which should be a bit faster, and it makes it more clear what's
happening.
2012-09-25 12:43:50 +00:00
Joshua Leung
7f6b4a28e8 Bugfix [#32647] PolyLine tool for Grease Pencil was broken
This was broken in r.46589, although it doesn't seem that these changes have any
relevance to the main fix being performed there.

The problem was that the offending changes made the Grease Pencil modal handler
exit when an RMB event occurs meant that the operator was exiting after the
initial click, meaning that it was only possible to draw single dots at a time
when using the hotkey version of PolyLine. The toolbox version however was
unaffected.

I've noted this specific problem in the code as a warning.
2012-09-25 12:10:27 +00:00
Sergey Sharybin
456a78961c code cleanup: make naming more consistent 2012-09-25 10:21:51 +00:00
Sergey Sharybin
1f6f73e965 Color Management: mark some TODOs as resolved 2012-09-25 10:18:58 +00:00
Sergey Sharybin
d63f1cb5e4 Expose image's and clip's input color space settings to properties panel in compositor,
so now input color space could be changed directly from the compositor.

The only unfinished thing is missed compositor update when color space is
changing. Not sure about correct fix for this yet.
2012-09-25 10:14:07 +00:00
Sergey Sharybin
5f0ee9e9ed Remove access to deprecated per-strip color balance in RNA. 2012-09-25 09:40:04 +00:00
Sergey Sharybin
b5a92a0d87 Color Management: render result could have been incorrectly changed by file saving routines 2012-09-25 09:34:19 +00:00
Sergey Sharybin
0b155618a4 Color Management: wrong register was used for color space for None display 2012-09-25 09:03:11 +00:00
Sergey Sharybin
90a5e8593c Color Management: float generated images had is_data flag set incorrect 2012-09-25 08:42:24 +00:00
Sergey Sharybin
3cf59bce78 No need to show display settings in file output node 2012-09-25 08:02:05 +00:00
Sergey Sharybin
f45f229af2 Use ${OPENEXR_INCLUDE_DIR} instead of ${OPENEXR}/include
There's no CMake symbol names ${OPENEXR} which lead to using /include
as an include directory, which isn't correct.
2012-09-25 07:34:45 +00:00
Bastien Montagne
e4ea07c709 Fix own error (wrong portuguese-brazilian Windows "long_locale" - yuck!), and some minor, non-code edits. 2012-09-25 06:11:32 +00:00
Dalai Felinto
f2064367a3 fix for gibberish text in 2DFilter actuator when text unlinked through the Text Editor
(reported nowhere, I found this while testing osl custom node)
2012-09-25 05:48:33 +00:00
Campbell Barton
b3fd195665 fix [#31703] modules/rna_xml.py: BoolVectorProperty and CollectionProperty
patch provided by reporter (n floyd)
2012-09-25 05:17:23 +00:00
Campbell Barton
7fdfd26f21 fix for error disabling group visibility (which was flushed down to obects),
- objects were being selected rather then de-selected.
    - object restrict selection wasnt de-selecting either (as it does when changing the object in the outliner directly).
2012-09-25 04:15:09 +00:00
Campbell Barton
c1ed602060 default simple deforms Relative option to be enabled, IMHO this shouldn't be an option (objects should always work relative to eachother). At least defaulting to ON gives users more predictable behavior (Transforming both objects together keeps them the same relative to eachother). 2012-09-25 03:00:33 +00:00
Campbell Barton
f67de7d805 fix for regression in solidify modifier copying loop customdata to rim faces (UV's and vertex colors).
Own fault when fixing rim face flipping r46924
2012-09-25 01:21:21 +00:00
Campbell Barton
9d0875828e small improvement to previous commit, use pre-calculated ngon normal to avoid calculating twice when dupli-scale is enabled. 2012-09-25 00:25:17 +00:00
Campbell Barton
b0bf816ece fix [#32646] Duplifaces can have wrong orientation with ngons
concave ngons could flip the dupliface, now use the faces normal when calculating the dupli-face.
2012-09-25 00:20:42 +00:00
Campbell Barton
687cacfdd0 rename RNA duration --> frame_duration to match sequence strip. 2012-09-24 22:41:10 +00:00
Campbell Barton
f2763492cf code cleanup: add missing includes to RNA (this one is safe!) 2012-09-24 22:39:45 +00:00
Jens Verwiebe
3d6e2c2af6 fix cmake in case the boostlibs don't contain boost_python3 refactor ( was possibly not correct) 2012-09-24 20:37:18 +00:00
Jens Verwiebe
71a3339032 fix cmake in case the boostlibs don't contain boost_python3 yet 2012-09-24 19:53:33 +00:00
Jens Verwiebe
33d7a1bbeb OSX/osl: add install of shader headers needed for osl_nodes compile 2012-09-24 19:25:32 +00:00
Jens Verwiebe
87a8aea313 OSL/cmake: the non-intrusive parts, so other os-maintainers can take code over 2012-09-24 19:06:28 +00:00
Sergey Sharybin
17dc6e7c04 Some further fixes for #32626: TIFF renders are limited to 8 bit even when we choose 16.
File type was checking for wrong flags, now it should be checked against
actual file format flags which would be used on save.

We also can not free float buffer if file format doesn't have IM_FTYPE_FLOAT
flag -- i.e. TIFF doesn't have such flag and it decides whether float or
byte buffer should be used based on image depth.
2012-09-24 18:22:33 +00:00
Sergey Sharybin
765865c3b1 Update startup.blend to store proper default theme
(there were several differences on color theme stored in startup.blend
and colors after restoring them by Reset to Default Theme button).

Should be no other changes.
2012-09-24 17:57:14 +00:00