76d67b4db4
Merge branch 'master' into blender2.8
2018-09-13 17:08:58 +10:00
44f719b632
Cleanup: use PyImport_GetModuleDict
...
Replace direct access using PyThreadState_GET
2018-09-13 17:06:07 +10:00
8d3a39ff56
Cleanup: use float name in property range function
2018-09-13 08:17:16 +10:00
cde66d7916
GPUVertBuf.fill: support for objects with buffer interface.
...
Differential Revision: https://developer.blender.org/D3684
2018-09-11 10:03:53 -03:00
9eb1c3f70c
gpu module: close quotation marks in descriptions
2018-09-06 04:43:08 -03:00
5ad36c975f
gpu module: retouching the description of the types.
2018-09-06 04:39:39 -03:00
fa6ed6259c
Cleanup: style
2018-09-06 10:47:46 +10:00
539c140b3e
Correct build errors
2018-09-06 10:47:46 +10:00
6d04e48539
Join the python modules gpu and _gpu into one.
...
Maybe it's still early to set the new drawing api for python.
But joining these two modules is an initial step.
```
>>> gpu.
matrix
select
types
```
```
>>> gpu.types.GPU
Batch(
OffScreen(
VertBuf(
VertFormat(
```
The creation of a new offscreen object is now done by the `GPUOffscreen.__new__` method.
Reviewers: campbellbarton, dfelinto
Reviewed By: campbellbarton, dfelinto
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D3667
2018-09-05 21:15:44 -03:00
Dalai Felinto
e8dc73a0c9
Fix GPU.offscreen to use depsgraph and updated API
2018-09-05 12:50:33 -03:00
a43ebc63fa
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/intern/collision.c
2018-09-03 17:44:36 +02:00
4da2acae3a
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3668
2018-09-03 16:55:01 +02:00
88a893a838
Merge branch 'master' into blender2.8
2018-09-03 12:48:51 +10:00
7ff1750218
PyAPI: add optional imports to expression eval API
...
Avoids having to use `__import__` to access modules.
2018-09-03 12:43:43 +10:00
0ddf3e110e
Cleanup: comment blocks
2018-09-02 18:51:31 +10:00
ae57383648
Cleanup: comment blocks
2018-09-02 18:28:27 +10:00
7f36fb458c
Merge branch 'master' into blender2.8
2018-08-31 17:08:29 +02:00
d9b9a46aa3
Python: Enable MASS unit in FloatProperty
...
MASS unit was already implemented for the C api. Only making sure it is
accessible in the python api. Also added 'CAMERA' to the documentation as a valid option.
2018-08-31 15:00:38 +02:00
ac9e1e692c
Merge branch 'master' into blender2.8
2018-08-31 14:53:34 +10:00
976f14fbcf
PyAPI: replace checks for invalid input w/ assert
...
Was returning -1 as a bool argument,
in this case the caller needs to ensure non-null args.
2018-08-31 14:51:59 +10:00
39ee0f01e3
Merge branch 'master' into blender2.8
2018-08-31 14:25:42 +10:00
98800aa4e0
C/Python API: Add PyC_RunString_AsIntPtr
...
Utility to get an int or pointer from a Python expression.
2018-08-31 14:21:32 +10:00
039b11f349
PyRNA: all optional args now must be keyword args
...
In some cases the RNA API should be updated to make arguments use the
'required' flag, instead of adjusting Python scripts.
See T47811
2018-08-28 13:55:11 +10:00
60b24f2415
Cleanup: indentation
2018-08-28 11:01:29 +10:00
1e6a5eb087
Implement BMesh Operator string enumerators and docs generation.
...
Partial implementation of T56496 for review.
Reviewers: campbellbarton
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3635
2018-08-27 16:15:54 +02:00
0cf12dfc14
Cleanup: indentation, style
2018-08-24 10:32:57 +10:00
dade2b7548
Python: Cleanup Noise Module
...
Implements the changes detailed in T56281
Reviewers: campbellbarton
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3590
2018-08-22 15:34:10 +02:00
7eaf00bfb0
Cleanup: style
2018-08-22 10:10:12 +10:00
596c3368f4
Merge branch 'master' into blender2.8
2018-08-21 19:08:23 +02:00
Kenneth Perry
5dd64b3c88
Python API: expose missing LAYER_MEMBER property type registration.
...
Differential Revision: https://developer.blender.org/D3628
2018-08-21 13:03:25 +02:00
f189ad1f4b
Cleanup: rename gizmo access functions
...
Add float in API names since we may want access to other types.
2018-08-21 17:01:14 +10:00
d63c181887
Correct error in docstring
2018-08-17 00:07:00 +10:00
12acf1e4f8
Cleanup: Update some links to new wiki
2018-08-13 21:55:30 -04:00
aa5a96430e
Python: Add support for @ infix operator matrix multiplication
...
This differential revision implements the code for T56276
Reviewers: campbellbarton
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3587
2018-08-10 15:18:00 +02:00
441177b1c7
Merge branch 'master' into blender2.8
2018-08-08 11:33:42 +10:00
d07d3e0987
Cleanup: indentation
2018-08-08 11:31:28 +10:00
6fbd210b91
Merge branch 'master' into blender2.8
2018-08-08 11:05:08 +10:00
4c4aa65adb
PyAPI: Make skin modifier roots settable
...
This make the root flag writable using the Python API, using the
generic skin vertex flag setter function.
Reviewed By: Campbell Barton
Differential Revision: http://developer.blender.org/D3583
2018-08-06 12:11:35 +02:00
0f449541d2
Merge branch 'master' into blender2.8
2018-08-01 09:01:29 +10:00
6a39d72558
Cleanup: declare vars or make static
2018-08-01 08:57:31 +10:00
5300ba0ba5
Merge branch 'master' into blender2.8
2018-07-31 17:03:28 +10:00
21f61cbe73
BLF: replace global aa pref w/ monochrome flag
...
Now disabling anti-aliasing doesn't impact sequencer, render stamp etc.
2018-07-31 16:57:05 +10:00
f77f819854
Merge branch 'master' into blender2.8
2018-07-30 16:41:28 +10:00
ff6c6f18c1
Cleanup: id-property creation
...
D3473 by @JacquesLucke
2018-07-30 16:36:07 +10:00
0093212be9
Merge branch 'master' into blender2.8
2018-07-27 17:41:58 +10:00
fe8d8aa27e
Fix Vector.project crash w/ >4 length vectors
2018-07-27 17:41:20 +10:00
9df1e54079
Cleanup: style
2018-07-19 16:06:37 +10:00
8cd7828792
GWN: Port to GPU module: Replace GWN prefix by GPU
2018-07-18 11:49:15 +02:00
247ad2034d
GWN: Port to GPU module: Move files to GPU
...
This does not include all the struct and type renaming. Only files were
renamed.
gwn_batch.c/h was fusioned with GPU_batch.c/h
gwn_immediate.c/h was fusioned with GPU_immediate.c/h
gwn_imm_util.c/h was fusioned with GPU_immediate_util.c/h
2018-07-18 00:17:57 +02:00
77d70c7f1d
Merge branch 'master' into blender2.8
2018-07-16 15:16:00 +02:00