Просмотр исходного кода

Merge pull request #119 from carlallen/text_property_default_value_fix

Set default value for TextProperty to fix bug
tags/3.1_alpha
Manuel83 GitHub 8 лет назад
Родитель
Сommit
bf3fbddbe2
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      modules/core/props.py

+ 2
- 1
modules/core/props.py Просмотреть файл

@@ -22,6 +22,7 @@ class Property(object):
PropertyType.__init__(self) PropertyType.__init__(self)
self.label = label self.label = label
self.configurable = configurable self.configurable = configurable
self.default_value = default_value
self.description = description self.description = description


class Actor(PropertyType): class Actor(PropertyType):
@@ -64,4 +65,4 @@ class StepProperty(Property):
PropertyType.__init__(self) PropertyType.__init__(self)
self.label = label self.label = label
self.configurable = True self.configurable = True
self.description = description
self.description = description

Загрузка…
Отмена
Сохранить